From: Vangelis Rokas <vrokas@ot...> - 2004-01-05 19:57:08
The latest developments in the pic16 port are finally committed.
Anyone who wishes to use it, so take care, that there is no need
for the special include file produced by the inc2h.pl script. Starting
from now, SFR's will be declared normally as all other variables with
the sfr type, i.e.:
sfr at 0xf80 PORTA;
For the time being, you'll have to include a series of such lines
in your sources. This will happen until I have build a preliminary
library set for these registers. Then you will have to include the
appropriate header file, and link it with the appropriate library.
configuration words can be set with:
data char at 0x300000 conf0 = 0xff;
data unsigned int at 0x300000 conf0 = 0xffff;
Things may get a bit more confusing, but they are more flexible.
I'll be glad to help with any problems that may occur.
Please test the port, and tell me you opinions.