AnsweredAssumed Answered

How to allocate a global/static array w/o initialization?

Question asked by Yaniv.Sapir on Mar 2, 2015
Latest reply on Mar 27, 2015 by StuartS

Is there a way in VDSP++ 5.1.2 to declare a global buffer, to be put in SDRAM, w/o initializing its contents? Working with EZKIT BF518 and HP-USB ICE, I have two 4MB global arrays allocated in SDRAM. These extend load time in a noticeable amount.


Is there a way to tell the compiler not to init or load these arrays? I just need the linker to preserve the required space.


{A possible workaround is to use pointers that are assigned with the buffers' initial address, instead of arrays. However, this way the linker is not aware of the reserved space.}