[riot-notifications] [RIOT-OS/RIOT] cpu/esp8266: most .rodata sections are moved from DRAM to IROM (flash) (#10981)
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:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the notifications