1 #ifndef __DEVICE_INCLUDE_PIC14REGS_H__
2 #define __DEVICE_INCLUDE_PIC14REGS_H__ 1
4 #if defined(__SDCC_PROCESSOR)
7 #define _CONCAT(a,b) _CONCAT2(a,b)
8 #define _CONCAT2(a,b) a ## b
11 /* May not paste proc ## .h as pic16f877.h is no valid
12 * preprocessor token. So this is a bit fragile... */
13 #define INC_PIC(proc) <_CONCAT(pic,proc).h>
15 #include INC_PIC(__SDCC_PROCESSOR)
17 /* __SDCC_PROCESSOR undefined */
18 #warning __SDCC_PROCESSOR undefined, no processor-specific header included.
21 #endif /* __DEVICE_INCLUDE_PIC14REGS_H__ */