# STM32F0Discovery using generic GCC

**URL:** <https://forums.freertos.org/t/stm32f0discovery-using-generic-gcc/3609>\
**Category:** Kernel\
**Created:** [September 13, 2012, 3:14pm UTC](https://forums.freertos.org/t/stm32f0discovery-using-generic-gcc/3609 "2012-09-13T15:14:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [September 13, 2012, 3:14pm UTC](https://forums.freertos.org/t/stm32f0discovery-using-generic-gcc/3609/1 "2012-09-13T15:14:43Z")

</div>

**[grunzasr1](https://sourceforge.net/u/grunzasr1/)** wrote on [Thursday, September 13, 2012](https://sourceforge.net/p/freertos/discussion/382005/thread/a08c9d9a/#7758):

I’ve put together a generic FreeRTOS demo that runs on ST Micro’s STM32F0Discovery board.&nbsp; I’ve added 8 LED’s and a RS-232 level shifter to my board.&nbsp; The code builds using Mentor Graphics lite version of CodeSourcery - command line only.&nbsp; This code allows a minimal cost intro to FreeRTOS on ST’s lowest cost CortexM0 eval board.&nbsp; If there is any interest in my posting this code, please let me know how to do it and I’ll try to make it available.

Note:&nbsp; There’s not much original code in this demo.&nbsp; I’ve basically taken bits and pieces to allow me to build it with free tools.

---

<div class="post-metadata">

**Author:** ![rtel](https://d3iykfbgfh8zhg.cloudfront.net/user_avatar/forums.freertos.org/rtel/32/31_2.png) [@rtel](https://forums.freertos.org/u/rtel)\
**Post date:** [September 13, 2012, 3:22pm UTC](https://forums.freertos.org/t/stm32f0discovery-using-generic-gcc/3609/2 "2012-09-13T15:22:41Z")

</div>

**[rtel](https://sourceforge.net/u/rtel/)** wrote on [Thursday, September 13, 2012](https://sourceforge.net/p/freertos/discussion/382005/thread/a08c9d9a/#a553):

That sounds great.&nbsp; There absolutely is interest in you posting the code!&nbsp; I wish more people would.

You can post it here: [http://interactive.freertos.org/forums/135228-stmicroelectronics](http://interactive.freertos.org/forums/135228-stmicroelectronics)&nbsp; A few words on how to build and execute it would also be appreciated.

Regards.

---

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [September 13, 2012, 3:50pm UTC](https://forums.freertos.org/t/stm32f0discovery-using-generic-gcc/3609/3 "2012-09-13T15:50:59Z")

</div>

**[grunzasr1](https://sourceforge.net/u/grunzasr1/)** wrote on [Thursday, September 13, 2012](https://sourceforge.net/p/freertos/discussion/382005/thread/a08c9d9a/#a39a):

Ok.&nbsp; I’ll write up some info and upload it, hopefully today.
