]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/clueboard/60/rules.mk
3664b6d2c1d48085c508f7bea10d5fa119dd1764
[qmk_firmware.git] / keyboards / clueboard / 60 / rules.mk
1 # project specific files
2 SRC =   matrix.c \
3         led.c
4 LAYOUTS += 60_ansi 60_ansi_split_bs_rshift 60_iso
5
6 ## chip/board settings
7 # - the next two should match the directories in
8 #   <chibios>/os/hal/ports/$(MCU_FAMILY)/$(MCU_SERIES)
9 MCU_FAMILY = STM32
10 MCU_SERIES = STM32F3xx
11
12 # Linker script to use
13 # - it should exist either in <chibios>/os/common/ports/ARMCMx/compilers/GCC/ld/
14 #   or <this_dir>/ld/
15 MCU_LDSCRIPT = STM32F303xC
16
17 # Startup code to use
18 #  - it should exist in <chibios>/os/common/startup/ARMCMx/compilers/GCC/mk/
19 MCU_STARTUP = stm32f3xx
20
21 # Board: it should exist either in <chibios>/os/hal/boards/
22 #  or <this_dir>/boards
23 BOARD = GENERIC_STM32_F303XC
24
25 # Cortex version
26 MCU  = cortex-m4
27
28 # ARM version, CORTEX-M0/M1 are 6, CORTEX-M3/M4/M7 are 7
29 ARMV = 7
30
31 USE_FPU = yes
32
33 # Vector table for application
34 # 0x00000000-0x00001000 area is occupied by bootlaoder.*/
35 # The CORTEX_VTOR... is needed only for MCHCK/Infinity KB
36 # OPT_DEFS = -DCORTEX_VTOR_INIT=0x08005000
37 OPT_DEFS =
38
39 # Options to pass to dfu-util when flashing
40 DFU_ARGS = -d 0483:df11 -a 0 -s 0x08000000:leave
41
42 # Build Options
43 #   comment out to disable the options.
44 #
45 BACKLIGHT_ENABLE = no
46 BOOTMAGIC_ENABLE = yes  # Virtual DIP switch configuration
47 ## (Note that for BOOTMAGIC on Teensy LC you have to use a custom .ld script.)
48 MOUSEKEY_ENABLE = yes   # Mouse keys
49 EXTRAKEY_ENABLE = yes   # Audio control and System control
50 CONSOLE_ENABLE = yes    # Console for debug
51 COMMAND_ENABLE = yes    # Commands for debug and configuration
52 #SLEEP_LED_ENABLE = yes  # Breathing sleep LED during USB suspend
53 NKRO_ENABLE = yes           # USB Nkey Rollover
54 CUSTOM_MATRIX = yes # Custom matrix file
55 AUDIO_ENABLE = yes
56 # SERIAL_LINK_ENABLE = yes