This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

linker issue

Hello,

I'm working on Cortex M0 and I have an issue with the linker ( linker v5.03 from KEIL 4.72a ).

I want the linker to place data in a given memory area except in a small sub-area.

So I used the EMPTY attribute like this:

LR_FLASH 0x00800000 0x8000
{ EMPTY 0x00806F00 EMPTY 0x530 { }

OTHER { *.o (*) }
}

But the linker places data from OTHER region in the EMPTY region.

I think I misunderstood the usage of EMPTY attribute.

Thanks for your help

Parents Reply Children