Background: I'm using TI compiler v5.2.6 in CCSv6.1 with Processor SDK RTOS for AM335x with SYS/BIOS kernel.
I want to create a large heap (using HeapMem or HeapBuf) of around 400MiB. However, this means that the underlying 400MiB buffer is being declared statically and placed in .bss, and thus the application spends a lot of time zero-initializing this memory during startup. I know this because if I add '--zero_init=off' to the link line, then the startup delay disappears. However, I'd rather not disable zerio-initialization for everything, especially since heaps aren't suppose to waste time giving you zeroed memory.
My question: Is there a way to selectively disable zero-initialization only for certain variables?