how to allocate more heap for 16mb version?
Posted: Sun Nov 28, 2021 3:42 am
I have the 16mb version and I'm trying to allocate more heap, but not sure how to do it.
ESP.getHeapSize() gives me 255kb
ESP.getMaxAllocHeap() gives me 65kb
I see this here, but is this true for just the 4mb version, or also the 16mb version as well?
ESP.getHeapSize() gives me 255kb
ESP.getMaxAllocHeap() gives me 65kb
I see this here, but is this true for just the 4mb version, or also the 16mb version as well?
Due to a technical limitation, the maximum statically allocated DRAM usage is 160KB. The remaining 160KB (for a total of 320KB of DRAM) can only be allocated at runtime as heap.