Refactoring wilba.tech PCBs, updating Rama Works U80-A (#6272)
[jackhill/qmk/firmware.git] / keyboards / hs60 / v2 / rules.mk
CommitLineData
6fa3cfbf 1# project specific files
bffbb4b4
W
2SRC = keyboards/wilba_tech/wt_main.c \
3 keyboards/wilba_tech/wt_rgb_backlight.c \
2bfac351 4 drivers/issi/is31fl3733.c \
5 quantum/color.c \
6 drivers/arm/i2c_master.c
6fa3cfbf 7
8## chip/board settings
9# the next two should match the directories in
10# <chibios>/os/hal/ports/$(MCU_FAMILY)/$(MCU_SERIES)
11MCU_FAMILY = STM32
12MCU_SERIES = STM32F3xx
13
14# Linker script to use
15# it should exist either in <chibios>/os/common/ports/ARMCMx/compilers/GCC/ld/
16# or <this_dir>/ld/
17MCU_LDSCRIPT = STM32F303xC
18
19# Startup code to use
20# - it should exist in <chibios>/os/common/startup/ARMCMx/compilers/GCC/mk/
21MCU_STARTUP = stm32f3xx
22
23# Board: it should exist either in <chibios>/os/hal/boards/
24# or <this_dir>/boards
25BOARD = GENERIC_STM32_F303XC
26
27# Cortex version
28MCU = cortex-m4
29
30# ARM version, CORTEX-M0/M1 are 6, CORTEX-M3/M4/M7 are 7
31ARMV = 7
32
33USE_FPU = yes
34
35# Vector table for application
36# 0x00000000-0x00001000 area is occupied by bootlaoder.*/
37# The CORTEX_VTOR... is needed only for MCHCK/Infinity KB
38# OPT_DEFS = -DCORTEX_VTOR_INIT=0x08005000
39OPT_DEFS =
40
41# Do not put the microcontroller into power saving mode
42# when we get USB suspend event. We want it to keep updating
43# backlight effects.
44OPT_DEFS += -DNO_SUSPEND_POWER_DOWN
45
46# Options to pass to dfu-util when flashing
47DFU_ARGS = -d 0483:df11 -a 0 -s 0x08000000:leave
41beecfc 48DFU_SUFFIX_ARGS = -p DF11 -v 0483
6fa3cfbf 49
50# Build Options
51# comment out to disable the options.
52#
2bfac351 53BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
54BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration
6fa3cfbf 55MOUSEKEY_ENABLE = yes # Mouse keys
56EXTRAKEY_ENABLE = yes # Audio control and System control
57CONSOLE_ENABLE = no # Console for debug
58COMMAND_ENABLE = no # Commands for debug and configuration
2bfac351 59SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
6fa3cfbf 60NKRO_ENABLE = yes # USB Nkey Rollover
2bfac351 61AUDIO_ENABLE = no # Audio output on port C6
6fa3cfbf 62NO_USB_STARTUP_CHECK = no # Disable initialization only when usb is plugged in
63#SERIAL_LINK_ENABLE = yes
2bfac351 64
3e8ee96b 65RAW_ENABLE = no
66DYNAMIC_KEYMAP_ENABLE = no
2bfac351 67CIE1931_CURVE = yes