aboutsummaryrefslogtreecommitdiff
path: root/nuttx/arch/z16
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/arch/z16')
-rw-r--r--nuttx/arch/z16/Kconfig41
-rw-r--r--nuttx/arch/z16/src/common/Kconfig7
-rw-r--r--nuttx/arch/z16/src/z16f/Kconfig7
3 files changed, 55 insertions, 0 deletions
diff --git a/nuttx/arch/z16/Kconfig b/nuttx/arch/z16/Kconfig
index ae2bf3130..acf58bcf3 100644
--- a/nuttx/arch/z16/Kconfig
+++ b/nuttx/arch/z16/Kconfig
@@ -2,3 +2,44 @@
# For a description of the syntax of this configuration file,
# see misc/tools/kconfig-language.txt.
#
+
+if ARCH_Z16
+
+choice
+ prompt "ZNEO chip selection"
+ default ARCH_CHIP_Z16F2811
+
+config ARCH_CHIP_Z16F2810
+ bool "Z16F2810"
+ ---help---
+ ZiLOG Z16F2810
+
+config ARCH_CHIP_Z16F2811
+ bool "Z16F2811"
+ ---help---
+ ZiLOG Z16F2811
+
+config ARCH_CHIP_Z16F3211
+ bool "Z16F321"
+ ---help---
+ ZiLOG Z16F321
+
+config ARCH_CHIP_Z16F6411
+ bool "Z16F6411"
+ ---help---
+ ZiLOG Z16F6411
+
+endchoice
+
+config ARCH_CHIP_Z16F
+ bool
+ default y if ARCH_CHIP_Z16F2810 || ARCH_CHIP_Z16F2811 || ARCH_CHIP_Z16F3211 || ARCH_CHIP_Z16F6411
+
+config ARCH_CHIP
+ string
+ default "z16f" if ARCH_CHIP_Z16F
+
+source arch/z16/src/common/Kconfig
+source arch/z16/src/z16f/Kconfig
+
+endif
diff --git a/nuttx/arch/z16/src/common/Kconfig b/nuttx/arch/z16/src/common/Kconfig
new file mode 100644
index 000000000..0f94fb19a
--- /dev/null
+++ b/nuttx/arch/z16/src/common/Kconfig
@@ -0,0 +1,7 @@
+#
+# For a description of the syntax of this configuration file,
+# see misc/tools/kconfig-language.txt.
+#
+
+if ARCH_Z16
+endif
diff --git a/nuttx/arch/z16/src/z16f/Kconfig b/nuttx/arch/z16/src/z16f/Kconfig
new file mode 100644
index 000000000..f410f51c4
--- /dev/null
+++ b/nuttx/arch/z16/src/z16f/Kconfig
@@ -0,0 +1,7 @@
+#
+# For a description of the syntax of this configuration file,
+# see misc/tools/kconfig-language.txt.
+#
+
+if ARCH_CHIP_Z16F
+endif