#
# For a description of the syntax of this configuration file,
# see the file kconfig-language.txt in the NuttX tools repository.
#

if ARCH_CHIP_Z16F
comment "Z16F Configuration Options"

menu "Z16F Peripheral Selection"

config Z16F_ESPI
	bool "ESPI"
	default n
	select SPI

# UART0/1 always enabled

config Z16F_UART0
	bool "UART0"
	default y
	select UART0_SERIALDRIVER

config Z16F_UART1
	bool "UART1"
	default y
	select UART1_SERIALDRIVER

endmenu # Z16F Peripheral Selection

menu "Z16F ESPI Configuration"
	depends on Z16F_ESPI

config Z16F_ESPI_REGDEBUG
	bool "ESPI register-level debug"
	default n
	depends on DEBUG_FEATURES

endmenu # Z16F ESPI Configuration

# The ZiLOG ZDS-II Windows toolchain is the only toolchain available for
# the ZNeo.
#

choice
	prompt "ZDS-II Toolchain version"
	default Z16F_ZDSII_V522

config Z16F_ZDSII_V501
	bool "ZDS-II 5.0.1"

config Z16F_ZDSII_V521
	bool "ZDS-II 5.2.1"

config Z16F_ZDSII_V522
	bool "ZDS-II 5.2.2"

endchoice # ZDS-II Toolchain version

endif # ARCH_CHIP_Z16F
