of the heap without using the portDOUBLE union member.
/* A few bytes might be lost to byte aligning the heap start address. */
#define configADJUSTED_HEAP_SIZE ( configTOTAL_HEAP_SIZE - portBYTE_ALIGNMENT )
Can’t we taken into account if the heap was already aligned beforeinstead of always sacrificing portBYTE_ALIGNMENT bytes? Couldn’t this be accomplished by updating e.g. xFreeBytesRemaining
in prvHeapInit() accordingly? Just my 2 euro cents. Regards
Friedl