summaryrefslogtreecommitdiff
path: root/nuttx/arch/z80
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-04-18 19:17:30 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-04-18 19:17:30 +0000
commit46d50409982d5d3aa25a98642251ffa82fcd3306 (patch)
tree0eb5285e2797c9d336403f918c27305ebc8bf43e /nuttx/arch/z80
parente39cf9e26bd07bcb73d475fa92b5f1d3d1a13cf0 (diff)
downloadpx4-nuttx-46d50409982d5d3aa25a98642251ffa82fcd3306.tar.gz
px4-nuttx-46d50409982d5d3aa25a98642251ffa82fcd3306.tar.bz2
px4-nuttx-46d50409982d5d3aa25a98642251ffa82fcd3306.zip
More Kconfig files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4632 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/z80')
-rw-r--r--nuttx/arch/z80/Kconfig68
-rw-r--r--nuttx/arch/z80/src/common/Kconfig7
-rw-r--r--nuttx/arch/z80/src/ez80/Kconfig7
-rw-r--r--nuttx/arch/z80/src/z8/Kconfig7
-rw-r--r--nuttx/arch/z80/src/z80/Kconfig7
5 files changed, 96 insertions, 0 deletions
diff --git a/nuttx/arch/z80/Kconfig b/nuttx/arch/z80/Kconfig
index ae2bf3130..160b92d91 100644
--- a/nuttx/arch/z80/Kconfig
+++ b/nuttx/arch/z80/Kconfig
@@ -2,3 +2,71 @@
# For a description of the syntax of this configuration file,
# see misc/tools/kconfig-language.txt.
#
+
+if ARCH_Z80
+choice
+ prompt "ZiLOG 8-bit MCU"
+ default ARCH_CHIP_Z80
+
+config ARCH_CHIP_Z80
+ bool "Classic z80"
+ ---help---
+ Classic ZiLOG z80 chip
+
+config ARCH_CHIP_Z8F640X
+ bool "Z8F640X"
+ ---help---
+ ZiLOG Z8F640X (z8 Encore)
+
+config ARCH_CHIP_Z8F6403
+ bool "Z8F6403"
+ ---help---
+ ZiLOG Z8F6403 (z8 Encore)
+
+config ARCH_CHIP_Z8F642X
+ bool "Z8F642X"
+ ---help---
+ ZiLOG Z8F642X (z8 Encore)
+
+config ARCH_CHIP_Z8F6423
+ bool "Z8F6423"
+ ---help---
+ ZiLOG Z8F6423 (z8 Encore)
+
+config ARCH_CHIP_EZ80F91
+ bool "EZ80F91"
+ ---help---
+ ZiLOG EZ80F91 (ez80 Acclaim)
+
+config ARCH_CHIP_EZ80F92
+ bool "EZ80F92"
+ ---help---
+ ZiLOG EZ80F92 (ez80 Acclaim)
+
+config ARCH_CHIP_EZ80F93
+ bool "EZ80F93"
+ ---help---
+ ZiLOG EZ80F93 (ez80 Acclaim)
+
+endchoice
+
+config ARCH_CHIP_Z8
+ bool
+ default y if ARCH_CHIP_Z8F640X || ARCH_CHIP_Z8F6403 || ARCH_CHIP_Z8F642X || ARCH_CHIP_Z8F6423
+
+config ARCH_CHIP_EZ80
+ bool
+ default y if ARCH_CHIP_EZ80F91 || ARCH_CHIP_EZ80F92 || ARCH_CHIP_EZ80F93
+
+config ARCH_CHIP
+ string
+ default "z80" if ARCH_CHIP_Z80
+ default "z8" if ARCH_CHIP_Z8
+ default "ez80" if ARCH_CHIP_EZ80
+
+source "arch/z80/src/common/Kconfig"
+source "arch/z80/src/z80/Kconfig"
+source "arch/z80/src/z8/Kconfig"
+source "arch/z80/src/ez80/Kconfig"
+
+endif
diff --git a/nuttx/arch/z80/src/common/Kconfig b/nuttx/arch/z80/src/common/Kconfig
new file mode 100644
index 000000000..00993bfcc
--- /dev/null
+++ b/nuttx/arch/z80/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_Z80
+endif
diff --git a/nuttx/arch/z80/src/ez80/Kconfig b/nuttx/arch/z80/src/ez80/Kconfig
new file mode 100644
index 000000000..018ecb511
--- /dev/null
+++ b/nuttx/arch/z80/src/ez80/Kconfig
@@ -0,0 +1,7 @@
+#
+# For a description of the syntax of this configuration file,
+# see misc/tools/kconfig-language.txt.
+#
+
+if ARCH_CHIP_EZ80
+endif
diff --git a/nuttx/arch/z80/src/z8/Kconfig b/nuttx/arch/z80/src/z8/Kconfig
new file mode 100644
index 000000000..1f0289f7c
--- /dev/null
+++ b/nuttx/arch/z80/src/z8/Kconfig
@@ -0,0 +1,7 @@
+#
+# For a description of the syntax of this configuration file,
+# see misc/tools/kconfig-language.txt.
+#
+
+if ARCH_CHIP_Z8
+endif
diff --git a/nuttx/arch/z80/src/z80/Kconfig b/nuttx/arch/z80/src/z80/Kconfig
new file mode 100644
index 000000000..a91973167
--- /dev/null
+++ b/nuttx/arch/z80/src/z80/Kconfig
@@ -0,0 +1,7 @@
+#
+# For a description of the syntax of this configuration file,
+# see misc/tools/kconfig-language.txt.
+#
+
+if ARCH_CHIP_Z80
+endif