Skip to content

Commit

Permalink
Migrate build target markers to keyboard.json - 0AB (qmk#23488)
Browse files Browse the repository at this point in the history
  • Loading branch information
zvecr authored and nuess0r committed Sep 8, 2024
1 parent 07eda9b commit 3313bf5
Show file tree
Hide file tree
Showing 64 changed files with 71 additions and 117 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,15 @@
"pid": "0x7C99",
"device_version": "0.0.1"
},
"features": {
"bluetooth": true,
"bootmagic": true,
"encoder": true,
"extrakey": true,
"mousekey": true,
"nkro": false,
"oled": true
},
"bluetooth": {
"driver": "bluefruit_le"
},
Expand Down
16 changes: 0 additions & 16 deletions keyboards/10bleoledhub/rules.mk
Original file line number Diff line number Diff line change
@@ -1,18 +1,2 @@
# Processor frequency
F_CPU = 8000000

# Build Options
# change yes to no to disable
#
BOOTMAGIC_ENABLE = yes # 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 = no # Enable N-Key Rollover
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output
BLUETOOTH_ENABLE = yes
OLED_ENABLE = yes
ENCODER_ENABLE = yes
10 changes: 10 additions & 0 deletions keyboards/1k/info.json → keyboards/1k/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,16 @@
"pid": "0x0001",
"device_version": "0.0.1"
},
"processor": "attiny85",
"bootloader": "custom",
"build": {
"lto": true
},
"features": {
"grave_esc": false,
"magic": false,
"space_cadet": false
},
"rgblight": {
"led_count": 1
},
Expand Down
24 changes: 0 additions & 24 deletions keyboards/1k/rules.mk
Original file line number Diff line number Diff line change
@@ -1,26 +1,2 @@
# MCU name
MCU = attiny85

# Bootloader selection
BOOTLOADER = custom
BOOTLOADER_SIZE = 1862
PROGRAM_CMD = micronucleus --run $(BUILD_DIR)/$(TARGET).hex

# Build Options
# change yes to no to disable
#
BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite
MOUSEKEY_ENABLE = no # Mouse keys
EXTRAKEY_ENABLE = no # Audio control and System control
CONSOLE_ENABLE = no # Console for debug
COMMAND_ENABLE = no # 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

# Save as much space as we can...
LTO_ENABLE = yes
GRAVE_ESC_ENABLE = no
MAGIC_ENABLE = no
SPACE_CADET_ENABLE = no
File renamed without changes.
1 change: 1 addition & 0 deletions keyboards/1upkeyboards/pi40/grid_v1_1/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
"extrakey": true,
"mousekey": true,
"nkro": false,
"oled": true,
"rgb_matrix": true
},
"matrix_pins": {
Expand Down
1 change: 1 addition & 0 deletions keyboards/1upkeyboards/pi40/mit_v1_0/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
"extrakey": true,
"mousekey": true,
"nkro": false,
"oled": true,
"rgb_matrix": true
},
"matrix_pins": {
Expand Down
1 change: 1 addition & 0 deletions keyboards/1upkeyboards/pi40/mit_v1_1/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
"extrakey": true,
"mousekey": true,
"nkro": false,
"oled": true,
"rgb_matrix": true
},
"matrix_pins": {
Expand Down
2 changes: 0 additions & 2 deletions keyboards/1upkeyboards/pi40/rules.mk
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
OLED_ENABLE = yes

DEFAULT_FOLDER = 1upkeyboards/pi40/mit_v1_0
3 changes: 0 additions & 3 deletions keyboards/25keys/zinc/rules.mk
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
DEFAULT_FOLDER = 25keys/zinc/rev1

#SRC += i2c.c
SRC += serial.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
{
"usb": {
"device_version": "0.0.1"
"device_version": "0.0.1",
"no_startup_check": true
},
"features": {
"bootmagic": false,
"extrakey": true,
"mousekey": true,
"nkro": false,
"unicode": true
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
Expand Down
16 changes: 0 additions & 16 deletions keyboards/3w6/rev1/rules.mk
Original file line number Diff line number Diff line change
@@ -1,19 +1,3 @@
# 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 = no # Enable N-Key Rollover
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output
UNICODE_ENABLE = yes
CUSTOM_MATRIX = lite
NO_USB_STARTUP_CHECK = yes
LTO_ENABLE = no

SRC += matrix.c
I2C_DRIVER_REQUIRED = yes
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
{
"usb": {
"device_version": "0.0.2"
"device_version": "0.0.2",
"no_startup_check": true
},
"features": {
"bootmagic": false,
"extrakey": true,
"mousekey": true,
"nkro": false,
"unicode": true
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
Expand Down
16 changes: 0 additions & 16 deletions keyboards/3w6/rev2/rules.mk
Original file line number Diff line number Diff line change
@@ -1,19 +1,3 @@
# 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 = no # Enable N-Key Rollover
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output
UNICODE_ENABLE = yes
CUSTOM_MATRIX = lite
NO_USB_STARTUP_CHECK = yes
LTO_ENABLE = no

SRC += matrix.c
I2C_DRIVER_REQUIRED = yes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
{
"keyboard_name": "Boston Meetup Board",
"manufacturer": "ishtob",
"url": "",
"maintainer": "qmk",
"usb": {
"device_version": "20.1.9"
"vid": "0xFB30",
"pid": "0x26BE",
"device_version": "20.1.9"
},
"features": {
"bootmagic": true,
Expand Down Expand Up @@ -45,5 +51,27 @@
"processor": "STM32F303",
"bootloader": "stm32-dfu",
"board": "QMK_PROTON_C",
"debounce": 6
"debounce": 6,
"layouts": {
"LAYOUT": {
"layout": [
{"matrix": [0, 0], "x": 0, "y": 0},

{"matrix": [1, 0], "x": 0, "y": 1},
{"matrix": [1, 1], "x": 1, "y": 1},
{"matrix": [1, 2], "x": 2, "y": 1},
{"matrix": [1, 3], "x": 3, "y": 1},

{"matrix": [2, 0], "x": 0, "y": 2},
{"matrix": [2, 1], "x": 1, "y": 2},
{"matrix": [2, 2], "x": 2, "y": 2},
{"matrix": [2, 3], "x": 3, "y": 2},

{"matrix": [3, 0], "x": 0, "y": 3},
{"matrix": [3, 1], "x": 1, "y": 3},
{"matrix": [3, 2], "x": 2, "y": 3},
{"matrix": [3, 3], "x": 3, "y": 3}
]
}
}
}
32 changes: 0 additions & 32 deletions keyboards/boston_meetup/info.json

This file was deleted.

1 change: 0 additions & 1 deletion keyboards/boston_meetup/rules.mk
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@

DEFAULT_FOLDER = boston_meetup/2019
File renamed without changes.
File renamed without changes.
4 changes: 1 addition & 3 deletions keyboards/bpiphany/hid_liber/rules.mk
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
CUSTOM_MATRIX = yes # Custom matrix file

# Project specific files
CUSTOM_MATRIX = yes
SRC = matrix.c
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 3313bf5

Please sign in to comment.