39 lines
1.3 KiB
Makefile
39 lines
1.3 KiB
Makefile
# MCU name
|
|
MCU = RP2040
|
|
BOOTLOADER = rp2040
|
|
|
|
# Build Options
|
|
# change yes to no to disable
|
|
#
|
|
BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration
|
|
EXTRAKEY_ENABLE = yes # Audio control and System control
|
|
CONSOLE_ENABLE = no # Console for debug
|
|
COMMAND_ENABLE = no # Commands for debug and configuration
|
|
# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
|
|
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
|
|
# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
|
|
NKRO_ENABLE = no # USB Nkey Rollover
|
|
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
|
|
# LTO must be disabled for RP2040 builds
|
|
LTO_ENABLE = no
|
|
|
|
# Either do RGBLIGHT_ENABLE or RGB_MATRIX_ENABLE and RGB_MATRIX_DRIVER
|
|
RGBLIGHT_ENABLE ?= no
|
|
RGB_MATRIX_ENABLE ?= no # not supported yet, but will add
|
|
RGB_MATRIX_DRIVER = ws2812
|
|
WS2812_DRIVER = vendor
|
|
|
|
MIDI_ENABLE = no # MIDI support
|
|
UNICODE_ENABLE = no # Unicode
|
|
BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
|
|
FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches
|
|
ENCODER_ENABLE ?= no
|
|
EXTRAFLAGS += -flto # macros enable or disable
|
|
MOUSEKEY_ENABLE = yes
|
|
|
|
SPLIT_KEYBOARD = yes
|
|
SERIAL_DRIVER = vendor
|
|
|
|
AUDIO_ENABLE ?= no
|
|
AUDIO_DRIVER = pwm_hardware
|