Page 1 of 1

Arduino-ide tips and tricks

Posted: Fri Jun 15, 2018 4:40 am
by chegewara
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);

Re: Arduino-ide tips and tricks

Posted: Tue Nov 06, 2018 9:20 pm
by John__
I'm surprised this thread has only one post!

I'm certain that there are many tips and tricks to be shared especially by those of us who are doing multi-core multi-task projects and who have no wish to use or lack the experience to use another IDE.