diff options
author | Yaotian Feng <codetector@codetector.cn> | 2019-09-25 14:52:17 -0400 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2019-09-25 11:52:17 -0700 |
commit | c61d7d7cb001498e6edf09a9ebc6124c1fe6ed97 (patch) | |
tree | 74045b30c256bed3b533b786edd2af06ee20ced0 /keyboards/ergodox_stm32/rules.mk | |
parent | eac4ce972d951855ee168705b46bc9421a4d4deb (diff) |
[Keyboard] Added support for ErgoDox with STM32 Microcontroller (#5398)
* Began Work On STM32 Ergodox
Changes to be committed:
new file: keyboards/ergodox_stm32/config.h
new file: keyboards/ergodox_stm32/rules.mk
* test
* Now it compile. Not linking thou
* Screw this Linker. It links now!
* Blinkly Keyboard
* bootloader test code
* Working on matrix / i2c stuff
* Progress (LED Blink)
* Progress on MCP_23017 Status Flag
* [WIP]
* update
* Works! Remeber to change back the bootloader address when the new bootloadrer is ready.
* Time to go debug the i2c
* Finally, it now works with PCB Rev 1.0.2
* updated for rev.2 pcb
* minor compilation fix
* Why when debugger is enabled then everything works.
* Remeber to call init functions.
* Update arm i2c driver to support STM32F103 series device.
* fix include once header. Replaced with #pragma once.
* complication test
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 0000000000..1bf1a742ab --- /dev/null +++ b/keyboards/ergodox_stm32/rules.mk @@ -0,0 +1,32 @@ +SRC += matrix.c +QUANTUM_LIB_SRC += i2c_master.c + +CFLAGS += "-Wno-error=deprecated" + +MCU_FAMILY = STM32 +MCU_SERIES = STM32F1xx + +MCU_LDSCRIPT = stm32f103_bootloader + +MCU_STARTUP = stm32f1xx + +BOARD = ERGODOX_STM32_BOARD + +MCU = cortex-m3 + +ARMV = 7 + +OPT_DEFS = + +EXTRAFLAGS=-O0 -g + +BOOTMAGIC_ENABLE = no +MOUSEKEY_ENABLE = no # Mouse keys +EXTRAKEY_ENABLE = yes # Audio control and System control +CONSOLE_ENABLE = no # Console for debug +COMMAND_ENABLE = no # Commands for debug and configuration +SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend +NKRO_ENABLE = yes # USB Nkey Rollover +CUSTOM_MATRIX = yes # Custom matrix file +NKRO_ENABLE = yes # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work +UNICODE_ENABLE = yes # Unicode |