nuttx/arch/renesas/Kconfig
liuhaitao d5c6bfe6cf arch: Add custom arch chip build support
Just like custom board build support, add custom arch chip build
support.

Change-Id: I71c87e6b2195501a1b1d728b71d7cbe344951057
Signed-off-by: liuhaitao <liuhaitao@xiaomi.com>
2020-10-20 14:48:16 +08:00

99 lines
1.9 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_RENESAS
choice
prompt "Renesas chip selection"
default ARCH_CHIP_SH7032
config ARCH_CHIP_SH7032
bool "SH7032"
select ARCH_SH1
---help---
Hitachi/Renesas SH7032 (SH1)
config ARCH_CHIP_M30262F8
bool "M30262F8"
select ARCH_M16C
select MM_SMALL
---help---
Renesas M30262F8 (M16C)
config ARCH_CHIP_R5F565NEDDFC
bool "R5F565NEDDFC"
select ARCH_RX65N_RSK1MB
select ARCH_RX65N
---help---
Renesas RX65N on RSKRX65N-1MB
config ARCH_CHIP_R5F565NEHDFC
bool "R5F565NEHDFC"
select ARCH_RX65N_RSK2MB
select ARCH_HAVE_I2CRESET
select ARCH_HAVE_SPI_BITORDER
---help---
Renesas RX65N on RSKRX65N-2MB
config ARCH_CHIP_R5F565NEHDFP
bool "R5F565NEHDFP"
select ARCH_RX65N_GRROSE
select ARCH_HAVE_I2CRESET
select ARCH_HAVE_SPI_BITORDER
---help---
Renesas RX65N on GR-ROSE
config ARCH_CHIP_RENESAS_CUSTOM
bool "Custom Renesas chip"
select ARCH_CHIP_CUSTOM
---help---
Select this option if there is no directory for the chip under arch/renesas/src/.
endchoice
config ARCH_SH1
bool
default n
config ARCH_RX65N
bool
default n
select CYGWIN_WINTOOL if WINDOWS_CYGWIN
config ARCH_RX65N_RSK1MB
bool
default n
select CYGWIN_WINTOOL if WINDOWS_CYGWIN
config ARCH_RX65N_RSK2MB
bool
default n
select CYGWIN_WINTOOL if WINDOWS_CYGWIN
config ARCH_RX65N_GRROSE
bool
default n
select CYGWIN_WINTOOL if WINDOWS_CYGWIN
config ARCH_M16C
bool
default n
config ARCH_CHIP
string
default "sh1" if ARCH_SH1
default "m16c" if ARCH_M16C
default "rx65n" if ARCH_RX65N
default "rx65n" if ARCH_RX65N_RSK1MB
default "rx65n" if ARCH_RX65N_RSK2MB
default "rx65n" if ARCH_RX65N_GRROSE
source arch/renesas/src/common/Kconfig
source arch/renesas/src/m16c/Kconfig
source arch/renesas/src/sh1/Kconfig
source arch/renesas/src/rx65n/Kconfig
endif # ARCH_RENESAS