Hi community,
im moving (slowly) to linux and CodeBlocks looks like a nice IDE for AVR to replace my Windows Atmel-Studio 6.
#include <avr/io.h>
int main(void)
{
DDRD = 0xFF;
while(1)
{
PORTD ^= 0xFF;
}
return 0;
}
But when im trying to compile a little sample code, it crashes with the following error:
srec_cat: bin/Debug/test32.fuse: l: file contains no data
Process terminated with status one
Where can i change the fuses so i doesnt crash?
Thanks for your help (and sorry for my english)
Start by reading this http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28errors%29#Q:_How_do_I_troubleshoot_a_compiler_problem.3F
There should be a fuse (named something like fusexxx.c) file in the same directory as your source file (main.c probably). Try that one.