1 # project specific files
7 # - the next two should match the directories in
8 # <chibios>/os/hal/ports/$(MCU_FAMILY)/$(MCU_SERIES)
9 # - For Teensies, FAMILY = KINETIS and SERIES is either
10 # KL2x (LC) or K20x (3.0,3.1,3.2).
11 # - For Infinity KB, SERIES = K20x
15 # Linker script to use
16 # - it should exist either in <chibios>/os/common/ports/ARMCMx/compilers/GCC/ld/
18 # - NOTE: a custom ld script is needed for EEPROM on Teensy LC
20 # - MKL26Z64 for Teensy LC
21 # - MK20DX128 for Teensy 3.0
22 # - MK20DX256 for Teensy 3.1 and 3.2
23 # - MK20DX128BLDR4 for Infinity with Kiibohd bootloader
24 MCU_LDSCRIPT = MK20DX128BLDR4
27 # - it should exist in <chibios>/os/common/ports/ARMCMx/compilers/GCC/mk/
29 # - kl2x for Teensy LC
30 # - k20x5 for Teensy 3.0 and Infinity KB
31 # - k20x7 for Teensy 3.1 and 3.2
34 # Board: it should exist either in <chibios>/os/hal/boards/
35 # or <this_dir>/boards
37 # - PJRC_TEENSY_LC for Teensy LC
38 # - PJRC_TEENSY_3 for Teensy 3.0
39 # - PJRC_TEENSY_3_1 for Teensy 3.1 or 3.2
40 # - MCHCK_K20 for Infinity KB
44 # Teensy LC is cortex-m0; Teensy 3.x are cortex-m4
47 # ARM version, CORTEX-M0/M1 are 6, CORTEX-M3/M4/M7 are 7
48 # I.e. 6 for Teensy LC; 7 for Teensy 3.x
51 # Vector table for application
52 # 0x00000000-0x00001000 area is occupied by bootlaoder.*/
53 # The CORTEX_VTOR... is needed only for MCHCK/Infinity KB
54 OPT_DEFS = -DCORTEX_VTOR_INIT=0x00001000
57 # comment out to disable the options.
60 DFU_ARGS = -d 1c11:b007
62 BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration
63 ## (Note that for BOOTMAGIC on Teensy LC you have to use a custom .ld script.)
64 MOUSEKEY_ENABLE = yes # Mouse keys
65 EXTRAKEY_ENABLE = yes # Audio control and System control
66 CONSOLE_ENABLE = yes # Console for debug
67 COMMAND_ENABLE = yes # Commands for debug and configuration
68 SLEEP_LED_ENABLE = yes # Breathing sleep LED during USB suspend
69 NKRO_ENABLE = yes # USB Nkey Rollover
70 CUSTOM_MATRIX = yes # Custom matrix file
72 LAYOUTS = 60_ansi_split_bs_rshift