diff options
Diffstat (limited to 'keyboards/lets_split')
-rw-r--r-- | keyboards/lets_split/lets_split.h | 6 | ||||
-rw-r--r-- | keyboards/lets_split/readme.md | 8 | ||||
-rw-r--r-- | keyboards/lets_split/rules.mk | 4 | ||||
-rw-r--r-- | keyboards/lets_split/subproject.mk | 1 |
4 files changed, 12 insertions, 7 deletions
diff --git a/keyboards/lets_split/lets_split.h b/keyboards/lets_split/lets_split.h index 476e7fd2aa..d9cfa35a21 100644 --- a/keyboards/lets_split/lets_split.h +++ b/keyboards/lets_split/lets_split.h @@ -3,7 +3,11 @@ #include "quantum.h" -#include QMK_SUBPROJECT_H +#ifdef KEYBOARD_lets_split_rev1 + #include "rev1.h" +#else + #include "rev2.h" +#endif // Used to create a keymap using only KC_ prefixed keys #define KC_KEYMAP( \ diff --git a/keyboards/lets_split/readme.md b/keyboards/lets_split/readme.md index 300722a1bb..c9202de631 100644 --- a/keyboards/lets_split/readme.md +++ b/keyboards/lets_split/readme.md @@ -19,7 +19,7 @@ There is additional information there about flashing and adding RGB underglow. Download or clone the `qmk_firmware` repo and navigate to its top level directory. Once your build environment is setup, you'll be able to generate the default .hex using: ``` -$ make lets_split-rev2-default +$ make lets_split/rev2:default ``` You will see a lot of output and if everything worked correctly you will see the built hex file: @@ -32,7 +32,7 @@ If you would like to use one of the alternative keymaps, or create your own, cop ``` -$ make lets_split-rev2-YOUR_KEYMAP_NAME +$ make lets_split/rev2:YOUR_KEYMAP_NAME ``` If everything worked correctly you will see a file: @@ -115,8 +115,8 @@ not be very difficult to adapt it to support more if required. Flashing ------- -From the top level `qmk_firmware` directory run `make KEYBOARD-SUBPROJECT-KEYMAP-avrdude` for automatic serial port resolution and flashing. -Example: `make lets_split-rev2-default-avrdude` +From the top level `qmk_firmware` directory run `make KEYBOARD:KEYMAP:avrdude` for automatic serial port resolution and flashing. +Example: `make lets_split/rev2:default:avrdude` Choosing which board to plug the USB cable into (choosing Master) diff --git a/keyboards/lets_split/rules.mk b/keyboards/lets_split/rules.mk index 7b7224fd4d..1bbc0367fa 100644 --- a/keyboards/lets_split/rules.mk +++ b/keyboards/lets_split/rules.mk @@ -75,4 +75,6 @@ SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend CUSTOM_MATRIX = yes -LAYOUTS = ortho_4x12
\ No newline at end of file +LAYOUTS = ortho_4x12 + +DEFAULT_FOLDER = lets_split/rev2
\ No newline at end of file diff --git a/keyboards/lets_split/subproject.mk b/keyboards/lets_split/subproject.mk deleted file mode 100644 index 7c9b39598d..0000000000 --- a/keyboards/lets_split/subproject.mk +++ /dev/null @@ -1 +0,0 @@ -SUBPROJECT_DEFAULT = rev2 |