aboutsummaryrefslogtreecommitdiff
path: root/keyboards/ergodox_stm32
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/ergodox_stm32')
-rw-r--r--keyboards/ergodox_stm32/rules.mk25
1 files changed, 7 insertions, 18 deletions
diff --git a/keyboards/ergodox_stm32/rules.mk b/keyboards/ergodox_stm32/rules.mk
index ab7b853f5..cd1f2d97c 100644
--- a/keyboards/ergodox_stm32/rules.mk
+++ b/keyboards/ergodox_stm32/rules.mk
@@ -1,24 +1,11 @@
1SRC += matrix.c 1# MCU name
2QUANTUM_LIB_SRC += i2c_master.c 2MCU = STM32F103
3
4CFLAGS += "-Wno-error=deprecated"
5
6MCU_FAMILY = STM32
7MCU_SERIES = STM32F1xx
8 3
9MCU_LDSCRIPT = stm32f103_bootloader 4MCU_LDSCRIPT = stm32f103_bootloader
10
11MCU_STARTUP = stm32f1xx
12
13BOARD = ERGODOX_STM32_BOARD 5BOARD = ERGODOX_STM32_BOARD
14 6
15MCU = cortex-m3 7CFLAGS += "-Wno-error=deprecated"
16 8EXTRAFLAGS = -O0 -g
17ARMV = 7
18
19OPT_DEFS =
20
21EXTRAFLAGS=-O0 -g
22 9
23BOOTMAGIC_ENABLE = no 10BOOTMAGIC_ENABLE = no
24MOUSEKEY_ENABLE = no # Mouse keys 11MOUSEKEY_ENABLE = no # Mouse keys
@@ -31,6 +18,8 @@ CUSTOM_MATRIX = yes # Custom matrix file
31NKRO_ENABLE = yes # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work 18NKRO_ENABLE = yes # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
32UNICODE_ENABLE = yes # Unicode 19UNICODE_ENABLE = yes # Unicode
33 20
34
35# Enter lower-power sleep mode when on the ChibiOS idle thread 21# Enter lower-power sleep mode when on the ChibiOS idle thread
36OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE 22OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE
23
24SRC += matrix.c
25QUANTUM_LIB_SRC += i2c_master.c