Seems that I'm pretty much out of RAM, I have error :
.bss is not within region data
.noinit is not within region data
What I don't understand is calculation of ROM + RAM.
Here form other post:
Finished building target: CCPro_Bootloader.elf AVR Memory Usage ---------------- text data bss dec hex filename 13072 236 65296 78604 1330c CCPro_Bootloader.elf Done executing task "RunAvrGcc32". Done building target "CoreBuild" in project "CCPro_Bootloader.avrgccproj".
The code flash has both .text and a copy of the .data initialisers so from that picture the code size is:13072 + 236 = 13,308
The (static) RAM usage is the .data + .bss:236 + 65296 = 65532
I have for example :
text data bss dec hex 113092 4226 7516 124834 1e7a2
So in my case :
code : 4226 + 113092 = 117318 ram : 4226 + 7516 = 11742
Code is OK, but RAM ??
ATmega1281 has 8K RAM.
Can anyone explain this to me?
Thnx, very much !