cancel
Showing results for 
Search instead for 
Did you mean: 

Pure ARM GCC toolchain

Posted on February 12, 2016 at 16:20

Hi there,

Is there any support for a pure ARM GCC toolchain for STM32 microcontrollers?

I essentially mean this: linker scripts and startup code.

I understand Atollic TrueSTUDIO provides a similar path to this, but I want to avoid being tied to a company's policies.

Thanks!

#toolchain
3 REPLIES 3
Posted on February 12, 2016 at 17:35

Yes, the ARM GNU/GCC platform has worked with STM32 parts for years, the linker scripts and startup method work exactly as they do for any Cortex and ARM variants.

If you have any grasp of GNU/GCC with ARM, MIPS or SPARC this knowledge is directly transferable into the use of STM32 parts of various types.

The RiDE examples are probably the most transferable, but I've posted several stand-alone GNU/GCC based STM32 projects with makefiles, linker scripts, etc.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Posted on February 12, 2016 at 22:03

@clive1, can you point me to those stand-alone projects? Are they on web?

 

Posted on February 13, 2016 at 15:45

I've posted examples to the forum, it is heavily spidered, and I use Google pretty much exclusively to find my own old posts, so I know that would work.

https://my.st.com/public/STe2ecommunities/mcu/Lists/STM32Discovery/Flat.aspx?RootFolder=https://my.st.com/public/STe2ecommunities/mcu/Lists/STM32Discovery/STM32f4%20discovery%20USB%20device%20example&FolderCTID=0x01200200770978C69A1141439FE559EB459D75800084C20D8867EAD444A5987D47BE638E0F&currentviews...

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