#
# 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_RENESAS_RX
	bool
	default n
	select ARCH_HAVE_SETJMP
	select CYGWIN_WINTOOL if WINDOWS_CYGWIN

config ARCH_RX65N
	bool
	default n
	select ARCH_RENESAS_RX

config ARCH_RX65N_RSK1MB
	bool
	default n
	select ARCH_RENESAS_RX

config ARCH_RX65N_RSK2MB
	bool
	default n
	select ARCH_RENESAS_RX

config ARCH_RX65N_GRROSE
	bool
	default n
	select ARCH_RENESAS_RX

config ARCH_M16C
	bool
	default n

config ARCH_CHIP
	string
	default "sh1"		if ARCH_SH1
	default "m16c"		if ARCH_M16C
	default "rx65n"		if ARCH_RENESAS_RX

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