cancel
Showing results for 
Search instead for 
Did you mean: 

Where can I find a working example of an STLDR that uses a GNU LD linker script?

Arno1
Senior

I'm trying to create a loader for external flash. I cannot use IAR EWARM and the only examples I find use that. (e.g. https://github.com/STMicroelectronics/stm32-external-loader)

I need this to work with GCC from a make file using LD linker scripts.

Any idea where I can find examples for this? Any information on making external flash loaders with make/gcc/ld is also appreciated.

1 ACCEPTED SOLUTION

Accepted Solutions

This is a space I work commercially, and yes have built working loaders with GNU/GCC and make

https://github.com/cturvey/stm32extldr/blob/main/ExternalLoader.ld

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

View solution in original post

2 REPLIES 2

This is a space I work commercially, and yes have built working loaders with GNU/GCC and make

https://github.com/cturvey/stm32extldr/blob/main/ExternalLoader.ld

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Arno1
Senior

Thank yoy Clive, I'll check that.

I's a shame ST can't make up its mind about which dev env to use, EWARM, CubeIde, Make, AC6 SWB, Keil MDK, ...