GNU gcc toolchain on linux
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2013-08-09 3:33 PM
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 discussion is locked. Please start a new topic to ask your question.
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2013-08-10 1:54 AM
Posted on August 10, 2013 at 10:54
You can read the docs.
For large project you would use autoconf and automake.http://www.gnu.org/software/make/manual/make.html#Introduction
http://www.gnu.org/software/automake/manual/automake.html#Introduction
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2013-08-10 10:23 PM
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