diff options
Diffstat (limited to 'keyboards/ergodox_stm32/rules.mk')
| -rw-r--r-- | keyboards/ergodox_stm32/rules.mk | 32 |
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 @@ | |||
| 1 | SRC += matrix.c | ||
| 2 | QUANTUM_LIB_SRC += i2c_master.c | ||
| 3 | |||
| 4 | CFLAGS += "-Wno-error=deprecated" | ||
| 5 | |||
| 6 | MCU_FAMILY = STM32 | ||
| 7 | MCU_SERIES = STM32F1xx | ||
| 8 | |||
| 9 | MCU_LDSCRIPT = stm32f103_bootloader | ||
| 10 | |||
| 11 | MCU_STARTUP = stm32f1xx | ||
| 12 | |||
| 13 | BOARD = ERGODOX_STM32_BOARD | ||
| 14 | |||
| 15 | MCU = cortex-m3 | ||
| 16 | |||
| 17 | ARMV = 7 | ||
| 18 | |||
| 19 | OPT_DEFS = | ||
| 20 | |||
| 21 | EXTRAFLAGS=-O0 -g | ||
| 22 | |||
| 23 | BOOTMAGIC_ENABLE = no | ||
| 24 | MOUSEKEY_ENABLE = no # Mouse keys | ||
| 25 | EXTRAKEY_ENABLE = yes # Audio control and System control | ||
| 26 | CONSOLE_ENABLE = no # Console for debug | ||
| 27 | COMMAND_ENABLE = no # Commands for debug and configuration | ||
| 28 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | ||
| 29 | NKRO_ENABLE = yes # USB Nkey Rollover | ||
| 30 | CUSTOM_MATRIX = yes # Custom matrix file | ||
| 31 | NKRO_ENABLE = yes # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 32 | UNICODE_ENABLE = yes # Unicode | ||
