:shock:
I am new to Codeblocks and this is my first try to convert an existing project with 7 source files to codeblocks
The first run with WinAVR gives me the following lines:
avr-gcc.exe -Wall -mmcu= -DF_CPU=16000000UL -mmcu=at90can128 -Wall -g -c ..\..\CAN-Adapter\CANUSB-Adapter\Firmware\CAN2USB_Konverter.c -o obj\Debug\CAN-Adapter\CANUSB-Adapter\Firmware\CAN2USB_Konverter.o
cc1.exe: error: missing argument to "-mmcu="
AT first, I thought I have forgotten to hook one of the target -µC, but after hooking the AT90CAN128, I always get this empty -mmcu .... - and I can't find the reason.
Check you options in Project -> Build options and in Settings -> Compiler & Debugger -> Compiler -> [your compiler]
I can't find anything called cc1.exe in the latest winavr distribution, what is it used for? Are u sure u have the correct settings for compiler and compiler paths?
Most of the time gcc calls it and it is part of gcc's distribution.
On my windows install it is in "c:\MinGW\libexec\gcc\mingw32\4.4.0\"