[riot-notifications] [RIOT-OS/RIOT] cpu/esp8266: most .rodata sections are moved from DRAM to IROM (flash) (#10981)

Gunar Schorcht notifications at github.com
Fri Mar 29 18:16:02 CET 2019


@smlng Yes, you are right, it does not save any bytes of code. But, code size isn't a problem since you have between 1 MByte and 4 Mbyte flash memory.

The problem is that `.rodata` section isn't placed in flash as usually expected but in RAM. The reason is that flash requires aligned 32-bit word access. Therefore, the goal of this PR is to move const data to flash memory `.irom0.text` section to save RAM. The difference of `.rodata` section size is the RAM you save which can be used as heap which is especially important for the WiFi interface.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/10981#issuecomment-478079310
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190329/ef1e3f14/attachment-0001.html>


More information about the notifications mailing list