diff options
| author | Ryan <fauxpark@gmail.com> | 2020-03-19 12:33:17 +1100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-03-19 01:33:17 +0000 |
| commit | 3a0f11eb277ab719b312547981a0b0db958fbc87 (patch) | |
| tree | 50e954dfc5f4eb66141bce2e6d3c4f1ac9a78170 /keyboards/ergodox_stm32 | |
| parent | c2013f0b7c0289f582fd41f1276f174f7d9e3c17 (diff) | |
| download | qmk_firmware-3a0f11eb277ab719b312547981a0b0db958fbc87.tar.gz qmk_firmware-3a0f11eb277ab719b312547981a0b0db958fbc87.zip | |
Set MCU for some F103 boards (#8459)
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 | ||
