Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
11 years, 4 months ago.
linker on online compiler
Is there any way we can get access to linker on the online compiler? I want to store a function at a pre determined address on the mbed. To do this I need access to the linker.
Is there anyway this can be done?
3 Answers
6 years, 5 months ago.
I'd call this more than respectful, honestly. If they picked up their own trash then that's being respectful https://24hwritemyessay.com, but the fact they seem to be picking up after others is incredibly generous of them.
9 years, 8 months ago.
you don't need it to do that, but i am interested too if someone knows how to,
to fix an address you just have to :
attribute((section(".ARM.at_0xADDRESS_YOU_WANT"))) void function_name(void) { YOUR_CODE }
9 years, 8 months ago.
Editing linker is not allowed in the online IDE, you cna find some answers here on mbed.
You can use what was proposed above, using compiler specific directives.