After commenting both functions,(init and start) heap stays the same.
I'm not sure, is it esp32_wifi_init or esp_32_wifi_start. Picture changed during testing from time to time.
BTW, I checked heap after Adding pool of 4096K of external SPI memory to heap allocator, and its more than 4MB, from there to app_main in main.c 1MB disappears, but thats a different problem, at least in my eyes.
Code: Select all
WARNING: before esp32_wifi_init: 2997272
WARNING: esp32_wifi_init done: 2940184
WARNING: before esp_wifi_start: 2940184
WARNING: esp_wifi_start done: 53772