Skip to main content
vicki19880929
Associate III
August 9, 2013
Question

GNU gcc toolchain on linux

  • August 9, 2013
  • 2 replies
  • 800 views
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

    This topic has been closed for replies.

    2 replies

    zzdz2
    Associate
    August 10, 2013
    mailmail9116
    Associate III
    August 11, 2013
    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