mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
cpu/riscv,gd32v: add CPU_ARCH, CPU_CORE information
adds CPU_ARCH to riscv_common preparing to handle it like cortex-m does adds CPU_CORE to gd32v
This commit is contained in:
parent
ea8e632eda
commit
645cb04c4d
@ -1,3 +1,5 @@
|
||||
CPU_CORE := rv32imac
|
||||
|
||||
FEATURES_PROVIDED += periph_clic
|
||||
FEATURES_PROVIDED += periph_gpio
|
||||
FEATURES_PROVIDED += periph_timer
|
||||
|
@ -1,3 +1,7 @@
|
||||
ifeq ($(findstring rv32,$(CPU_CORE)),rv32)
|
||||
CPU_ARCH := rv32
|
||||
endif
|
||||
|
||||
FEATURES_PROVIDED += arch_32bit
|
||||
FEATURES_PROVIDED += arch_riscv
|
||||
FEATURES_PROVIDED += cpp
|
||||
|
Loading…
Reference in New Issue
Block a user