Arduino-ide tips and tricks

chegewara
Posts: 301
Joined: Wed Jun 14, 2017 9:00 pm

Arduino-ide tips and tricks

Postby chegewara » Fri Jun 15, 2018 4:40 am

I am working on very consuming heap project now and ive found something interesting. Thats why i want to start this topic and maybe other users will share with us some tricks too:
- 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);

Who is online

Users browsing this forum: No registered users and 1 guest