Hi Soliton,
> Thanks for your help. I have been very busy with other things for last
> couple days, therefore I could not test it and respond quickly. You are
> right, I have older version installed in my system, so the application
> keep pointing to older include directory, which made the '16f887
(3) is expected in one of SDCC's -I search paths. Probably you have
installed an older version of SDCC and *not* overwritten the old
pic14devices.txt (possibly somewhere in
/usr/share/sdcc/include/pic/pic14devices.txt, locate is your friend).
pic14devices.txt was augmented to provide 16f88[67] on
Hi,
> When trying to compile
>
> $ cd /path/to/sdcc/device/lib
> $ make model-pic14
> $ make install
>
> I got following error message when it compile pic16f886.c and 16f887c.
> blabla
> ...
> [ CC ] ==> pic16f886.o
> '16f886' was not found.
> Is it sdcc which could not found '16f
Hi Raphael,
Thanks for the answer.
I just apply the patch for my gpasm, so now it supports 16f88x as I can see
in the "gpasm -l" list.
Then I renamed the device/lib/pic/libdev/disabled_pic16f88[67].c, removing
the "disabled_".
When trying to compile
$ cd /path/to/sdcc/device/lib
$ make model-pi
Hi soliton,
> Does anybody know or has reference on how to make lib and header for
> certain PIC device, such as PIC16F887.
If you have the SDCC sources at your disposal, try
$ cd /path/to/sdcc/support/scripts
$ mkdir build
$ cd build
$ ../inc2h.pl 16f886 /path/to/gputils
$ ../inc2h.pl 16f887 /pa
Does anybody know or has reference on how to make lib and header for certain
PIC device, such as PIC16F887.
As I can see in the current release of SDCC, we still do not have
pic16f887.lib and pic16f877.h.
Could I just modify the current pic16f877a.lib source and pic16f877a.h since
there are only l