10 years, 5 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

5 years, 6 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.

8 years, 10 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 }

8 years, 10 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.