Forum : ARM
Original Post
Post Information | Post |
---|---|
April 9, 2009 - 11:09am
|
Hello I would like to be able to select the memory region where my program ends up. In my *.ld file i would like to do this: #if USE_UPPER_REGION Is it possible? |
Hi,
I'm afraid this is not possible: the preprocessing is done before compiling, while the linker script is used during the link, which is after compiling.
If there is another syntax for doing that, I don't know it.
Please refer to the LD documentation for more information, or maybe ask on the GCC forums.
Best Regards,
Vincent