Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

SDCC pic16f887.h

Need help with peripherals or devices?
Post Reply
Message
Author
decko890
Posts: 17
Joined: 2010-04-30 23:34

SDCC pic16f887.h

#1 Post by decko890 »

Trying to compile a microcontroller code using SDCC the output from compiling gives the error that there is a header file missing here it is
blink.c:6:27: error: pic/pic16f887.h: No such file or directory
blink.c:12: warning 197: keyword 'at' is deprecated, use '__at' instead
blink.c:12: error 20: Undefined identifier '_CONFIG1'
blink.c:12: error 2: Initializer element is not constant
blink.c:13: warning 197: keyword 'at' is deprecated, use '__at' instead
blink.c:13: error 20: Undefined identifier '_CONFIG2'
blink.c:13: error 2: Initializer element is not constant
blink.c:43: error 20: Undefined identifier 'TRISC'
blink.c:65: error 20: Undefined identifier 'PORTC'

Post Reply