Skip to content

Commit

Permalink
cpu/fe310: add CPU_CORE information
Browse files Browse the repository at this point in the history
  • Loading branch information
kfessel committed Sep 22, 2021
1 parent fe03c4c commit baf07e8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cpu/fe310/Kconfig
Expand Up @@ -7,7 +7,7 @@

config CPU_FAM_FE310
bool
select CPU_CORE_RV32I
select CPU_CORE_RV32IMAC
select HAS_CPU_FE310
select HAS_PERIPH_CPUID
select HAS_PERIPH_GPIO
Expand Down Expand Up @@ -42,6 +42,9 @@ config CPU_MODEL
config CPU
default "fe310" if CPU_FAM_FE310

config CPU_CORE
default "rv32imac" if CPU_CORE_RV32IMAC

rsource "Kconfig.clk"

source "$(RIOTCPU)/riscv_common/Kconfig"
2 changes: 2 additions & 0 deletions cpu/fe310/Makefile.features
@@ -1,3 +1,5 @@
CPU_CORE := rv32imac

FEATURES_PROVIDED += periph_cpuid
FEATURES_PROVIDED += periph_gpio periph_gpio_irq
FEATURES_PROVIDED += periph_pm
Expand Down

0 comments on commit baf07e8

Please sign in to comment.