Skip to main content
Arno1
Senior
January 27, 2022
Solved

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

  • January 27, 2022
  • 2 replies
  • 1413 views

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.

This topic has been closed for replies.
Best answer by Tesla DeLorean

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

2 replies

Tesla DeLorean
Tesla DeLoreanBest answer
Guru
January 27, 2022

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 VenmoUp vote any posts that you find helpful, it shows what's working..
Arno1
Arno1Author
Senior
January 28, 2022

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