BLE iBeacon example uses +100k of DRAM

chofsass
Posts: 8
Joined: Mon Apr 06, 2020 3:30 pm

BLE iBeacon example uses +100k of DRAM

Postby chofsass » Thu Nov 19, 2020 2:39 pm

I am using the ibeacon example found in the IDF repo here:

https://github.com/espressif/esp-idf/bl ... con_demo.c

If you look at the code you can see that it is using the

Code: Select all

esp_bt_controller_mem_release(ESP_BT_MODE_CLASSIC_BT)
function which appears to have a minor improvement.

What I have discovered is:
- if the BT component is enabled in memuconfig if reserves 52K of DRAM
- at run time once it goes through the init part of the code, as shown in the code at the link provided above, about 60K of heap is used

Questions:
- is this memory usage unavoidable
- are the some configurations that can be set to get back some of the memory

Who is online

Users browsing this forum: No registered users and 71 guests