3 Dec 2007 10:09
USB compilation for PIC16 - strange errors
Hello all, I tried to compile the USB code from N&V June 2006 ( http://www.nutsvolts.com/media-files/113/USB.zip ) and got following messages: D:\V\USB-test\PICHID>make sdcc -I. -I\include --vc --fstack --denable-peeps --optimize-goto --optimize-cmp --optimize-df --obanksel=9 --opt-code-s ize --fommit-frame-pointer -mpic16 -pp18f2550 -c main.c at 1: warning 117: unknown compiler option '--fstack' ignored sdcc -I. -I\include --vc --fstack --denable-peeps --optimize-goto --optimize-cmp --optimize-df --obanksel=9 --opt-code-s ize --fommit-frame-pointer -mpic16 -pp18f2550 -c usb.c at 1: warning 117: unknown compiler option '--fstack' ignored usb.c(352) : error 47: indirections to different types assignment from type 'unsigned-char const-[32] code-code* ' to type 'unsigned-char generic* ' usb.c(500) : error 47: indirections to different types assignment from type 'const-unsigned-char [4] code-code* ' to type 'unsigned-char generic* ' usb.c(502) : error 47: indirections to different types assignment from type 'const-unsigned-char [14] code-code* ' to type 'unsigned-char generic* ' usb.c(504) : error 47: indirections to different types assignment from type 'const-unsigned-char [32] code-code* ' to type 'unsigned-char generic* ' usb.c(693) : error 47: indirections to different types assignment from type 'volatile-unsigned-char [32] near* ' to type 'unsigned-char generic* ' make: *** [usb.o] Error 1(Continue reading)
I look into USB library on SDCC, have anyone convert it from Microchip's
C compiler (C18)?
I'm sorry for my English. It is my third language
.
Anistardi
-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell. From the desktop to the data center, Linux is going
mainstream. Let it simplify your IT future.
RSS Feed