From many runs, I've found that they are always the same on my ESP32,
so to make output as well as memory debug cut/paste output more
concise, I've collapsed them.
I also found other copies of the memory code and pointed them to
show_esp32_all_mem and the new show_esp32_heap_mem.
TESTED=New SM output at start:
Starting SmartMatrix Mallocs
Heap/32-bit Memory Available: 325548 bytes total, 113792 bytes largest free block
8-bit/DMA Memory Available: 239800 bytes total, 113792 bytes largest free block
SmartMatrix Layers Allocated from Heap:
Heap/32-bit Memory Available: 287168 bytes total, 113792 bytes largest free block
Starting SmartMatrix DMA Mallocs
sizeof framestruct: 0000C000
DMA Memory Available before ptr1 alloc: 101900 bytes total, 39960 bytes largest free block
matrixUpdateFrames[0] pointer: 3FFE4374
DMA Memory Available before ptr2 alloc: 101900 bytes total, 39960 bytes largest free block
matrixUpdateFrames[1] pointer: 3FFF0384
Frame Structs Allocated from Heap:
Heap/32-bit Memory Available: 187648 bytes total, 85748 bytes largest free block
8-bit/DMA Memory Available: 101900 bytes total, 39960 bytes largest free block
(...)
From many runs, I've found that they are always the same on my ESP32, so to make output as well as memory debug cut/paste output more concise, I've collapsed them.
I also found other copies of the memory code and pointed them to show_esp32_all_mem and the new show_esp32_heap_mem.
TESTED=New SM output at start: Starting SmartMatrix Mallocs Heap/32-bit Memory Available: 325548 bytes total, 113792 bytes largest free block 8-bit/DMA Memory Available: 239800 bytes total, 113792 bytes largest free block SmartMatrix Layers Allocated from Heap: Heap/32-bit Memory Available: 287168 bytes total, 113792 bytes largest free block Starting SmartMatrix DMA Mallocs sizeof framestruct: 0000C000 DMA Memory Available before ptr1 alloc: 101900 bytes total, 39960 bytes largest free block matrixUpdateFrames[0] pointer: 3FFE4374 DMA Memory Available before ptr2 alloc: 101900 bytes total, 39960 bytes largest free block matrixUpdateFrames[1] pointer: 3FFF0384 Frame Structs Allocated from Heap: Heap/32-bit Memory Available: 187648 bytes total, 85748 bytes largest free block 8-bit/DMA Memory Available: 101900 bytes total, 39960 bytes largest free block (...)