aboutsummaryrefslogtreecommitdiff
path: root/keyboards/system76
diff options
context:
space:
mode:
authorJoel Challis <[email protected]>2024-04-17 03:15:02 +0100
committerGitHub <[email protected]>2024-04-17 03:15:02 +0100
commit36a6f2ba3c248e9f0498bc27be3788542ea3a972 (patch)
tree99b6320e6114ffcd40945b2ddf62793bccedfac2 /keyboards/system76
parente869c80af74a91d28e51628da495e66da0cbc3ce (diff)
downloadqmk_firmware-36a6f2ba3c248e9f0498bc27be3788542ea3a972.tar.gz
qmk_firmware-36a6f2ba3c248e9f0498bc27be3788542ea3a972.zip
Migrate build target markers to keyboard.json - S (#23532)
Diffstat (limited to 'keyboards/system76')
-rw-r--r--keyboards/system76/launch_1/keyboard.json (renamed from keyboards/system76/launch_1/info.json)12
-rw-r--r--keyboards/system76/launch_1/rules.mk15
2 files changed, 12 insertions, 15 deletions
diff --git a/keyboards/system76/launch_1/info.json b/keyboards/system76/launch_1/keyboard.json
index 536b310cc0..28a505448e 100644
--- a/keyboards/system76/launch_1/info.json
+++ b/keyboards/system76/launch_1/keyboard.json
@@ -7,6 +7,18 @@
"pid": "0x0001",
"device_version": "0.0.1"
},
+ "build": {
+ "lto": true
+ },
+ "features": {
+ "bootmagic": false,
+ "dynamic_keymap": true,
+ "extrakey": true,
+ "mousekey": false,
+ "nkro": true,
+ "raw": true,
+ "rgb_matrix": true
+ },
"ws2812": {
"pin": "E2"
},
diff --git a/keyboards/system76/launch_1/rules.mk b/keyboards/system76/launch_1/rules.mk
index 181976b2dd..6c4999df37 100644
--- a/keyboards/system76/launch_1/rules.mk
+++ b/keyboards/system76/launch_1/rules.mk
@@ -4,22 +4,7 @@ F_CPU = 8000000
# External oscillator is 16 MHz
F_USB = 16000000
-# Build options
-# change yes to no to disable
-BOOTMAGIC_ENABLE = no # 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
-DYNAMIC_KEYMAP_ENABLE = yes # Reconfigurable keyboard without flashing firmware
-NKRO_ENABLE = yes # USB N-key rollover
-RAW_ENABLE = yes # Raw HID commands (used by Keyboard Configurator)
-BACKLIGHT_ENABLE = no # RGB backlight (conflicts with RGB matrix)
-RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
-RGB_MATRIX_ENABLE = yes # RGB matrix
RGB_MATRIX_CUSTOM_KB = yes # Custom keyboard effects
-AUDIO_ENABLE = no # Audio output
-LTO_ENABLE = yes # Link-time optimization for smaller binary
# Add System76 EC command interface as well as I2C and USB mux drivers
SRC += system76_ec.c usb_mux.c