How to optimize BLE memory footprint for esp32
Posted: Fri Jul 25, 2025 7:36 am
Hello,
I’m using ESP32 with ESP-IDF and NimBLE BLE in BLE only mode . I want to optimize my memory footprint by reducing the CONFIG_BTDM_RESERVE_DRAM value in sdkconfig (currently 56 KB), but any manual change gets reset to default during build/config. How can I persistently lower this reserved memory for Bluetooth? Any advice to optimize the memory footprint of BLE is greatly appreciated
I’m using ESP32 with ESP-IDF and NimBLE BLE in BLE only mode . I want to optimize my memory footprint by reducing the CONFIG_BTDM_RESERVE_DRAM value in sdkconfig (currently 56 KB), but any manual change gets reset to default during build/config. How can I persistently lower this reserved memory for Bluetooth? Any advice to optimize the memory footprint of BLE is greatly appreciated