/usr/share/sdcc/include/pic/pic14regs.h is in sdcc-libraries 2.9.0-5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | #ifndef __DEVICE_INCLUDE_PIC14REGS_H__
#define __DEVICE_INCLUDE_PIC14REGS_H__ 1
#if defined(SDCC_PROCESSOR)
#ifndef _CONCAT
#undef _CONCAT2
#define _CONCAT(a,b) _CONCAT2(a,b)
#define _CONCAT2(a,b) a ## b
#endif
/* May not paste proc ## .h as pic16f877.h is no valid
* preprocessor token. So this is a bit fragile... */
#define INC_PIC(proc) <_CONCAT(pic,proc).h>
#include INC_PIC(SDCC_PROCESSOR)
#else
/* SDCC_PROCESSOR undefined */
#warning SDCC_PROCESSOR undefined, no processor-specific header included.
#endif
#endif /* __DEVICE_INCLUDE_PIC14REGS_H__ */
|