4 years, 11 months ago.

Description does not accords with build detail in mbed-compiler?

/media/uploads/wenbozhu1008/qq--20160323152054.png

In Memory Sections part, it is said that RW Data is copied from Flash to RAM after startup. However in mbed-compiler build detail, as shown in the picture, RW Data seems to be contained not in Flash but only in RAM, and the size of output binary file proves so. Does this mean that the discription is wrong?

Question relating to:

1 Answer

4 years, 11 months ago.

Hi,

The linker of the mbed online compiler compresses the RW data. This data is then decompressed on the target at run time.

http://infocenter.arm.com/help/topic/com.arm.doc.dui0474l/pge1362065930871.html