diff options
Diffstat (limited to 'keyboards/ergodox_stm32')
| -rw-r--r-- | keyboards/ergodox_stm32/rules.mk | 25 |
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 @@ | |||
| 1 | SRC += matrix.c | 1 | # MCU name |
| 2 | QUANTUM_LIB_SRC += i2c_master.c | 2 | MCU = STM32F103 |
| 3 | |||
| 4 | CFLAGS += "-Wno-error=deprecated" | ||
| 5 | |||
| 6 | MCU_FAMILY = STM32 | ||
| 7 | MCU_SERIES = STM32F1xx | ||
| 8 | 3 | ||
| 9 | MCU_LDSCRIPT = stm32f103_bootloader | 4 | MCU_LDSCRIPT = stm32f103_bootloader |
| 10 | |||
| 11 | MCU_STARTUP = stm32f1xx | ||
| 12 | |||
| 13 | BOARD = ERGODOX_STM32_BOARD | 5 | BOARD = ERGODOX_STM32_BOARD |
| 14 | 6 | ||
| 15 | MCU = cortex-m3 | 7 | CFLAGS += "-Wno-error=deprecated" |
| 16 | 8 | EXTRAFLAGS = -O0 -g | |
| 17 | ARMV = 7 | ||
| 18 | |||
| 19 | OPT_DEFS = | ||
| 20 | |||
| 21 | EXTRAFLAGS=-O0 -g | ||
| 22 | 9 | ||
| 23 | BOOTMAGIC_ENABLE = no | 10 | BOOTMAGIC_ENABLE = no |
| 24 | MOUSEKEY_ENABLE = no # Mouse keys | 11 | MOUSEKEY_ENABLE = no # Mouse keys |
| @@ -31,6 +18,8 @@ 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 | 18 | 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 | 19 | UNICODE_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 |
| 36 | OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE | 22 | OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE |
| 23 | |||
| 24 | SRC += matrix.c | ||
| 25 | QUANTUM_LIB_SRC += i2c_master.c | ||
