Page 1 of 1

lack of space compiling

Posted: Wed Apr 26, 2017 9:05 pm
by escalanterj
Hello,

This only happens when I use the TD1205P debug version, not with the release. Could you tell me why and solution?
c:/td/td_rf_module_sdk-v6.0.0/gnu/bin/../lib/gcc/arm-none-eabi/4.7.2/../../../../arm-none-eabi/bin/ld.exe: No room available for FLASH LAYOUT data - ROM overflow - please reduce your code size


thanks

BR

Re: lack of space compiling

Posted: Mon May 15, 2017 7:57 am
by mstempin
The Debug compile configuration generates a lot of debug information (symbols, etc.) that are put into the firmware, so it does not fit any longer into the 128 KB Flash memory size. It is possible to selectively choose the libraries that are in "Release" mode and the libraries/object modules that are in "Debug" mode, so that it fits in the memory.

This problem is common to many embedded platforms with limited memory size.

Re: lack of space compiling

Posted: Mon May 15, 2017 12:08 pm
by escalanterj
Hello,

Thanks for the answer, could you tell me how to select the libraries/modules in order to make it fit and be able to debug?
thanks

BR

Re: lack of space compiling

Posted: Wed May 17, 2017 3:48 pm
by escalanterj
Hello,

Could you tell me as well, which libraries/modules can I delete being still able to debug the prg?
thanks

BR