Merge branch 'feature/free_bt_memory_v5.1' into release/v5.1

feat(bt): Frees BLE memory when no longer in use

See merge request espressif/esp-idf!26570
This commit is contained in:
Jack
2023-10-20 08:41:19 +08:00
9 changed files with 150 additions and 39 deletions
@@ -439,3 +439,6 @@ config BT_CTRL_BLE_ADV_REPORT_DISCARD_THRSHOLD
of ADV packets lost in the controller reaches this threshold. It is better to set a larger value.
If you set `BT_CTRL_BLE_ADV_REPORT_DISCARD_THRSHOLD` to a small value or printf every adv lost event, it
may cause adv packets lost more.
config BT_LE_RELEASE_IRAM_SUPPORTED
bool
default y