Quality RTOS & Embedded Software

NOTE:This is a read only archive of threads posted to the FreeRTOS support forum. Use these archive pages to search previous posts. New forum support threads can be started at the FreeRTOS forums.

FreeRTOS Support Archive

The FreeRTOS support forum can be used for active support both from Amazon Web Services and the community. In return for using our software for free, we request you play fair and do your bit to help others! Sign up for an account and receive notifications of new support topics then help where you can.

This is a read only archive of threads posted to the FreeRTOS support forum. Use these archive pages to search previous posts. New forum support threads can be started at the FreeRTOS forums.

FreeRTOS on CooCOX IDE with STM32F103C8T6 minimal dev board

Hi all,
just starting with STM32. I got STM32F103C8T6 minimal dev board from ebay and looking around found free CooCOX IDE.
Just as disclaimer I want to state that I am not connected with CooCox people in any way and only reason that I’ve started to use them was because they were free and as it seems the easiest way to go from 0 to blinky.
I’ve looked through all of the site learning and reading but I am unable to just make simple compilation of FreeRTOS on CooCox IDE.
Could someone provide samples or pointers on how to do it.
I wan’t to make it work so I can start learning FreeRTOS from working version (it is much easier when something just runs 🙂
Thanks for help in advance.

FreeRTOS on CooCOX IDE with STM32F103C8T6 minimal dev board

For a free Eclipse environemnt there is also the System Workbench option: http://www.openstm32.org/System+Workbench+for+STM32
For a paid for Eclipse environment, with lots of simple FreeRTOS demos, there is Atollic:
http://info.atollic.com/freertos-support
I’m afraid we don’t have any pre-configured examples for that particular IDE, so you would have to create something.
Normally we created Ecipse projects by creating virtual folders that reference then build the FreeRTOS source code without moving the FreeRTOS soruce files from their standard position in the FreeRTOS distrubution. That can be complex, but only because of the way Eclipse works, FreeRTOS itself has very few source files. Creating virtual folders is described on the following link, but for now, I as an easier way of getting started, you might just want to copy the FreeRTOS files into your project directory:
http://www.freertos.org/ProjectWorkspaceRelativeFilePaths_Eclipse.html
The files you need are described on the following links:
http://www.freertos.org/Creating-a-new-FreeRTOS-project.html
http://www.freertos.org/porting-a-freertos-demo-to-different-hardware.html
Althoug using a completely different port, you could use the Eclipse version of the FreeRTOS windows port as a reference:
http://www.freertos.org/FreeRTOS-Windows-Simulator-Emulator-for-Visual-Studio-and-Eclipse-MingW.html
Rather than using the Win32 port files though, you will need either the files from the FreeRTOS/Source/Portable/GCC/ARMCM3 folder, if your part is either Cortex-M3 or Cortex-M4 without an FPU, or the files from the FreeRTOS/Source/Portable/ARMCM4F folder if your part is Cortex-M4 with floating point.
You will also need a FreeRTOSConfig.h file – you can use a FreeRTOSConfig.h supplied with one of the other STM32 projects as a starting point for that. You can see a list of STM32 projects here:
http://www.freertos.org/a00090.html#ST
Hope something there helps.
Regards.