After discovering I was using 18F4450 instead of 18F4550  I decided, 
while waiting for the correct chips to arrive, to play with the 4450.

So I updated my Make file from:



LIBS =  libc18f.lib libio18f4550.lib libm18f.lib libsdcc.lib

SDCC = ~/sdcc/bin/sdcc

SDCCFLAGS = "-Wl,-m,-s 18f4550.lkr" -mpic16 -p18f4550 --disable-warning
85 --std-sdcc99


to:


LIBS =  libc18f.lib libio18f4450.lib libm18f.lib libsdcc.lib

SDCC = ~/sdcc/bin/sdcc

SDCCFLAGS = "-Wl,-m,-s 18f4450.lkr" -mpic16 -p18f4450 --disable-warning
85 --std-sdcc99

but now I get:


missing definition for symbol "_SSPBUF", required by "strmmssp.o"


Ok, so there is no SSPBUF in 4450 but I don't see where
__stream_mssp_putchar which refers to _SSPBUF
gets called? 

Am I linking the wrong libraries or missing some command line
parameters?

br Kusti


------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Sdcc-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to