diff options
author | Joel Challis <[email protected]> | 2024-04-12 04:36:31 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2024-04-12 04:36:31 +0100 |
commit | 45b710f9e16733ab73af5f2ed1b0b13233db49e9 (patch) | |
tree | 28ebf0f60fa4a703fee358612197c3d87429945d /keyboards/xiudi/xd002 | |
parent | 8caa8674d225c1c26403f8c311be6ffbdd9081e1 (diff) | |
download | qmk_firmware-45b710f9e16733ab73af5f2ed1b0b13233db49e9.tar.gz qmk_firmware-45b710f9e16733ab73af5f2ed1b0b13233db49e9.zip |
Migrate build target markers to keyboard.json - X (#23460)
Diffstat (limited to 'keyboards/xiudi/xd002')
-rw-r--r-- | keyboards/xiudi/xd002/keyboard.json (renamed from keyboards/xiudi/xd002/info.json) | 10 | ||||
-rw-r--r-- | keyboards/xiudi/xd002/rules.mk | 25 |
2 files changed, 11 insertions, 24 deletions
diff --git a/keyboards/xiudi/xd002/info.json b/keyboards/xiudi/xd002/keyboard.json index 1e0b22f96b..98b06cb84a 100644 --- a/keyboards/xiudi/xd002/info.json +++ b/keyboards/xiudi/xd002/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x0202", "device_version": "0.0.1" }, + "processor": "attiny85", + "bootloader": "custom", + "build": { + "lto": true + }, + "features": { + "grave_esc": false, + "magic": false, + "space_cadet": false + }, "rgblight": { "led_count": 2 }, diff --git a/keyboards/xiudi/xd002/rules.mk b/keyboards/xiudi/xd002/rules.mk index 70c620c8f0..e31f5d531f 100644 --- a/keyboards/xiudi/xd002/rules.mk +++ b/keyboards/xiudi/xd002/rules.mk @@ -1,26 +1,3 @@ -# MCU name -MCU = attiny85 - -# Bootloader selection -BOOTLOADER = custom +# custom bootloader OPT_DEFS += -DBOOTLOADER_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 |