aboutsummaryrefslogtreecommitdiff
path: root/nuttx/arch/z16
diff options
context:
space:
mode:
authorpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2012-04-18 19:17:30 +0000
committerpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2012-04-18 19:17:30 +0000
commit42c322f824ee0d64e8d66f5cc9cfb4e984bee1e4 (patch)
tree0eb5285e2797c9d336403f918c27305ebc8bf43e /nuttx/arch/z16
parent530040b164b352fcee157f317b2ac7e1609d5956 (diff)
downloadpx4-firmware-42c322f824ee0d64e8d66f5cc9cfb4e984bee1e4.tar.gz
px4-firmware-42c322f824ee0d64e8d66f5cc9cfb4e984bee1e4.tar.bz2
px4-firmware-42c322f824ee0d64e8d66f5cc9cfb4e984bee1e4.zip
More Kconfig files
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4632 7fd9a85b-ad96-42d3-883c-3090e2eb8679
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