diff options
author | Stefan Kerkmann <karlk90@pm.me> | 2021-10-18 07:23:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-18 16:23:20 +1100 |
commit | e50867d52d9c255570630a23514842749b45e4c1 (patch) | |
tree | e448e47262668e21084fb7439a38b0322136bb89 /common_features.mk | |
parent | 7e3ff206b8600265ea086040b397f1a600c4a7f3 (diff) | |
download | qmk_firmware-e50867d52d9c255570630a23514842749b45e4c1.tar.gz qmk_firmware-e50867d52d9c255570630a23514842749b45e4c1.zip |
[Core] Add support for RISC-V builds and GD32VF103 MCU (#12508)
* Add support for RISC-V builds and GD32VF103 MCU
* Add toolchain selection in chibios.mk based on the mcu selected in
mcu_selection.mk
* Reorder and added comments to chibios.mk to have a streamlined makefile
* Add GD32VF103 mcu to possible targets for QMK.
* Add STM32 compatibility for GD32VF103 MCU, this is hacky but more efficent
then rewriting every driver.
* Add GigaDevice DFU bootloader as flash target, please note that
dfu-util of at least version 0.10 is needed.
* Add analog driver compatibility
* Add apa102 bitbang driver compatibility
* Add ws2812 bitbang driver compatibility
* Add eeprom in flash emulation compatibility
* Allow faster re-builds with ccache
* Add SiPeed Longan Nano to platform files
* Add SiPeed Longan Nano Onekeys
* Make quine compatible with other bootloaders
* Support builds with picolibc
* Add risc-v toolchain to arch and debian/ubuntu scripts
Diffstat (limited to 'common_features.mk')
-rw-r--r-- | common_features.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common_features.mk b/common_features.mk index aff91641e..7dd63be5b 100644 --- a/common_features.mk +++ b/common_features.mk | |||
@@ -142,7 +142,7 @@ else | |||
142 | ifeq ($(PLATFORM),AVR) | 142 | ifeq ($(PLATFORM),AVR) |
143 | # Automatically provided by avr-libc, nothing required | 143 | # Automatically provided by avr-libc, nothing required |
144 | else ifeq ($(PLATFORM),CHIBIOS) | 144 | else ifeq ($(PLATFORM),CHIBIOS) |
145 | ifneq ($(filter STM32F3xx_% STM32F1xx_% %_STM32F401xC %_STM32F401xE %_STM32F405xG %_STM32F411xE %_STM32F072xB %_STM32F042x6, $(MCU_SERIES)_$(MCU_LDSCRIPT)),) | 145 | ifneq ($(filter STM32F3xx_% STM32F1xx_% %_STM32F401xC %_STM32F401xE %_STM32F405xG %_STM32F411xE %_STM32F072xB %_STM32F042x6 %_GD32VF103xB %_GD32VF103x8, $(MCU_SERIES)_$(MCU_LDSCRIPT)),) |
146 | OPT_DEFS += -DEEPROM_DRIVER | 146 | OPT_DEFS += -DEEPROM_DRIVER |
147 | COMMON_VPATH += $(DRIVER_PATH)/eeprom | 147 | COMMON_VPATH += $(DRIVER_PATH)/eeprom |
148 | SRC += eeprom_driver.c | 148 | SRC += eeprom_driver.c |