arm gcc

Developing STM32F4-Discovery firmware on Linux (Part 1)

In a world where all the developers are fogged under IDEs this post might sound a bit obsolete. But when it comes to highly demanding embedded applications the Electronics Engineers need unlimited access to hardware. Then we will have to rethink whether the flexibility we required is provided by the “Expensive” IDEs.

This blog post is an aggregation of information I found through following sites. I took time to repost them here to give them wider audience. They are wonderful references.

indexstm32f4_discovery_small

Links:

http://www.wolinlabs.com/blog/linux.stm32.discovery.gcc.html

https://github.com/texane/stlink

http://hackaday.com/2011/10/17/how-to-develop-for-stm32-discovery-boards-using-linux/

I tested the whole system under Ubuntu 14.04 LTS x64 OS. It worked perfectly. Mostly I followed the steps provided by the link 1. But some parts were carried out in a different way. I still did not try any debugging. In this post it will be about compiling and flashing a simple sample firmware.
(more…)