2020 February 29 Breaking Changes Update (#8064)
[jackhill/qmk/firmware.git] / keyboards / matrix / noah / rules.mk
CommitLineData
265c415f 1## chip/board settings
2# - the next two should match the directories in
3# <chibios>/os/hal/ports/$(MCU_FAMILY)/$(MCU_SERIES)
4MCU_FAMILY = STM32
5MCU_SERIES = STM32F4xx
6
7# Linker script to use
8# - it should exist either in <chibios>/os/common/ports/ARMCMx/compilers/GCC/ld/
9# or <this_dir>/ld/
10MCU_LDSCRIPT = noah_boot
11
12# Startup code to use
13# - it should exist in <chibios>/os/common/startup/ARMCMx/compilers/GCC/mk/
14MCU_STARTUP = stm32f4xx
15
16# Board: it should exist either in <chibios>/os/hal/boards/
17# or <this_dir>/boards
18BOARD = noah_bd
19
20# Cortex version
21MCU = cortex-m4
22
23# ARM version, CORTEX-M0/M1 are 6, CORTEX-M3/M4/M7 are 7
24ARMV = 7
25
26USE_FPU = yes
27
28# Vector table for application
29# 0x00000000-0x00001000 area is occupied by bootlaoder.*/
30OPT_DEFS =
31
32# Options to pass to dfu-util when flashing
33#DFU_ARGS = -d 0483:df11 -a 0 -s 0x08000000:leave
34#DFU_SUFFIX_ARGS = -p DF11 -v 0483
35
36# Build Options
37# comment out to disable the options.
38#
39BOOTMAGIC_ENABLE = yes # Virtual DIP switch configuration
40MOUSEKEY_ENABLE = no # Mouse keys
41EXTRAKEY_ENABLE = yes # Audio control and System control
42CONSOLE_ENABLE = no # Console for debug
43COMMAND_ENABLE = no # Commands for debug and configuration
44NKRO_ENABLE = no # USB Nkey Rollover
45NO_USB_STARTUP_CHECK = yes # Disable initialization only when usb is plugged in
46
47CUSTOM_MATRIX = yes
48RGB_MATRIX_ENABLE = yes
49
50RGBLIGHT_ENABLE = yes
51RGBLIGHT_CUSTOM_DRIVER = yes
52
53# project specific files
54SRC += \
55 matrix.c \
26eef35f 56 ws2812.c