Page 1 of 1

Heap improvement with BLE

Posted: Thu Dec 02, 2021 8:21 pm
by silardgal_dotlab
I'm currently using multiple protocols like BLE, WiFi, Ethernet, MQTT ect.

The BLE part is used for configuration and used 2-3 times in the lifespan of the device. Other protocols are used all the time.

Because other peripherals require quite a lot of heap, I'm looking to expand it as much as possible.
With BLE included, the heap drops by about 40k.

Is there any way to fully disable BLE when not used? Free up the heap that is allocated for it, but not used?