esp32: Provision to redirect .bss to external ram through linker fragments

Include external ram section in the linker template to process it
through linker script generation mechanism. This enables redirection of .bss section to external memory using linker fragments

libnet80211, libpp, libbt, liblwip: Redirect .bss through fragments
This commit is contained in:
Sachin Parekh
2020-07-31 12:26:29 +05:30
committed by bot
parent 9fd5138ce2
commit be5563207d
11 changed files with 61 additions and 46 deletions
+2
View File
@@ -95,6 +95,8 @@ If enabled, a region of the address space starting from 0x3F800000 will be used
Additional data can be moved from the internal BSS segment to external RAM by applying the macro ``EXT_RAM_ATTR`` to any static declaration (which is not initialized to a non-zero value).
It is also possible to place the BSS section of a component or a library to external RAM using linker fragment scheme ``extram_bss``.
This option reduces the internal static memory used by the BSS segment.
Remaining external RAM can also be added to the capability heap allocator using the method shown above.