summaryrefslogtreecommitdiff
path: root/keyboards/planck
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2024-04-22 02:06:41 +0100
committerGitHub <noreply@github.com>2024-04-22 02:06:41 +0100
commit40d0512794651237a182b4f53a2278d0fb2e583e (patch)
tree232f20395add4f60681931f3094b4b2726f2c998 /keyboards/planck
parent191f62688079d644fe7ac471b2725e79e4d87f48 (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.mk1
-rw-r--r--keyboards/planck/ez/info.json15
-rw-r--r--keyboards/planck/ez/rules.mk16
-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.mk17
-rw-r--r--keyboards/planck/rev7/keyboard.json (renamed from keyboards/planck/rev7/info.json)1
-rw-r--r--keyboards/planck/rev7/rules.mk5
-rw-r--r--keyboards/planck/thk/keyboard.json (renamed from keyboards/planck/thk/info.json)8
-rw-r--r--keyboards/planck/thk/rules.mk15
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 @@
1RGB_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#
4BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
5MOUSEKEY_ENABLE = yes # Mouse keys
6EXTRAKEY_ENABLE = yes # Audio control and System control
7CONSOLE_ENABLE = yes # Console for debug
8COMMAND_ENABLE = yes # Commands for debug and configuration
9NKRO_ENABLE = yes # Enable N-Key Rollover
10BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
11AUDIO_ENABLE = yes # Audio output
12AUDIO_DRIVER = dac_additive 1AUDIO_DRIVER = dac_additive
13RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight.
14
15ENCODER_ENABLE = yes
16 2
17RGBLIGHT_SUPPORTED = no 3RGBLIGHT_SUPPORTED = no
18BAKCLIGHT_SUPPORTED = no 4BAKCLIGHT_SUPPORTED = no
19 5
20MOUSE_SHARED_EP = no
21
22DEFAULT_FOLDER = planck/ez/base 6DEFAULT_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#
4BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
5MOUSEKEY_ENABLE = yes # Mouse keys
6EXTRAKEY_ENABLE = yes # Audio control and System control
7CONSOLE_ENABLE = yes # Console for debug
8COMMAND_ENABLE = yes # Commands for debug and configuration
9NKRO_ENABLE = yes # Enable N-Key Rollover
10BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
11RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
12AUDIO_ENABLE = yes # Audio output
13CUSTOM_MATRIX = lite 1CUSTOM_MATRIX = lite
14# Do not enable RGB_MATRIX_ENABLE together with RGBLIGHT_ENABLE
15RGB_MATRIX_ENABLE = no
16ENCODER_ENABLE = yes
17DIP_SWITCH_ENABLE = yes
18
19SRC += matrix.c 2SRC += 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#
4CUSTOM_MATRIX = lite 1CUSTOM_MATRIX = lite
5DIP_SWITCH_ENABLE = yes
6
7SRC += matrix.c 2SRC += 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
2F_CPU = 16000000 2F_CPU = 16000000
3
4# Build Options
5# change yes to no to disable
6#
7BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
8MOUSEKEY_ENABLE = yes # Mouse keys
9EXTRAKEY_ENABLE = yes # Audio control and System control
10CONSOLE_ENABLE = no # Console for debug
11COMMAND_ENABLE = no # Commands for debug and configuration
12NKRO_ENABLE = no # Enable N-Key Rollover
13BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
14RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
15AUDIO_ENABLE = no # Audio output
16ENCODER_ENABLE = yes
17DIP_SWITCH_ENABLE = yes