Re: Simplified Microchip PIC USB demos (C18/XC8 MLA)
Posted: Wed Jul 19, 2017 12:29 pm
Hello,
I am trying to use the 4550 C18 example and modify it for use with 18f2455. Sadly the example doesn't build with MPLAB X 3.61 and C18 v3.47.
I get this error:
I already tried to google it but didn't find anything helpfull and nobody in this thread seemed to have this problem.
Help would be appreciated
I am trying to use the 4550 C18 example and modify it for use with 18f2455. Sadly the example doesn't build with MPLAB X 3.61 and C18 v3.47.
I get this error:
C:\Program Files\Microchip\mplabc18\v3.47\h\string.h:623:Error [1174] local 'c' in program memory can not be 'auto'
nbproject/Makefile-PDFSUSB_4550_C18.mk:162: recipe for target 'build/PDFSUSB_4550_C18/production/usb_descriptors.o' failed
make[2]: Leaving directory 'C:/Users/Administrator/Desktop/src/LPC_FSUSB-CDC-X'
nbproject/Makefile-PDFSUSB_4550_C18.mk:90: recipe for target '.build-conf' failed
make[1]: Leaving directory 'C:/Users/Administrator/Desktop/src/LPC_FSUSB-CDC-X'
nbproject/Makefile-impl.mk:39: recipe for target '.build-impl' failed
BUILD FAILED (exit value 2, total time: 91ms)
I already tried to google it but didn't find anything helpfull and nobody in this thread seemed to have this problem.
Help would be appreciated