Page 1 of 1

Disable CORE 1 and CORE 1 cache to allocate another IRAM segment of 32k

Posted: Thu May 09, 2019 9:21 pm
by safetycaptain
Hello all,

I'm wondering if anyone has ventured into getting another 32k of IRAM when disabling core 1.
I'll be diving into this soon, just figured i would put out some feelers into the community.

Re: Disable CORE 1 and CORE 1 cache to allocate another IRAM segment of 32k

Posted: Fri May 10, 2019 1:51 am
by ESP_Sprite
It should happen automatically when you disable core 1 in menuconfig.

Re: Disable CORE 1 and CORE 1 cache to allocate another IRAM segment of 32k

Posted: Fri May 10, 2019 3:17 am
by WiFive
ESP_Sprite wrote:
Fri May 10, 2019 1:51 am
It should happen automatically when you disable core 1 in menuconfig.
It doesn't reserve the region so it can be added to iram heap but it isn't available to the linker for iram.

https://github.com/espressif/esp-idf/bl ... out.c#L134

https://github.com/espressif/esp-idf/bl ... p32.ld#L31