code size with WIN AVR

Go To Last Post
3 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Good day,
I'm Fabrizio Baldinini from ITALY
I have this sort of problem:

I used avr_gcc (installation file avrgcc_freaks20011214a.exe)
with avr studio 3.56 and I had no problem, (AT90s8535 now ATmega8535)
now I begin to use WINAVR,
I can't compile the same project because the compiler tells me !!

C:\WinAVR\bin\..\lib\gcc-lib\avr\3.3\..\..\..\..\avr\bin\ld.exe: region text is full (secondo.elf section .text)

I think this is due to the size of the program;
I compiled in a good way a sorter project but secondo.hex is 20K
it was 8K with avr_gcc !!!

is something in the makefile that can hel me ?

I thank you very much

F. Baldinini
RIMINI
ITALY

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Firstly check to not have "useless" libraries added, in the LDFLAGS variable -- if I'm not wrong, there was an older release's (example) makefile that defaulted to include the full floating point printf() library.

Surely isn't specified in the latest release's example -- 20030913

Lou

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Thank you very much

If a day tou wiil come Italy
you have a beer free !!!

Bye

Fabrizio