Hello guy's and Merry Christmas!
I want to use C::B to Programm an atmega32 on an Linux OS. (Ubuntu 9.10 x64)
I use the Wizzard for avr programming and i think i've selectet everything right. (it must be wrong, because it doesn't work. XD)
Okay... If i want to Build my files in the Buildlog Appears:
-------------- Build: Release in test1 ---------------
Compiling: main.c
cc1: Fehler: fehlendes Argument für »-mmcu=«
Process terminated with status 1 (0 minutes, 0 seconds)
0 errors, 0 warnings
I've tryed to uncheck the atmega32 option in the debugger and compiler settings and wrote it to the manualy arguments. But it doesn't work, too. I get the same message.
I have installed the avr-gcc again, because I thought there was an mistake. but nothing get changed.
Thanks for helping a newbie... :-)
Thank you aozima.
Sometimes it is so simple... XD
You are right. I have to set it like:
project --> build options -->project name(not debug & release)-->link setting
addd the other options : -mmcu=atmega32
Now it works fine. Thank you!
edit:
ähm.... Could you tell me how to use your wizzard? I just try a little bit now. but maybe you will be faster with explaining than me witch trying. :-D