aboutsummaryrefslogtreecommitdiff
path: root/keyboards/ergodox_stm32/rules.mk
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/ergodox_stm32/rules.mk')
-rw-r--r--keyboards/ergodox_stm32/rules.mk32
1 files changed, 32 insertions, 0 deletions
diff --git a/keyboards/ergodox_stm32/rules.mk b/keyboards/ergodox_stm32/rules.mk
new file mode 100644
index 000000000..1bf1a742a
--- /dev/null
+++ b/keyboards/ergodox_stm32/rules.mk
@@ -0,0 +1,32 @@
1SRC += matrix.c
2QUANTUM_LIB_SRC += i2c_master.c
3
4CFLAGS += "-Wno-error=deprecated"
5
6MCU_FAMILY = STM32
7MCU_SERIES = STM32F1xx
8
9MCU_LDSCRIPT = stm32f103_bootloader
10
11MCU_STARTUP = stm32f1xx
12
13BOARD = ERGODOX_STM32_BOARD
14
15MCU = cortex-m3
16
17ARMV = 7
18
19OPT_DEFS =
20
21EXTRAFLAGS=-O0 -g
22
23BOOTMAGIC_ENABLE = no
24MOUSEKEY_ENABLE = no # Mouse keys
25EXTRAKEY_ENABLE = yes # Audio control and System control
26CONSOLE_ENABLE = no # Console for debug
27COMMAND_ENABLE = no # Commands for debug and configuration
28SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
29NKRO_ENABLE = yes # USB Nkey Rollover
30CUSTOM_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
32UNICODE_ENABLE = yes # Unicode