How do I get rid of a memory hole(in cortexm0plus)?
Johann Klammer
klammerj@a1.net
Mon Nov 14 18:09:00 GMT 2016
On 10/30/2016 09:31 AM, Johann Klammer wrote:
[Things]
Thanks for all the responses.
It seems micromanaging using section attributes and . =0x ...
is the only way to do this. It's what everyone does, and
likely the only way if you regard the weirder aspects of
function calling and optimizations...
PS: the linker knows about assert statements as in
ASSERT(__StackLimit >= __HeapLimit, "region RAM overflowed with stack")
so a
ASSERT( . >= 0x400, "fconfig overflowed with interrupts")
might be practical.
More information about the Gcc-help
mailing list