e4562fc538
Squashed commit of the following: Author: Gregory Nutt <gnutt@nuttx.org> Completes review of configs/gapuino. arch/risc-v/include/gap8/chip.h: Replace the moved chip.h header file with a dummy chip.h header file just to keep the system happy. Move include/gap8/chip.h to src/gap8/chip.h. Internal details should not be exposed outside of arch/ and configs/. Review all headers files in src/gap8 Review of arch/risc-v/include. Author: hhuysqt <hyq9606@126.com> corrected author and email Add app initialization, add signal support, cleanup irq context and configs fix some warnings gapuino initial port GAP8 initial port
66 lines
1.3 KiB
Plaintext
66 lines
1.3 KiB
Plaintext
#
|
|
# For a description of the syntax of this configuration file,
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
|
#
|
|
|
|
if ARCH_RISCV
|
|
comment "RISC-V Options"
|
|
|
|
choice
|
|
prompt "RISC-V chip selection"
|
|
default ARCH_CHIP_NR5
|
|
|
|
config ARCH_CHIP_NR5
|
|
bool "NEXT NanoRisc5"
|
|
select ARCH_RV32IM
|
|
---help---
|
|
NEXT RISC-V NR5Mxx architectures (RISC-V RV32IM cores).
|
|
|
|
config ARCH_CHIP_GAP8
|
|
bool "GreenwavesTechnologies GAP8"
|
|
select ARCH_RV32IM
|
|
---help---
|
|
GreenwavesTechnologies GAP8 features a 1+8-core RI5CY DSP-like
|
|
processor, which originally comes from the ETH PULP platform.
|
|
|
|
endchoice
|
|
|
|
config ARCH_RV32I
|
|
bool
|
|
default n
|
|
|
|
config ARCH_RV32IM
|
|
bool
|
|
default n
|
|
|
|
config ARCH_FAMILY
|
|
string
|
|
default "rv32im" if ARCH_RM32IM
|
|
|
|
config ARCH_CHIP
|
|
string
|
|
default "nr5m100" if ARCH_CHIP_NR5
|
|
default "gap8" if ARCH_CHIP_GAP8
|
|
|
|
config NR5_MPU
|
|
bool "MPU support"
|
|
default n
|
|
depends on ARCH_HAVE_MPU
|
|
select ARCH_USE_MPU
|
|
---help---
|
|
Build in support for the RISC-V Memory Protection Unit (MPU).
|
|
Check your chip specifications first; not all RISC-V architectures
|
|
support the MPU.
|
|
|
|
if ARCH_RV32IM
|
|
source arch/risc-v/src/rv32im/Kconfig
|
|
endif
|
|
if ARCH_CHIP_NR5
|
|
source arch/risc-v/src/nr5m100/Kconfig
|
|
endif
|
|
if ARCH_CHIP_GAP8
|
|
source arch/risc-v/src/gap8/Kconfig
|
|
endif
|
|
|
|
endif
|