cancel
Showing results for 
Search instead for 
Did you mean: 

GNU gcc toolchain on linux

vicki19880929
Associate III
Posted on August 10, 2013 at 00:33

Hi all,

I've been playing with different peripheral examples of STM32L-Discovery on MDK-ARM (Keil) environment.  Recently I'd like to move to linux with GNU gcc tool chain.  I had a hard time learning to write a Makefile for a large project with multiple layers of directories. Recently,  I'm trying to write Makefile for examples of STM32L peripherals (STSW-STM32077).  I wonder if anyone knows some good examples/tutorial out there where I could learn from?  The Makefiles I downloaded from some people's repo are pretty complicated.  :(

Any suggestions are welcome.  Thanks!!

Shan

2 REPLIES 2
zzdz2
Associate II
mailmail9116
Associate II
Posted on August 11, 2013 at 07:23

Hi Shan ,

There is a very good plugin for eclipse that you can use , it generates the makefile automatically for you , so you dont need to do anything in this aspect .

It is called : GNU ARM Eclipse plug-in

http://sourceforge.net/projects/gnuarmeclipse/

It works with codesourcery,yagarto  and many other tool-chains  , me myself i use GCC ARM Embedded as its free and has FPU support

https://launchpad.net/gcc-arm-embedded

Michael