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

49 lines
1.1 KiB
Plaintext

# Copyright (c) 2020 Inria
#
# 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 CPU_ARCH_RISCV
bool
select HAS_ARCH_RISCV
select HAS_CPP
select HAS_LIBSTDCPP
select HAS_NEWLIB
select HAS_PERIPH_CORETIMER
select HAS_PICOLIBC
select HAS_PUF_SRAM
select HAS_RUST_TARGET
select HAS_SSP
select MODULE_MALLOC_THREAD_SAFE if TEST_KCONFIG
imply MODULE_NEWLIB_NANO
config CPU_CORE_RV32IMAC
bool
select CPU_ARCH_RISCV
select HAS_ARCH_32BIT
## Definition of specific features
config HAS_ARCH_RISCV
bool
help
Indicates that the current CPU has a RISC-V.
config CPU_ARCH
default "rv32" if CPU_CORE_RV32IMAC
config MODULE_RISCV_COMMON
bool
default y
depends on TEST_KCONFIG && CPU_ARCH_RISCV
select MODULE_MALLOC_THREAD_SAFE
help
Common code for RISC-V architecture.
rsource "periph/Kconfig"
choice LIBC_IMPLEMENTATION
default MODULE_NEWLIB
endchoice