Custom Heap¶
Provides an alternative heap memory manager using UMM Malloc.
Warning
Do not enable custom heap allocation and -mforce-l32 compiler flag at the same time.
References¶
- Source Code
- Esp8266 Core Component Component
Used by¶
- Sming (Esp8266) Component
Environment Variables¶
UMM_POISON_CHECK
Submodule: umm_malloc¶
- umm_malloc - Memory Manager For Small(ish) Microprocessors
- Acknowledgements
- Usage
- API
- Background
- Detailed Description
- Operation of malloc right after system startup
- Operation of malloc when we have reached the end of the free list and there is no block large enough to accommodate the request.
- Operation of malloc when we have found a block (cf) that will fit the current request of b units exactly
- Operation of malloc when we have found a block that will fit the current request of b units with some left over
- Free Scenarios
- Realloc Scenarios