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 476e7fd2a..d9cfa35a2 100644 --- a/keyboards/lets_split/lets_split.h +++ b/keyboards/lets_split/lets_split.h | |||
| @@ -3,7 +3,11 @@ | |||
| 3 | 3 | ||
| 4 | #include "quantum.h" | 4 | #include "quantum.h" |
| 5 | 5 | ||
| 6 | #include QMK_SUBPROJECT_H | 6 | #ifdef KEYBOARD_lets_split_rev1 |
| 7 | #include "rev1.h" | ||
| 8 | #else | ||
| 9 | #include "rev2.h" | ||
| 10 | #endif | ||
| 7 | 11 | ||
| 8 | // Used to create a keymap using only KC_ prefixed keys | 12 | // Used to create a keymap using only KC_ prefixed keys |
| 9 | #define KC_KEYMAP( \ | 13 | #define KC_KEYMAP( \ |
diff --git a/keyboards/lets_split/readme.md b/keyboards/lets_split/readme.md index 300722a1b..c9202de63 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. | |||
| 19 | 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: | 19 | 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: |
| 20 | 20 | ||
| 21 | ``` | 21 | ``` |
| 22 | $ make lets_split-rev2-default | 22 | $ make lets_split/rev2:default |
| 23 | ``` | 23 | ``` |
| 24 | 24 | ||
| 25 | You will see a lot of output and if everything worked correctly you will see the built hex file: | 25 | 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 | |||
| 32 | 32 | ||
| 33 | 33 | ||
| 34 | ``` | 34 | ``` |
| 35 | $ make lets_split-rev2-YOUR_KEYMAP_NAME | 35 | $ make lets_split/rev2:YOUR_KEYMAP_NAME |
| 36 | ``` | 36 | ``` |
| 37 | 37 | ||
| 38 | If everything worked correctly you will see a file: | 38 | 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. | |||
| 115 | 115 | ||
| 116 | Flashing | 116 | Flashing |
| 117 | ------- | 117 | ------- |
| 118 | From the top level `qmk_firmware` directory run `make KEYBOARD-SUBPROJECT-KEYMAP-avrdude` for automatic serial port resolution and flashing. | 118 | From the top level `qmk_firmware` directory run `make KEYBOARD:KEYMAP:avrdude` for automatic serial port resolution and flashing. |
| 119 | Example: `make lets_split-rev2-default-avrdude` | 119 | Example: `make lets_split/rev2:default:avrdude` |
| 120 | 120 | ||
| 121 | 121 | ||
| 122 | Choosing which board to plug the USB cable into (choosing Master) | 122 | 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 7b7224fd4..1bbc0367f 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 | |||
| 75 | 75 | ||
| 76 | CUSTOM_MATRIX = yes | 76 | CUSTOM_MATRIX = yes |
| 77 | 77 | ||
| 78 | LAYOUTS = ortho_4x12 \ No newline at end of file | 78 | LAYOUTS = ortho_4x12 |
| 79 | |||
| 80 | 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 7c9b39598..000000000 --- a/keyboards/lets_split/subproject.mk +++ /dev/null | |||
| @@ -1 +0,0 @@ | |||
| 1 | SUBPROJECT_DEFAULT = rev2 | ||
