aboutsummaryrefslogtreecommitdiff
path: root/nuttx/arch/z80/src/z180/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/arch/z80/src/z180/Kconfig')
-rw-r--r--nuttx/arch/z80/src/z180/Kconfig55
1 files changed, 55 insertions, 0 deletions
diff --git a/nuttx/arch/z80/src/z180/Kconfig b/nuttx/arch/z80/src/z180/Kconfig
new file mode 100644
index 000000000..4eafa8da8
--- /dev/null
+++ b/nuttx/arch/z80/src/z180/Kconfig
@@ -0,0 +1,55 @@
+#
+# For a description of the syntax of this configuration file,
+# see misc/tools/kconfig-language.txt.
+#
+
+if ARCH_CHIP_Z180
+
+choice
+ prompt "Toolchain Selection"
+ default Z180_TOOLCHAIN_SDCCW if HOST_WINDOWS
+ default Z180_TOOLCHAIN_SDCCL if !HOST_WINDOWS
+
+config Z180_TOOLCHAIN_SDCCL
+ bool "SDCC for Linux, MAC OSX, or Cygwin"
+ depends on !WINDOWS_NATIVE
+
+config Z180_TOOLCHAIN_SDCCW
+ bool "SDCC for Windows"
+ depends on HOST_WINDOWS
+
+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
+ configs/<board-name>/src directory
+
+endif