35 lines
1.0 KiB
Makefile
35 lines
1.0 KiB
Makefile
|
# MCU name
|
||
|
MCU = MK20DX128
|
||
|
|
||
|
# Bootloader selection
|
||
|
BOOTLOADER = kiibohd
|
||
|
|
||
|
# Board: it should exist either in <chibios>/os/hal/boards/
|
||
|
# or <this_dir>/boards
|
||
|
# - BOARD =
|
||
|
# - PJRC_TEENSY_LC for Teensy LC
|
||
|
# - PJRC_TEENSY_3 for Teensy 3.0
|
||
|
# - PJRC_TEENSY_3_1 for Teensy 3.1 or 3.2
|
||
|
# - MCHCK_K20 for Infinity KB
|
||
|
BOARD = MCHCK_K20
|
||
|
|
||
|
# Build Options
|
||
|
# change yes to no to disable
|
||
|
#
|
||
|
BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite
|
||
|
MOUSEKEY_ENABLE = yes # Mouse keys
|
||
|
EXTRAKEY_ENABLE = yes # Audio control and System control
|
||
|
CONSOLE_ENABLE = yes # Console for debug
|
||
|
COMMAND_ENABLE = yes # Commands for debug and configuration
|
||
|
NKRO_ENABLE = yes # Enable N-Key Rollover
|
||
|
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
|
||
|
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
|
||
|
AUDIO_ENABLE = no # Audio output
|
||
|
|
||
|
DEFAULT_FOLDER = input_club/infinity60/led
|
||
|
|
||
|
LAYOUTS = 60_ansi_split_bs_rshift
|
||
|
|
||
|
# Enter lower-power sleep mode when on the ChibiOS idle thread
|
||
|
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE
|