Dear Tim,

I got the same problem with 14bit enhanced core (PIC16F1XXX) devices.
I tried to define config values and received the similar error message.
I think it is not a proper way to define config in c source. I also do not know 
how to do it correctly in sdcc.
However, it works when you specify config values in asm source.

You can read more about this on the other topic started by me:
[Sdcc-user] Problem defining config values for pic14 enhanced core device

As a workaround I recommend you to have the PIC project split into two files:
- One asm file containing the config values bot nothing else.
- One (or more c source) containing the actual code but without config.

Best regards,
Tamas


------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to