Skip to content

Commit

Permalink
Migrate build target markers to keyboard.json - P (qmk#23565)
Browse files Browse the repository at this point in the history
  • Loading branch information
zvecr authored Apr 22, 2024
1 parent 191f626 commit 40d0512
Show file tree
Hide file tree
Showing 81 changed files with 276 additions and 558 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,16 @@
"pid": "0x1202",
"device_version": "0.0.1"
},
"features": {
"bootmagic": false,
"command": true,
"console": true,
"encoder": true,
"extrakey": true,
"mousekey": true,
"nkro": false,
"oled": true
},
"matrix_pins": {
"cols": ["C6", "D7", "E6", "B4", "B5"],
"rows": ["B6", "B2", "B3"]
Expand Down
15 changes: 0 additions & 15 deletions keyboards/palette1202/rules.mk
Original file line number Diff line number Diff line change
@@ -1,17 +1,2 @@
# Build Options
# change yes to no to disable
#
BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite
MOUSEKEY_ENABLE = yes # Mouse keys
EXTRAKEY_ENABLE = yes # Audio control and System control
CONSOLE_ENABLE = yes # Console for debug
COMMAND_ENABLE = yes # Commands for debug and configuration
NKRO_ENABLE = no # Enable N-Key Rollover
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output
ENCODER_ENABLE = yes # Enable support for rotary encoders
OLED_ENABLE = yes

# Additional code
SRC += lib/oled_helper.c # Adding OLED
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,19 @@
"pid": "0x6964",
"device_version": "0.0.1"
},
"build": {
"lto": true
},
"features": {
"audio": true,
"bootmagic": false,
"encoder": true,
"extrakey": true,
"haptic": true,
"mousekey": true,
"nkro": true,
"rgblight": true
},
"matrix_pins": {
"cols": ["D5", "D4", "C1", "C2", "C3", "C5", "C7", "A7", "A6", "A5", "A4", "A3", "A2", "A1", "A0", "F7"],
"rows": ["D6", "E1", "C0", "C4", "E3"]
Expand Down
16 changes: 0 additions & 16 deletions keyboards/pearlboards/atlas/rules.mk
Original file line number Diff line number Diff line change
@@ -1,17 +1 @@
# Build Options
# change yes to no to disable
#
BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite
MOUSEKEY_ENABLE = yes # Mouse keys
EXTRAKEY_ENABLE = yes # Audio control and System control
CONSOLE_ENABLE = no # Console for debug
COMMAND_ENABLE = no # Commands for debug and configuration
NKRO_ENABLE = yes # Enable N-Key Rollover
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
AUDIO_ENABLE = yes # Audio output
ENCODER_ENABLE = yes
HAPTIC_ENABLE = yes
HAPTIC_DRIVER = drv2605l

LTO_ENABLE = yes
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,18 @@
"pid": "0x6965",
"device_version": "0.0.1"
},
"build": {
"lto": true
},
"features": {
"audio": true,
"bootmagic": false,
"extrakey": true,
"haptic": true,
"mousekey": false,
"nkro": true,
"rgblight": true
},
"matrix_pins": {
"cols": ["D2", "F1", "F4", "F5", "F6", "C7", "B6", "B5", "B4", "D7", "D6", "D4", "D5"],
"rows": ["D3", "F7", "F0", "E6"]
Expand Down
15 changes: 0 additions & 15 deletions keyboards/pearlboards/pearl/rules.mk
Original file line number Diff line number Diff line change
@@ -1,16 +1 @@
# Build Options
# change yes to no to disable
#
BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite
MOUSEKEY_ENABLE = no # Mouse keys
EXTRAKEY_ENABLE = yes # Audio control and System control
CONSOLE_ENABLE = no # Console for debug
COMMAND_ENABLE = no # Commands for debug and configuration
NKRO_ENABLE = yes # Enable N-Key Rollover
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
AUDIO_ENABLE = yes # Audio output
HAPTIC_ENABLE = yes
HAPTIC_DRIVER = drv2605l

LTO_ENABLE = yes
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,19 @@
"pid": "0x6966",
"device_version": "0.0.1"
},
"build": {
"lto": true
},
"features": {
"audio": true,
"bootmagic": false,
"encoder": true,
"extrakey": true,
"haptic": true,
"mousekey": true,
"nkro": true,
"rgblight": true
},
"matrix_pins": {
"cols": ["F1", "F2", "F3", "F4", "F5", "F6", "F7", "A0", "A1", "A2", "A3", "A4", "A5", "A6", "A7", "C7", "C2", "C0"],
"rows": ["F0", "C1", "E1", "E0", "D7", "D6"]
Expand Down
16 changes: 0 additions & 16 deletions keyboards/pearlboards/zeus/rules.mk
Original file line number Diff line number Diff line change
@@ -1,17 +1 @@
# Build Options
# change yes to no to disable
#
BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite
MOUSEKEY_ENABLE = yes # Mouse keys
EXTRAKEY_ENABLE = yes # Audio control and System control
CONSOLE_ENABLE = no # Console for debug
COMMAND_ENABLE = no # Commands for debug and configuration
NKRO_ENABLE = yes # Enable N-Key Rollover
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
AUDIO_ENABLE = yes # Audio output
ENCODER_ENABLE = yes # Rotary encoder
HAPTIC_ENABLE = yes # Rumble feefback
HAPTIC_DRIVER = drv2605l # Rumble motor

LTO_ENABLE = yes # Link time optimization
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@
"device_version": "0.0.1",
"max_power": 100
},
"features": {
"bootmagic": true,
"extrakey": true,
"mousekey": true,
"nkro": false
},
"matrix_pins": {
"cols": ["B0", "D7", "D6", "C2", "D4", "D1", "D0", "C1"],
"rows": ["C0", "B5", "B4", "B3", "B2", "B1", "C3", "D5"]
Expand Down
12 changes: 0 additions & 12 deletions keyboards/peej/rosaline/ortho/rules.mk

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@
"device_version": "0.0.1",
"max_power": 100
},
"features": {
"bootmagic": true,
"extrakey": true,
"mousekey": true,
"nkro": false
},
"matrix_pins": {
"cols": ["B0", "D7", "D6", "C2", "D4", "D1", "D0", "C1"],
"rows": ["C0", "B5", "B4", "B3", "B2", "B1", "C3", "D5"]
Expand Down
12 changes: 0 additions & 12 deletions keyboards/peej/rosaline/staggered/rules.mk

This file was deleted.

39 changes: 0 additions & 39 deletions keyboards/peranekofactory/tone/rev1/config.h

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,23 @@
"pid": "0x0000",
"device_version": "0.0.1"
},
"features": {
"bootmagic": true,
"encoder": true,
"extrakey": true,
"mousekey": true,
"nkro": false
},
"encoder": {
"rotary": [
{"pin_a": "B5", "pin_b": "B4"}
]
},
"qmk": {
"locking": {
"enabled": true,
"resync": true
},
"tap_keycode_delay": 100
},
"processor": "atmega32u4",
Expand Down
13 changes: 0 additions & 13 deletions keyboards/peranekofactory/tone/rev1/rules.mk

This file was deleted.

39 changes: 0 additions & 39 deletions keyboards/peranekofactory/tone/rev2/config.h

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,23 @@
"pid": "0x0000",
"device_version": "0.0.1"
},
"features": {
"bootmagic": true,
"encoder": true,
"extrakey": true,
"mousekey": true,
"nkro": false
},
"encoder": {
"rotary": [
{"pin_a": "B5", "pin_b": "B4"}
]
},
"qmk": {
"locking": {
"enabled": true,
"resync": true
},
"tap_keycode_delay": 100
},
"processor": "atmega32u4",
Expand Down
13 changes: 0 additions & 13 deletions keyboards/peranekofactory/tone/rev2/rules.mk

This file was deleted.

2 changes: 2 additions & 0 deletions keyboards/percent/canoe_gen2/canoe_gen2.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
void keyboard_pre_init_kb(void) {
setPinOutput(E6);
writePinHigh(E6);

keyboard_pre_init_user();
}

bool led_update_kb(led_t led_state) {
Expand Down
23 changes: 0 additions & 23 deletions keyboards/percent/canoe_gen2/config.h

This file was deleted.

Loading

0 comments on commit 40d0512

Please sign in to comment.