Fix VM Address mask by mhightower83 · Pull Request #8440 · esp8266/Arduino

added 2 commits

January 6, 2022 18:21
Adjust VM Address mask to allow up to 8M Byte parts.
Allow for free heap size values over 64K
  ESP.getHeapStats(, uint32_t,)
  uint32_t getMaxFreeBlockSize();

earlephilhower

@mhightower83

@mhightower83

Updated boards.txt to show correct External memory size and Heap size.

@mhightower83

hasenradball pushed a commit to hasenradball/Arduino that referenced this pull request

Nov 18, 2024
* Fix VM Address mask

Adjust VM Address mask to allow up to 8M Byte parts.
Allow for free heap size values over 64K
  ESP.getHeapStats(, uint32_t,)
  uint32_t getMaxFreeBlockSize();

* Fix example

* Update MockEsp.cpp for uint32_t on EspClass::getMaxFreeBlockSize()

* Added comment about heap size limitation and static_assert to verify.
Updated boards.txt to show correct External memory size and Heap size.