- first is simple, control stack of your main task; we can recover about 7-8kB if we create our own main task ans delete default task in setup(),
- this one is much better: if we dont use BT and BLE we can recover about 70kB heap with:
Code: Select all
esp_bt_controller_mem_release(ESP_BT_MODE_BTDM);