IRAM constrains in ESP32

I'm developing a BLE code in ESP32 using nimble stack, that itself consuming around 70% of the IRAM. I want to integrate few other peripherals like CAN, SPI. How can I optimize or reduce the IRAM size with working functionality?
No description
3 Replies
techielew
techielew3mo ago
@Edison_ngunjiri @Umesh Lokhande any suggestions?
Umesh Lokhande
Umesh Lokhande3mo ago
Hi @Naren try to optimize memory using menuconfig settings. By allocating less memory space means reducing Blocks and Buffer counts, you may gain some additional ~20KB of heap. I'd suggest play with menuconfig to find out best possible IRAM for other use.
Naren
NarenOP3mo ago
That's where, I'm playing. As of now I reduced 5KB, I have to reduce a lot Is there any other chances to do the same @Umesh Lokhande
Want results from more Discord servers?
Add your server