diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-02-14 00:31:37 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-02-14 00:31:37 +0000 |
commit | 3898cf0678914b92d12493936d173dc6bd041abd (patch) | |
tree | 087e46ef8bb8e536549991dd1e6086be6409da30 /nuttx/arch/z80/include/z8/irq.h | |
parent | d2f1d5204977f4694042572b3fcfce17c1cfcc95 (diff) | |
download | px4-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/z8/irq.h')
-rw-r--r-- | nuttx/arch/z80/include/z8/irq.h | 23 |
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) |