From: E. W. <er...@ev...> - 2005-06-25 23:46:55
|
Dan wrote: > Hello, > > I'm a newbie to the WinAVR tool chain. > When I use MFile to select another MCU, I use the atmega32 and then > save it to "mfile.tcl" > But when I start the Makefile editor again, I get the following error > message: > * > invalid command name "MCU" while executing "MCU = atmega32" (file > "mfile.tcl" line 43) > > *I'm not sure why it won't let me select this MCU type. > Is there something that I missed ? > Did you save the Makefile to the filename "mfile.tcl"? If so, you just overwrote the MFile program..... That's why you're getting an error. Reinstall WinAVR (on top of what you have, you should be fine). Restart MFile, then when you save the makefile, the default filename is "Makefile" (with that capitalization). Be sure to then either copy the file your project directory, or save it in your project directory in the first place. HTH Eric |