1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

cpu/fe310: model Kconfig

This commit is contained in:
Leandro Lanzieri 2021-09-28 16:18:15 +02:00
parent 9557a9dfc4
commit fe8e043c36
No known key found for this signature in database
GPG Key ID: F4E9A721761C7593
3 changed files with 31 additions and 0 deletions

View File

@ -18,6 +18,10 @@ config CPU_FAM_FE310
select HAS_PERIPH_RTT_SET_COUNTER
select HAS_PERIPH_WDT
select MODULE_PERIPH_PLIC if TEST_KCONFIG
select MODULE_PERIPH_CORETIMER if MODULE_PERIPH_TIMER && HAS_PERIPH_CORETIMER
select MODULE_PERIPH_RTT if MODULE_PERIPH_RTC && HAS_PERIPH_RTT
config CPU_MODEL_FE310_G000
bool
select CPU_FAM_FE310
@ -46,5 +50,7 @@ config CPU_CORE
default "rv32imac" if CPU_CORE_RV32IMAC
rsource "Kconfig.clk"
rsource "periph/Kconfig"
rsource "vendor/Kconfig"
source "$(RIOTCPU)/riscv_common/Kconfig"

12
cpu/fe310/periph/Kconfig Normal file
View File

@ -0,0 +1,12 @@
# Copyright (c) 2021 HAW Hamburg
#
# This file is subject to the terms and conditions of the GNU Lesser
# General Public License v2.1. See the file LICENSE in the top level
# directory for more details.
#
config MODULE_PERIPH
bool
default y
help
fe310 common peripheral code.

13
cpu/fe310/vendor/Kconfig vendored Normal file
View File

@ -0,0 +1,13 @@
# Copyright (c) 2021 HAW Hamburg
#
# This file is subject to the terms and conditions of the GNU Lesser
# General Public License v2.1. See the file LICENSE in the top level
# directory for more details.
#
config MODULE_SIFIVE_DRIVERS_FE310
bool
default y
depends on CPU_FAM_FE310
help
sifive drivers for fe310.