Custom linker script & startup (mbed)

Quick question. I looked thru the faq and other docs, just want to make sure to do this the right way. Short conceptual explanation is enough.

I have a LPC11U68-based product (www.pokitto.com) and I need to use custom linker file (.ld) and startup_lpc11u68.c.

What is the best way to do this? Do I have to write my own framework? (Mbed)

If I remember correctly, the fast way to resolve that is to edit files directly in ~/.platformio/packages/framework-mbed or use PRE-script ( Redirecting... ) and do that automatically.

Please note that next update to framework package will clear your change. I recommend to use PRE-script and do changes on the flight.

1 Like

Thanks for the prompt response. Going for the PRE script then.