forked from RIOT-OS/RIOT
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathKconfig
48 lines (40 loc) · 1.08 KB
/
Kconfig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# 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 if '$(RIOT_CI_BUILD)' != '1'
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