mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-17 05:32:45 +01:00
cpu/riscv,gd32: match Kconfig to Makefile changes
This commit is contained in:
parent
645cb04c4d
commit
fe03c4c059
@ -7,7 +7,7 @@
|
||||
|
||||
config CPU_FAM_GD32V
|
||||
bool
|
||||
select CPU_CORE_RV32I
|
||||
select CPU_CORE_RV32IMAC
|
||||
select HAS_CPU_GD32V
|
||||
select HAS_PERIPH_CLIC
|
||||
select HAS_PERIPH_GPIO
|
||||
@ -37,4 +37,7 @@ config CPU_MODEL
|
||||
config CPU
|
||||
default "gd32v" if CPU_FAM_GD32V
|
||||
|
||||
config CPU_CORE
|
||||
default "rv32imac" if CPU_CORE_RV32IMAC
|
||||
|
||||
source "$(RIOTCPU)/riscv_common/Kconfig"
|
||||
|
@ -15,7 +15,7 @@ config CPU_ARCH_RISCV
|
||||
select MODULE_MALLOC_THREAD_SAFE if TEST_KCONFIG
|
||||
select HAS_SSP
|
||||
|
||||
config CPU_CORE_RV32I
|
||||
config CPU_CORE_RV32IMAC
|
||||
bool
|
||||
select CPU_ARCH_RISCV
|
||||
select HAS_ARCH_32BIT
|
||||
@ -27,7 +27,4 @@ config HAS_ARCH_RISCV
|
||||
Indicates that the current CPU has a RISC-V.
|
||||
|
||||
config CPU_ARCH
|
||||
default "risc-v" if CPU_ARCH_RISCV
|
||||
|
||||
config CPU_CORE
|
||||
default "rv32i" if CPU_CORE_RV32I
|
||||
default "rv32" if CPU_CORE_RV32IMAC
|
||||
|
Loading…
Reference in New Issue
Block a user