1
0
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:
Karl Fessel 2021-09-22 13:02:19 +02:00
parent ea8e632eda
commit 645cb04c4d
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,5 @@
CPU_CORE := rv32imac
FEATURES_PROVIDED += periph_clic
FEATURES_PROVIDED += periph_gpio
FEATURES_PROVIDED += periph_timer

View File

@ -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