Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem TCP & FAT




Loading

FreeRTOS on CooCOX IDE with STM32F103C8T6 minimal dev board

Posted by nikola1010 on August 21, 2015

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

Posted by rtel on August 22, 2015

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.


FreeRTOS on CooCOX IDE with STM32F103C8T6 minimal dev board

Posted by nikola1010 on August 24, 2015

Thank you for information.

Kind regards.


[ Back to the top ]    [ About FreeRTOS ]    [ Sitemap ]    [ ]




Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.

Latest News

FreeRTOS kernel V10 is available for immediate download. Now MIT licensed.


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

OpenRTOS and SafeRTOS