Quality RTOS & Embedded Software

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


FreeRTOS with STM3210C-Eval

Posted by m20c on April 16, 2014

Hello, I'm actually a beginner in FreeRTOS and to the embedded development in general, i was able to run a FreeRTOS Demo on a STM3210C-Eval. In order to get familiar with FreeRTOS i have to start creating tasks but i couldn't find enough documentation that board, For example how can i create a simple Blinkin Led task with FreeRTOS on the STM3210C-Eval in ordre to test the board ?

Thank you.

FreeRTOS with STM3210C-Eval

Posted by edwards3 on April 16, 2014

You have FreeRTOS running on the board, where did you get the code from? Most projects have LED blinking tasks already. You need to start with known working functions that turn LEDs on and off, then create a task that in its simplest form just loops, delaying and toggling on each loop:

void myTask( void *param ) { while(1) { toggle_led(); vTaskDelay( 200 ); } }

Every demo application gives lots of example of how to create the task, and there are even more examples in the FreeRTOS/Demo/Common/Minimal folder. The API for creating a task is also here http://www.freertos.org/a00125.html

Other pages that might be useful for you http://www.freertos.org/porting-a-freertos-demo-to-different-hardware.html

FreeRTOS with STM3210C-Eval

Posted by m20c on April 17, 2014

Thank you, I'll begin with that.

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

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


FreeRTOS and other embedded software careers at AWS.

Latest News

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

FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Espressif ESP32

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

Xilinx Microblaze and Zynq partner