7 years, 7 months ago.

Fixed locations in target

Is it possible to access the makefile linker options. I want to place things at specific locations to allow jumping between bootloader and main etc.

Question relating to:

1 Answer

7 years, 7 months ago.

Hi Michael,

Thanks for your question, i'll do my best to help.

Have a look at https://developer.mbed.org/handbook/mbed-library-internals as a starting point as this explains what you need.

Let me know if you need anything more.

Regards,

Andrea, team mbed.

Thank you. However I don't think I explained my issue too well. What I need is to insert a seperate program at location zero in the flash and I want this program to reside or start at a fixed address say 0x1000. So that the bootloader can update the main code and will decide when to call the main code. I have done this on other compilers by editing the ld file. or basically the linker script.

posted by Michael Causley 05 Sep 2016

For reference you cannot access the linker in the online IDE.

But exporting offline, you will be able to

posted by Andrea Corrado 05 Sep 2016