Arduino-ide tips and tricks

chegewara
Posts: 533
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);

John__
Posts: 3
Joined: Sun Nov 15, 2015 4:17 am

Re: Arduino-ide tips and tricks

Postby John__ » Tue Nov 06, 2018 9:20 pm

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.

Who is online

Users browsing this forum: Google [Bot] and 5 guests