Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.
The pic14 port, automatically creates the -DpicXXX definition. Now I write the libio directory and this definition needed to distinguish the PIC types. The adc is almost complete. Then comes the usart and i2c. As my time permits.
Creates the -DpicXXX definition.
Sdcc already generates -D__SDCC_PROCESSOR="XXX", for example -D__SDCC_PROCESSOR="16f842". Isn't this enough to distinguish the PIC type?
... and if it is not, please use -D__picXXX. Philipp only recently worked towards replacing all compiler-generated defines to the standard-compliant form with two leading underscores. I am not sure, but it might even need to be -D__PICXXX (uppercase?).
However, if other tools such as mplab to emit -DpicXXX I would like to know about it and withdraw my plea.
Therefore must that the pic16fam.h to function. This pic18fam.h is modeled on. I upload to the pic16fam.h.
* This file is has been generated using ./pic16fam-h-gen.pl .
What about the pic16fam-h-gen.pl script? Do you intend to submit it?
Anyway the -D__picXXX also good.
Originally I wanted to send along with libio. Here it is.