How to optimize BLE memory footprint for esp32

Sharfuddin
Posts: 1
Joined: Thu Jul 24, 2025 9:16 am

How to optimize BLE memory footprint for esp32

Postby Sharfuddin » 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 :D

MicroController
Posts: 2705
Joined: Mon Oct 17, 2022 7:38 pm
Location: Europe, Germany

Re: How to optimize BLE memory footprint for esp32

Postby MicroController » Fri Jul 25, 2025 2:27 pm


Who is online

Users browsing this forum: Applebot, Baidu [Spider], PetalBot and 3 guests