Code::Blocks Forums

User forums => Help => Topic started by: gfcwfzkm on March 10, 2014, 09:48:25 pm

Title: AVRGCC-> srec_cat error
Post by: gfcwfzkm on March 10, 2014, 09:48:25 pm
Hi community,

im moving (slowly) to linux and CodeBlocks looks like a nice IDE for AVR to replace my Windows Atmel-Studio 6.
Code
#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)
Title: Re: AVRGCC-> srec_cat error
Post by: oBFusCATed on March 10, 2014, 10:19:38 pm
Start by reading this http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28errors%29#Q:_How_do_I_troubleshoot_a_compiler_problem.3F
Title: Re: AVRGCC-> srec_cat error
Post by: scarphin on March 11, 2014, 04:06:22 am
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.