IRAM usage is too high, primarily because of bluetooth. Is there a way I can use CONFIG_FREERTOS_PLACE_FUNCTIONS_INTO_FLASH despite needing to use esp-idf 4.1 (because of esp-adf?)
I've taken a look at https://docs.espressif.com/projects/esp ... usage.html already and determined that I can't take the performance hit to Wifi, esp_events, and spi master by placing some of their functionality in flash.
Is it safe to modify IRAM addresses in esp32.ld and soc.h by taking some away from DRAM? posting.php?mode=edit&f=13&p=81910#tabs
Modifying IRAM size
Re: Modifying IRAM size
I also had this problem when compiling components that use some IRAM and also adding RainMaker (Which also adds Bluetooth libraries and such)
Only solution I found is to move what is possible to the SPI external RAM detailed in the manual page you mentioned in the:
CONFIG_SPIRAM_* (menuconfig options) that of course if you are using an ESP32 that has PSRAM.
I guess as you mentioned is also possible to disable part of the WiFi option also there but that comes with a performance hit.
Only solution I found is to move what is possible to the SPI external RAM detailed in the manual page you mentioned in the:
CONFIG_SPIRAM_* (menuconfig options) that of course if you are using an ESP32 that has PSRAM.
I guess as you mentioned is also possible to disable part of the WiFi option also there but that comes with a performance hit.
epdiy collaborator | http://fasani.de Fan of Espressif MCUs and electronic design
Re: Modifying IRAM size
Hello jollytopper,
Did you ever receive an answer to your question "Is it safe to modify IRAM addresses in esp32.ld and soc.h by taking some away from DRAM?" ?
Or did you find a solution in your own testing?
Did you ever receive an answer to your question "Is it safe to modify IRAM addresses in esp32.ld and soc.h by taking some away from DRAM?" ?
Or did you find a solution in your own testing?
Who is online
Users browsing this forum: Bing [Bot] and 227 guests