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

if ARCH_CHIP_Z80

choice
	prompt "Toolchain Selection"
	default Z80_TOOLCHAIN_SDCC

config Z80_TOOLCHAIN_SDCC
	bool "Win32, SDCC for Linux, macOS, or Cygwin"

endchoice

config LINKER_HOME_AREA
	hex "Start of _HOME area"
	default 0x0000
	---help---
		Start of the linker HOME area.  Default: 0x0000

config LINKER_CODE_AREA
	hex "Start of _CODE area"
	default 0x0200
	---help---
		Start of the linker _CODE area.  Default: 0x0200

config LINKER_DATA_AREA
	hex "Start of _DATA area"
	default 0x8000
	---help---
		Start of the linker _DATA area.  Default: 0x8000

config LINKER_ROM_AT_0000
	bool "ROM at 0x0000"
	default n
	---help---
		Some architectures may have ROM located at address zero.  In this
		case, a special version of the "head" file must be used.

config ARCH_HAVEHEAD
	bool "Board-specific Head File"
	default n
	---help---
		Use a board-specific version of the "head" file in the
		boards/z80/z80/<board-name>/src directory

endif
