aboutsummaryrefslogtreecommitdiff
path: root/keyboards/sowbug/ansi_tkl/rules.mk
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/sowbug/ansi_tkl/rules.mk')
-rw-r--r--keyboards/sowbug/ansi_tkl/rules.mk39
1 files changed, 16 insertions, 23 deletions
diff --git a/keyboards/sowbug/ansi_tkl/rules.mk b/keyboards/sowbug/ansi_tkl/rules.mk
index 043949124..7dc7c6f6d 100644
--- a/keyboards/sowbug/ansi_tkl/rules.mk
+++ b/keyboards/sowbug/ansi_tkl/rules.mk
@@ -1,34 +1,27 @@
1# MCU name 1# MCU name
2MCU = STM32F103 2MCU = STM32F103
3 3
4# GENERIC STM32F103C8T6 board - stm32duino bootloader 4# Bootloader selection
5OPT_DEFS = -DCORTEX_VTOR_INIT=0x2000 5BOOTLOADER = stm32duino
6MCU_LDSCRIPT = STM32F103x8_stm32duino_bootloader
7BOARD = STM32_F103_STM32DUINO
8
9DFU_ARGS = -d 1eaf:0003 -a2 -R
10DFU_SUFFIX_ARGS = -v 1eaf -p 0003
11 6
12# Build Options 7# Build Options
13# comment out to disable the options. 8# change yes to no to disable
14# 9#
15BOOTMAGIC_ENABLE = full # Virtual DIP switch configuration 10BOOTMAGIC_ENABLE = full # Virtual DIP switch configuration
16MOUSEKEY_ENABLE = yes # Mouse keys 11MOUSEKEY_ENABLE = yes # Mouse keys
17EXTRAKEY_ENABLE = yes # Audio control and System control 12EXTRAKEY_ENABLE = yes # Audio control and System control
18CONSOLE_ENABLE = no 13CONSOLE_ENABLE = no # Console for debug
19COMMAND_ENABLE = no # Commands for debug and configuration 14COMMAND_ENABLE = no # Commands for debug and configuration
20SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend 15# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
21NKRO_ENABLE = yes # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work 16SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
22AUDIO_ENABLE = no 17# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
18NKRO_ENABLE = yes # USB Nkey Rollover
19BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
20RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
21BLUETOOTH_ENABLE = no # Enable Bluetooth
22AUDIO_ENABLE = no # Audio output
23RGB_MATRIX_ENABLE = yes 23RGB_MATRIX_ENABLE = yes
24RGB_MATRIX_DRIVER = WS2812 24RGB_MATRIX_DRIVER = WS2812
25 25
26# Want backlighting and RGB Matrix patterns? See the note in the readme,
27# apply the patches, and then uncomment the lines below as well as the one in
28# config.h.
29#
30# BACKLIGHT_ENABLE = yes
31# BACKLIGHT_DRIVER = rgb_matrix
32
33# Enter lower-power sleep mode when on the ChibiOS idle thread 26# Enter lower-power sleep mode when on the ChibiOS idle thread
34OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE 27OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE