mirror of
https://github.com/qmk/qmk_firmware.git
synced 2024-11-25 12:46:41 +00:00
Convert rules.mk
to data-driven
This commit is contained in:
parent
904fecdd04
commit
6c3540fb4e
@ -6,9 +6,37 @@
|
||||
"pid": "0x0200",
|
||||
"device_version": "1.0.0"
|
||||
},
|
||||
"development_board": "promicro",
|
||||
"features": {
|
||||
"bootmagic": false,
|
||||
"mousekey": false,
|
||||
"extrakey": false,
|
||||
"console": false,
|
||||
"command": false,
|
||||
"nkro": false,
|
||||
"backlight": false,
|
||||
"rgblight": false,
|
||||
"rgb_matrix": false,
|
||||
"oled": false,
|
||||
"pointing_device": true,
|
||||
"audio": false,
|
||||
"sleep_led": false,
|
||||
"grave_esc": false,
|
||||
"magic": false,
|
||||
"space_cadet": false
|
||||
},
|
||||
"build": {
|
||||
"lto": true
|
||||
},
|
||||
"split": {
|
||||
"enabled": true
|
||||
},
|
||||
"rgblight": {
|
||||
"driver": "ws2812"
|
||||
},
|
||||
"rgb_matrix": {
|
||||
"driver": "ws2812"
|
||||
},
|
||||
"layout_aliases": {
|
||||
"LAYOUT": "LAYOUT_right_ball",
|
||||
"LAYOUT_universal": "LAYOUT_no_ball"
|
||||
|
@ -1,49 +1,9 @@
|
||||
# MCU name
|
||||
MCU = atmega32u4
|
||||
|
||||
# Bootloader selection
|
||||
BOOTLOADER = caterina
|
||||
|
||||
# Link Time Optimization required for size.
|
||||
LTO_ENABLE = yes
|
||||
|
||||
# Build Options
|
||||
BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite
|
||||
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
|
||||
AUDIO_ENABLE = no # Audio output
|
||||
|
||||
# Keyball39 is split keyboard.
|
||||
SPLIT_KEYBOARD = yes
|
||||
|
||||
# Optical sensor driver for trackball.
|
||||
POINTING_DEVICE_ENABLE = yes
|
||||
POINTING_DEVICE_DRIVER = custom
|
||||
SRC += drivers/pmw3360/pmw3360.c
|
||||
QUANTUM_LIB_SRC += spi_master.c # Optical sensor use SPI to communicate
|
||||
|
||||
# This is unnecessary for processing KC_MS_BTN*.
|
||||
MOUSEKEY_ENABLE = no
|
||||
|
||||
# Enabled only one of RGBLIGHT and RGB_MATRIX if necessary.
|
||||
RGBLIGHT_ENABLE = no # Enable RGBLIGHT
|
||||
RGB_MATRIX_ENABLE = no # Enable RGB_MATRIX (not work yet)
|
||||
RGB_MATRIX_DRIVER = ws2812
|
||||
|
||||
# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
|
||||
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
|
||||
|
||||
# To support OLED
|
||||
OLED_ENABLE = no # Please Enable this in each keymaps.
|
||||
SRC += lib/oledkit/oledkit.c # OLED utility for Keyball series.
|
||||
|
||||
# Include common library
|
||||
SRC += lib/keyball/keyball.c
|
||||
|
||||
# Disable other features to squeeze firmware size
|
||||
SPACE_CADET_ENABLE = no
|
||||
GRAVE_ESC_ENABLE = no
|
||||
MAGIC_ENABLE = no
|
||||
|
Loading…
Reference in New Issue
Block a user