Closed mniestroj closed 1 year ago
Visit the preview URL for this PR (updated for commit df089e6):
https://golioth-zephyr-sdk-doxygen-dev--pr281-esp32-reduce-hea-glthazk3.web.app
(expires Thu, 22 Sep 2022 15:24:54 GMT)
🔥 via Firebase Hosting GitHub Action 🌎
All samples tested. There is an issue with esp32 platform and DFU sample (does not confirm and reboot automatically), but not related to this PR. Merging.
ESP32 platform has just 176.5 kB RAM for application use. This includes 128 kB reserved for RAM, which leaves just 48.5 kB for non-heap (k_malloc) use.
Reduce size of k_malloc() heap to 96 kB, which is what zephyr/samples/board/esp32/wifi_station uses. This increases non-heap RAM from 48.5 kB to 80.5 kB.
TODO: