6 years, 3 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

1 year, 4 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.

4 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 }

4 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.