Here's a new one. Until today, my rather complicated code has compiled fine. However, I'm now getting the following build error (some compile switches removed as they were just -D token defines):
Compiling C: RNDISEthernet.c avr-gcc -c -mmcu=at90usb1287 -I. -gdwarf-2 -DF_CPU=8000000UL -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fpack-struct -fshort-enums -finline-limit=20 -Wall -Wstrict-prototypes -Wundef -Wa,-adhlns=./RNDISEthernet.lst -I../../ -std=gnu99 -Wundef -MMD -MP -MF .dep/RNDISEthernet.o.d RNDISEthernet.c -o RNDISEthernet.o RNDISEthernet.c:110: error: __c causes a section type conflict make.exe: *** [RNDISEthernet.o] Error 1
The line in question is:
printf_P(PSTR("\r\n\r\n****** RNDIS Demo running. ******\r\n"));
This works fine elsewhere - I've got a number of similar USART debugging lines throughout the 20 or so source files. Again, this compiled fine until today.
I've double checked that all the appropriate headers are being included (pgmspace.h and stdio.h) and tried a complete clean/rebuild, to no avail.
- Dean :twisted: