summaryrefslogtreecommitdiff
path: root/nuttx/arch/z80/include
diff options
context:
space:
mode:
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)