I trie to compile the example program, USBCDC but i get the following error:
Warning[230]c:\pbp\18f2550.inc 20: __CONFIG has been deprected for PIC18 devices. Use directive CONFIG.
Can anybody tell me what to do?
I trie to compile the example program, USBCDC but i get the following error:
Warning[230]c:\pbp\18f2550.inc 20: __CONFIG has been deprected for PIC18 devices. Use directive CONFIG.
Can anybody tell me what to do?
This is not an error, just a warning.
"If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte
Hi,
First of all you need to use MPASM for the 18X series, so switch to that if you haven't allready. Then have a look here:
http://www.picbasic.co.uk/forum/showthread.php?t=543
Specificly the post from Steve (mister_e) on 29th october -05.
The latest version of PBP (2.47) hides that warning but I think it's best to get used to the new way Microchip wants it.
Hope it helps!
/Henrik Olsson.
Its not an ERROR otherwise it would say "Error".Originally Posted by NL2TTL
Its a WARNING that the syntax you are using to declare the configuration has been superceeded by a "new improved" version.
At the moment both methods work but in a later version of the assembler your declaration may no longer be supported.
There are several threads covering the topic.
http://www.picbasic.co.uk/forum/showthread.php?t=543
http://www.picbasic.co.uk/forum/showthread.php?t=4381
http://www.picbasic.co.uk/forum/showthread.php?t=3943
Hope that helps
Keith
www.diyha.co.uk
www.kat5.tv
After a few modification on the include file the pic is up and running again.
Thank you all
Bookmarks