feature: allow .bss segment in external memory

This commit is contained in:
TianZhongXing
2018-09-14 18:28:18 +08:00
parent e6e2d7ebee
commit 974112378b
10 changed files with 91 additions and 14 deletions

View File

@@ -172,6 +172,14 @@ config SPIRAM_ALLOW_STACK_EXTERNAL_MEMORY
ROM code in any way (no direct calls, but also no Bluetooth/WiFi), you can try to disable this and use
xTaskCreateStatic to create the tasks stack in external memory.
config SPIRAM_ALLOW_BSS_SEG_EXTERNAL_MEMORY
bool "Allow .bss segment placed in external memory"
default n
depends on SPIRAM_SUPPORT
help
If enabled the option,and add EXT_RAM_ATTR defined your variable,then your variable will be placed
in PSRAM instead of internal memory.
endmenu
config MEMMAP_TRACEMEM