Resolve header file incompatibility

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@680 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo
2008-02-14 00:31:37 +00:00
parent a7e1b7b8eb
commit a6623735c0
2 changed files with 198 additions and 177 deletions
+21 -2
View File
@@ -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)
File diff suppressed because it is too large Load Diff