aboutsummaryrefslogtreecommitdiff
path: root/keyboards/1k
diff options
context:
space:
mode:
authorJoel Challis <[email protected]>2024-04-12 23:34:44 +0100
committerGitHub <[email protected]>2024-04-12 23:34:44 +0100
commit6b60089fc704e4fc6bb75686b725a19da6a92fa9 (patch)
tree891be4a9f3a1a1c9088a2f726a85b79485700fb2 /keyboards/1k
parent214e091ec2a7af0629ce36bce28793a3630090c3 (diff)
downloadqmk_firmware-6b60089fc704e4fc6bb75686b725a19da6a92fa9.tar.gz
qmk_firmware-6b60089fc704e4fc6bb75686b725a19da6a92fa9.zip
Migrate build target markers to keyboard.json - 0AB (#23488)
Diffstat (limited to 'keyboards/1k')
-rw-r--r--keyboards/1k/keyboard.json (renamed from keyboards/1k/info.json)10
-rw-r--r--keyboards/1k/rules.mk24
2 files changed, 10 insertions, 24 deletions
diff --git a/keyboards/1k/info.json b/keyboards/1k/keyboard.json
index 34f33d5059..440856d0bd 100644
--- a/keyboards/1k/info.json
+++ b/keyboards/1k/keyboard.json
@@ -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
},
diff --git a/keyboards/1k/rules.mk b/keyboards/1k/rules.mk
index b3bd401f6b..4078fe342a 100644
--- a/keyboards/1k/rules.mk
+++ b/keyboards/1k/rules.mk
@@ -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