Author Topic: AVRGCC-> srec_cat error  (Read 8629 times)

gfcwfzkm

  • Guest
AVRGCC-> srec_cat error
« 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)

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline scarphin

  • Lives here!
  • ****
  • Posts: 644
Re: AVRGCC-> srec_cat error
« Reply #2 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.