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 \
6 drivers
/arm
/i2c_master.c
9 # the next two should match the directories in
10 # <chibios>/os/hal/ports/$(MCU_FAMILY)/$(MCU_SERIES)
12 MCU_SERIES
= STM32F3xx
14 # Linker script to use
15 # it should exist either in <chibios>/os/common/ports/ARMCMx/compilers/GCC/ld/
17 MCU_LDSCRIPT
= STM32F303xC
20 # - it should exist in <chibios>/os/common/startup/ARMCMx/compilers/GCC/mk/
21 MCU_STARTUP
= stm32f3xx
23 # Board: it should exist either in <chibios>/os/hal/boards/
24 # or <this_dir>/boards
25 BOARD
= GENERIC_STM32_F303XC
30 # ARM version, CORTEX-M0/M1 are 6, CORTEX-M3/M4/M7 are 7
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
41 # Do not put the microcontroller into power saving mode
42 # when we get USB suspend event. We want it to keep updating
44 OPT_DEFS
+= -DNO_SUSPEND_POWER_DOWN
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
51 # comment out to disable the options.
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
66 DYNAMIC_KEYMAP_ENABLE
= yes