Hi
Stanley Lee wrote:
> Hi,
>
> I have tried to compile Jan's code in terminal and got the following
> printout instead. I'm having a feeling that SDCC isn't recompiled
> properly on my computer.
Looks like you didnt tell sdcc for which cpu you want to compile your
code. You need to add somethin
Stanley Lee wrote:
> Hi,
>
> I have tried to compile Jan's code in terminal and got the following
> printout instead. I'm having a feeling that SDCC isn't recompiled
> properly on my computer.
and btw, did you installed the pic16 libs like described in the wiki
(see also http://ubicomp.lancs.ac
Hi Stanley,
> [EMAIL PROTECTED]:/media/sda5/Dairy Cow Research/datalogging
> scale/software/LED_toggle$ sdcc main.c
> main.c:1:24: pic18fregs.h: No such file or directory
SDCC cannot find pic18fregs.h, which should reside in
/usr/share/sdcc/include/pic16.
You can either add the (correct) path t
Hi Raphael,
PIC18fregs.h is indeed in /usr/share/sdcc/include/pic16. I think the problem
is that SDCC does not look into pic16 directory on its own. Only my source
files are in folders with names that have white space. I did indeed install
SDCC into a blank-free path, which is in /usr/share/sdcc/.
Hi,
I've managed to install the newest version of sdcc's nightly snapshot. After
ensuring that the PIC18fregs.h file is in the primary include folder of the
new sdcc. I now get the following error from piklab, which has to do with
the hardware pins I think. It would be fantastic if someone points