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?

3 Replies
@Edison_ngunjiri @Umesh Lokhande any suggestions?
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.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