Question
Dynamic Memory Usage
Posted on December 04, 2013 at 12:23
Hi guys,
I have to do a RAM check routine that performs Class-B controls on pre-assigned (probably all RAM) memory block. The first doubt that rise is : if I allocate the memory statically I can't free it (or release them, as you prefear) at the end of the tests, right? if I define a memory section in linker script I can't release them at the end of the tests, right? I think that dynamic allocation can be usefull (may be more complicate to implement...). The problem of fragmentation of data, cause of resources releasing, can introduce several troubles.Has anyone
addressed this issue
in some
previous
experience?
Thanks &
Regards #dynamic-memory-usage #embedded