All esp32 models reported internal memory
Posted: Mon Nov 29, 2021 4:10 am
I maybe missing something and i am trying to learn. Is there something new in S2 and S3 or memory handling, because in empty sketch (C++) i am getting pretty strange values.
I am using 3 simple functions:
Exactly the same code is running on esp32, esp32 C3, esp32 S2 and esp32 S3 and i have 2 questions:
- why old esp32 is reporting about 96kB less memory than S3; again, its almost empty C++ sketch, with the same sdkconfig file
- why on C3, S2 and S3 free heap and internal free heap are not the same values,
- how is it possible that minimum free heap is reported bigger than internal memory
I am using 3 simple functions:
Code: Select all
esp_get_free_heap_size();
esp_get_free_internal_heap_size();
esp_get_minimum_free_heap_size();
- why old esp32 is reporting about 96kB less memory than S3; again, its almost empty C++ sketch, with the same sdkconfig file
- why on C3, S2 and S3 free heap and internal free heap are not the same values,
- how is it possible that minimum free heap is reported bigger than internal memory
Code: Select all
Heap info on esp32:
free: 295164
internal: 295164
minimum: 294172
Heap info on S3:
free: 389740
internal: 383304
minimum: 388616
Heap info on S2:
free: 255052
internal: 254964
minimum: 255052
Heap info on C3:
free: 330092
internal: 323672
minimum: 330092