diff options
| author | Joel Challis <git@zvecr.com> | 2024-04-22 02:06:41 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-22 02:06:41 +0100 |
| commit | 40d0512794651237a182b4f53a2278d0fb2e583e (patch) | |
| tree | 232f20395add4f60681931f3094b4b2726f2c998 /keyboards/planck | |
| parent | 191f62688079d644fe7ac471b2725e79e4d87f48 (diff) | |
Migrate build target markers to keyboard.json - P (#23565)
Diffstat (limited to 'keyboards/planck')
| -rw-r--r-- | keyboards/planck/ez/glow/keyboard.json (renamed from keyboards/planck/ez/glow/info.json) | 3 | ||||
| -rw-r--r-- | keyboards/planck/ez/glow/rules.mk | 1 | ||||
| -rw-r--r-- | keyboards/planck/ez/info.json | 15 | ||||
| -rw-r--r-- | keyboards/planck/ez/rules.mk | 16 | ||||
| -rw-r--r-- | keyboards/planck/rev6_drop/keyboard.json (renamed from keyboards/planck/rev6_drop/info.json) | 12 | ||||
| -rw-r--r-- | keyboards/planck/rev6_drop/rules.mk | 17 | ||||
| -rw-r--r-- | keyboards/planck/rev7/keyboard.json (renamed from keyboards/planck/rev7/info.json) | 1 | ||||
| -rw-r--r-- | keyboards/planck/rev7/rules.mk | 5 | ||||
| -rw-r--r-- | keyboards/planck/thk/keyboard.json (renamed from keyboards/planck/thk/info.json) | 8 | ||||
| -rw-r--r-- | keyboards/planck/thk/rules.mk | 15 |
10 files changed, 38 insertions, 55 deletions
diff --git a/keyboards/planck/ez/glow/info.json b/keyboards/planck/ez/glow/keyboard.json index 4852258570..6c957b165b 100644 --- a/keyboards/planck/ez/glow/info.json +++ b/keyboards/planck/ez/glow/keyboard.json | |||
| @@ -2,5 +2,8 @@ | |||
| 2 | "keyboard_name": "Planck EZ Glow", | 2 | "keyboard_name": "Planck EZ Glow", |
| 3 | "usb": { | 3 | "usb": { |
| 4 | "pid": "0xC6CF" | 4 | "pid": "0xC6CF" |
| 5 | }, | ||
| 6 | "features": { | ||
| 7 | "rgb_matrix": true | ||
| 5 | } | 8 | } |
| 6 | } | 9 | } |
diff --git a/keyboards/planck/ez/glow/rules.mk b/keyboards/planck/ez/glow/rules.mk deleted file mode 100644 index aad92997d0..0000000000 --- a/keyboards/planck/ez/glow/rules.mk +++ /dev/null | |||
| @@ -1 +0,0 @@ | |||
| 1 | RGB_MATRIX_ENABLE = yes | ||
diff --git a/keyboards/planck/ez/info.json b/keyboards/planck/ez/info.json index 044e187c4b..4244b4d83d 100644 --- a/keyboards/planck/ez/info.json +++ b/keyboards/planck/ez/info.json | |||
| @@ -4,7 +4,20 @@ | |||
| 4 | "maintainer": "jackhumbert", | 4 | "maintainer": "jackhumbert", |
| 5 | "usb": { | 5 | "usb": { |
| 6 | "vid": "0x3297", | 6 | "vid": "0x3297", |
| 7 | "device_version": "0.0.1" | 7 | "device_version": "0.0.1", |
| 8 | "shared_endpoint": { | ||
| 9 | "mouse": false | ||
| 10 | } | ||
| 11 | }, | ||
| 12 | "features": { | ||
| 13 | "audio": true, | ||
| 14 | "bootmagic": true, | ||
| 15 | "command": true, | ||
| 16 | "console": true, | ||
| 17 | "encoder": true, | ||
| 18 | "extrakey": true, | ||
| 19 | "mousekey": true, | ||
| 20 | "nkro": true | ||
| 8 | }, | 21 | }, |
| 9 | "rgb_matrix": { | 22 | "rgb_matrix": { |
| 10 | "animations": { | 23 | "animations": { |
diff --git a/keyboards/planck/ez/rules.mk b/keyboards/planck/ez/rules.mk index 97f68215f8..6cdb6ed4c2 100644 --- a/keyboards/planck/ez/rules.mk +++ b/keyboards/planck/ez/rules.mk | |||
| @@ -1,22 +1,6 @@ | |||
| 1 | # Build Options | ||
| 2 | # change yes to no to disable | ||
| 3 | # | ||
| 4 | BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite | ||
| 5 | MOUSEKEY_ENABLE = yes # Mouse keys | ||
| 6 | EXTRAKEY_ENABLE = yes # Audio control and System control | ||
| 7 | CONSOLE_ENABLE = yes # Console for debug | ||
| 8 | COMMAND_ENABLE = yes # Commands for debug and configuration | ||
| 9 | NKRO_ENABLE = yes # Enable N-Key Rollover | ||
| 10 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | ||
| 11 | AUDIO_ENABLE = yes # Audio output | ||
| 12 | AUDIO_DRIVER = dac_additive | 1 | AUDIO_DRIVER = dac_additive |
| 13 | RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. | ||
| 14 | |||
| 15 | ENCODER_ENABLE = yes | ||
| 16 | 2 | ||
| 17 | RGBLIGHT_SUPPORTED = no | 3 | RGBLIGHT_SUPPORTED = no |
| 18 | BAKCLIGHT_SUPPORTED = no | 4 | BAKCLIGHT_SUPPORTED = no |
| 19 | 5 | ||
| 20 | MOUSE_SHARED_EP = no | ||
| 21 | |||
| 22 | DEFAULT_FOLDER = planck/ez/base | 6 | DEFAULT_FOLDER = planck/ez/base |
diff --git a/keyboards/planck/rev6_drop/info.json b/keyboards/planck/rev6_drop/keyboard.json index aff2eef5d7..ff301f8c86 100644 --- a/keyboards/planck/rev6_drop/info.json +++ b/keyboards/planck/rev6_drop/keyboard.json | |||
| @@ -8,6 +8,18 @@ | |||
| 8 | "pid": "0xA4F9", | 8 | "pid": "0xA4F9", |
| 9 | "device_version": "0.0.6" | 9 | "device_version": "0.0.6" |
| 10 | }, | 10 | }, |
| 11 | "features": { | ||
| 12 | "audio": true, | ||
| 13 | "bootmagic": true, | ||
| 14 | "command": true, | ||
| 15 | "console": true, | ||
| 16 | "dip_switch": true, | ||
| 17 | "encoder": true, | ||
| 18 | "extrakey": true, | ||
| 19 | "mousekey": true, | ||
| 20 | "nkro": true, | ||
| 21 | "rgblight": true | ||
| 22 | }, | ||
| 11 | "rgblight": { | 23 | "rgblight": { |
| 12 | "led_count": 9 | 24 | "led_count": 9 |
| 13 | }, | 25 | }, |
diff --git a/keyboards/planck/rev6_drop/rules.mk b/keyboards/planck/rev6_drop/rules.mk index 022a5ccd53..30ce5d293b 100644 --- a/keyboards/planck/rev6_drop/rules.mk +++ b/keyboards/planck/rev6_drop/rules.mk | |||
| @@ -1,19 +1,2 @@ | |||
| 1 | # Build Options | ||
| 2 | # change yes to no to disable | ||
| 3 | # | ||
| 4 | BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite | ||
| 5 | MOUSEKEY_ENABLE = yes # Mouse keys | ||
| 6 | EXTRAKEY_ENABLE = yes # Audio control and System control | ||
| 7 | CONSOLE_ENABLE = yes # Console for debug | ||
| 8 | COMMAND_ENABLE = yes # Commands for debug and configuration | ||
| 9 | NKRO_ENABLE = yes # Enable N-Key Rollover | ||
| 10 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | ||
| 11 | RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow | ||
| 12 | AUDIO_ENABLE = yes # Audio output | ||
| 13 | CUSTOM_MATRIX = lite | 1 | CUSTOM_MATRIX = lite |
| 14 | # Do not enable RGB_MATRIX_ENABLE together with RGBLIGHT_ENABLE | ||
| 15 | RGB_MATRIX_ENABLE = no | ||
| 16 | ENCODER_ENABLE = yes | ||
| 17 | DIP_SWITCH_ENABLE = yes | ||
| 18 | |||
| 19 | SRC += matrix.c | 2 | SRC += matrix.c |
diff --git a/keyboards/planck/rev7/info.json b/keyboards/planck/rev7/keyboard.json index d674af98d1..691394d5d5 100644 --- a/keyboards/planck/rev7/info.json +++ b/keyboards/planck/rev7/keyboard.json | |||
| @@ -42,6 +42,7 @@ | |||
| 42 | "command": true, | 42 | "command": true, |
| 43 | "console": true, | 43 | "console": true, |
| 44 | "encoder": true, | 44 | "encoder": true, |
| 45 | "dip_switch": true, | ||
| 45 | "extrakey": true, | 46 | "extrakey": true, |
| 46 | "mousekey": true, | 47 | "mousekey": true, |
| 47 | "nkro": true, | 48 | "nkro": true, |
diff --git a/keyboards/planck/rev7/rules.mk b/keyboards/planck/rev7/rules.mk index 04b21019ae..30ce5d293b 100644 --- a/keyboards/planck/rev7/rules.mk +++ b/keyboards/planck/rev7/rules.mk | |||
| @@ -1,7 +1,2 @@ | |||
| 1 | # Build Options | ||
| 2 | # change yes to no to disable | ||
| 3 | # | ||
| 4 | CUSTOM_MATRIX = lite | 1 | CUSTOM_MATRIX = lite |
| 5 | DIP_SWITCH_ENABLE = yes | ||
| 6 | |||
| 7 | SRC += matrix.c | 2 | SRC += matrix.c |
diff --git a/keyboards/planck/thk/info.json b/keyboards/planck/thk/keyboard.json index 24b8d5f0a5..b2c07ca0f0 100644 --- a/keyboards/planck/thk/info.json +++ b/keyboards/planck/thk/keyboard.json | |||
| @@ -8,6 +8,14 @@ | |||
| 8 | "pid": "0x25A7", | 8 | "pid": "0x25A7", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "features": { | ||
| 12 | "bootmagic": true, | ||
| 13 | "dip_switch": true, | ||
| 14 | "encoder": true, | ||
| 15 | "extrakey": true, | ||
| 16 | "mousekey": true, | ||
| 17 | "nkro": false | ||
| 18 | }, | ||
| 11 | "matrix_pins": { | 19 | "matrix_pins": { |
| 12 | "cols": ["D7", "C2", "C3", "C4", "C5", "C6", "C7", "A3", "A2", "A1", "A0", "B0"], | 20 | "cols": ["D7", "C2", "C3", "C4", "C5", "C6", "C7", "A3", "A2", "A1", "A0", "B0"], |
| 13 | "rows": ["A7", "A6", "A5", "A4"] | 21 | "rows": ["A7", "A6", "A5", "A4"] |
diff --git a/keyboards/planck/thk/rules.mk b/keyboards/planck/thk/rules.mk index 417fb95129..c2ee0bc86f 100644 --- a/keyboards/planck/thk/rules.mk +++ b/keyboards/planck/thk/rules.mk | |||
| @@ -1,17 +1,2 @@ | |||
| 1 | # Processor frequency | 1 | # Processor frequency |
| 2 | F_CPU = 16000000 | 2 | F_CPU = 16000000 |
| 3 | |||
| 4 | # Build Options | ||
| 5 | # change yes to no to disable | ||
| 6 | # | ||
| 7 | BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite | ||
| 8 | MOUSEKEY_ENABLE = yes # Mouse keys | ||
| 9 | EXTRAKEY_ENABLE = yes # Audio control and System control | ||
| 10 | CONSOLE_ENABLE = no # Console for debug | ||
| 11 | COMMAND_ENABLE = no # Commands for debug and configuration | ||
| 12 | NKRO_ENABLE = no # Enable N-Key Rollover | ||
| 13 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | ||
| 14 | RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow | ||
| 15 | AUDIO_ENABLE = no # Audio output | ||
| 16 | ENCODER_ENABLE = yes | ||
| 17 | DIP_SWITCH_ENABLE = yes | ||
