summaryrefslogtreecommitdiff
path: root/nuttx/arch/z80/include
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-02-14 00:31:37 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-02-14 00:31:37 +0000
commit3898cf0678914b92d12493936d173dc6bd041abd (patch)
tree087e46ef8bb8e536549991dd1e6086be6409da30 /nuttx/arch/z80/include
parentd2f1d5204977f4694042572b3fcfce17c1cfcc95 (diff)
downloadpx4-nuttx-3898cf0678914b92d12493936d173dc6bd041abd.tar.gz
px4-nuttx-3898cf0678914b92d12493936d173dc6bd041abd.tar.bz2
px4-nuttx-3898cf0678914b92d12493936d173dc6bd041abd.zip
Resolve header file incompatibility
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@680 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/z80/include')
-rw-r--r--nuttx/arch/z80/include/z8/irq.h23
1 files changed, 21 insertions, 2 deletions
diff --git a/nuttx/arch/z80/include/z8/irq.h b/nuttx/arch/z80/include/z8/irq.h
index 2e72f987b..92b232295 100644
--- a/nuttx/arch/z80/include/z8/irq.h
+++ b/nuttx/arch/z80/include/z8/irq.h
@@ -45,12 +45,31 @@
* Included Files
****************************************************************************/
-#include <ez8.h>
-
/****************************************************************************
* Definitions
****************************************************************************/
+/* This is similar configuration information that is contained in ez8.h.
+ * However, this file must be include-able by assembly language files and,
+ * hence, cannot include ez8.h. The logic is fragmentary at present.
+ */
+
+#if defined(_Z8ENCORE_F642X) || defined(_Z8ENCORE_64K_SERIES)
+# define ENCORE_VECTORS
+#endif
+
+#if defined(_Z8ENCORE_F640X) || defined(_Z8ENCORE_640_FAMILY)
+# define ENCORE_VECTORS
+#endif
+
+#if defined(_Z8ENCORE_F08X) || defined(_Z8ENCORE_8K_SERIES)
+# define ENCORE_VECTORS
+#endif
+
+#if defined(_Z8ENCORE_4K_SERIES)
+# define ENCORE_VECTORS
+#endif
+
/* ez8 Interrupt Numbers */
#if defined(ENCORE_VECTORS)