2 # - the next two should match the directories in
3 # <chibios>/os/hal/ports/$(MCU_FAMILY)/$(MCU_SERIES)
4 # - For Teensies, FAMILY = KINETIS and SERIES is either
5 # KL2x (LC) or K20x (3.0,3.1,3.2).
10 # - it should exist either in <chibios>/os/common/ports/ARMCMx/compilers/GCC/ld/
12 # - NOTE: a custom ld script is needed for EEPROM on Teensy LC
14 # - MKL26Z64 for Teensy LC
15 # - MK20DX128 for Teensy 3.0
16 # - MK20DX256 for Teensy 3.1 and 3.2
17 MCU_LDSCRIPT = MKL26Z64
20 # - it should exist in <chibios>/os/common/ports/ARMCMx/compilers/GCC/mk/
22 # - kl2x for Teensy LC
23 # - k20x5 for Teensy 3.0
24 # - k20x7 for Teensy 3.1 and 3.2
27 # Board: it should exist either in <chibios>/os/hal/boards/
28 # or <this_dir>/boards
30 # - PJRC_TEENSY_LC for Teensy LC
31 # - PJRC_TEENSY_3 for Teensy 3.0
32 # - PJRC_TEENSY_3_1 for Teensy 3.1 or 3.2
33 BOARD = PJRC_TEENSY_LC
36 # Teensy LC is cortex-m0plus; Teensy 3.x are cortex-m4
39 # ARM version, CORTEX-M0/M1 are 6, CORTEX-M3/M4/M7 are 7
40 # I.e. 6 for Teensy LC; 7 for Teensy 3.x