]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/hs60/v2/keymaps/ansi_via/rules.mk
Refactoring wilba.tech PCBs, updating Rama Works U80-A (#6272)
[qmk_firmware.git] / keyboards / hs60 / v2 / keymaps / ansi_via / rules.mk
1 # project specific files
2 SRC =   keyboards/wilba_tech/wt_main.c \
3                 keyboards/wilba_tech/wt_rgb_backlight.c \
4                 drivers/issi/is31fl3733.c \
5                 quantum/color.c \
6                 drivers/arm/i2c_master.c
7
8 ## chip/board settings
9 #   the next two should match the directories in
10 #   <chibios>/os/hal/ports/$(MCU_FAMILY)/$(MCU_SERIES)
11 MCU_FAMILY = STM32
12 MCU_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/
17 MCU_LDSCRIPT = STM32F303xC
18
19 # Startup code to use
20 #  - it should exist in <chibios>/os/common/startup/ARMCMx/compilers/GCC/mk/
21 MCU_STARTUP = stm32f3xx
22
23 # Board: it should exist either in <chibios>/os/hal/boards/
24 #  or <this_dir>/boards
25 BOARD = GENERIC_STM32_F303XC
26
27 # Cortex version
28 MCU  = cortex-m4
29
30 # ARM version, CORTEX-M0/M1 are 6, CORTEX-M3/M4/M7 are 7
31 ARMV = 7
32
33 USE_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
39 OPT_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.
44 OPT_DEFS += -DNO_SUSPEND_POWER_DOWN
45
46 # Options to pass to dfu-util when flashing
47 DFU_ARGS = -d 0483:df11 -a 0 -s 0x08000000:leave
48 DFU_SUFFIX_ARGS = -p DF11 -v 0483
49
50 # Build Options
51 #   comment out to disable the options.
52 #
53 BACKLIGHT_ENABLE = no              # Enable keyboard backlight functionality
54 BOOTMAGIC_ENABLE = no              # Virtual DIP switch configuration
55 MOUSEKEY_ENABLE = yes              # Mouse keys
56 EXTRAKEY_ENABLE = yes              # Audio control and System control
57 CONSOLE_ENABLE = no                # Console for debug
58 COMMAND_ENABLE = no                # Commands for debug and configuration
59 SLEEP_LED_ENABLE = no              # Breathing sleep LED during USB suspend
60 NKRO_ENABLE = yes                  # USB Nkey Rollover
61 AUDIO_ENABLE = no                  # Audio output on port C6
62 NO_USB_STARTUP_CHECK = no          # Disable initialization only when usb is plugged in
63 #SERIAL_LINK_ENABLE = yes
64
65 RAW_ENABLE = yes
66 DYNAMIC_KEYMAP_ENABLE = yes
67 CIE1931_CURVE = yes