]> git.gir.st - tmk_keyboard.git/blob - keyboard/kl27z_kbd/Makefile
Add keyboard/kl27z_kbd
[tmk_keyboard.git] / keyboard / kl27z_kbd / Makefile
1 # Target file name (without extension).
2 PROJECT = kl27z_kbd
3
4 # Directory common source files exist
5 TMK_DIR = ../../tmk_core
6
7 # Directory keyboard dependent files exist
8 TARGET_DIR = .
9
10 # project specific files
11 SRC = $(PROJECT).c
12
13 CONFIG_H = config.h
14
15 ## chip/board settings
16 # - the next two should match the directories in
17 # <chibios>/os/hal/ports/$(MCU_FAMILY)/$(MCU_SERIES)
18 # - For Teensies, FAMILY = KINETIS and SERIES is either
19 # KL2x (LC) or K20x (3.0,3.1,3.2).
20 MCU_FAMILY = KINETIS
21 MCU_SERIES = KL2x
22
23 # Linker script to use
24 # - it should exist either in <chibios>/os/common/ports/ARMCMx/compilers/GCC/ld/
25 # or <this_dir>/ld/
26 # - NOTE: a custom ld script is needed for EEPROM on Teensy LC
27 # - LDSCRIPT =
28 # - MKL26Z64 for Teensy LC
29 # - MK20DX128 for Teensy 3.0
30 # - MK20DX256 for Teensy 3.1 and 3.2
31 MCU_LDSCRIPT = MKL27Z256
32
33 # Startup code to use
34 # - it should exist in <chibios>/os/common/ports/ARMCMx/compilers/GCC/mk/
35 # - STARTUP =
36 # - kl2x for Teensy LC
37 # - k20x5 for Teensy 3.0
38 # - k20x7 for Teensy 3.1 and 3.2
39 MCU_STARTUP = kl2x
40
41 # Board: it should exist either in <chibios>/os/hal/boards/
42 # or <this_dir>/boards
43 # - BOARD =
44 # - PJRC_TEENSY_LC for Teensy LC
45 # - PJRC_TEENSY_3 for Teensy 3.0
46 # - PJRC_TEENSY_3_1 for Teensy 3.1 or 3.2
47 BOARD = ELF
48
49 # Cortex version
50 # Teensy LC is cortex-m0plus; Teensy 3.x are cortex-m4
51 MCU = cortex-m0plus
52
53 # ARM version, CORTEX-M0/M1 are 6, CORTEX-M3/M4/M7 are 7
54 # I.e. 6 for Teensy LC; 7 for Teensy 3.x
55 ARMV = 6
56
57 # Build Options
58 # comment out to disable the options.
59 #
60 #BOOTMAGIC_ENABLE = yes # Virtual DIP switch configuration
61 ## (Note that for BOOTMAGIC on Teensy LC you have to use a custom .ld script.)
62 #MOUSEKEY_ENABLE = yes # Mouse keys
63 EXTRAKEY_ENABLE = yes # Audio control and System control
64 CONSOLE_ENABLE = yes # Console for debug
65 #COMMAND_ENABLE = yes # Commands for debug and configuration
66 #SLEEP_LED_ENABLE = yes # Breathing sleep LED during USB suspend
67 #NKRO_ENABLE = yes # USB Nkey Rollover
68
69 include $(TMK_DIR)/tool/chibios/common.mk
70 include $(TMK_DIR)/tool/chibios/chibios.mk
Imprint / Impressum