Quality RTOS & Embedded Software

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


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 ]    [ Sitemap ]    [ ]

Copyright (C) 2004-2010 Richard Barry. Copyright (C) 2010-2016 Real Time Engineers Ltd.
Any and all data, files, source code, html content and documentation included in the FreeRTOSTM distribution or available on this site are the exclusive property of Real Time Engineers Ltd.. See the files license.txt (included in the distribution) and this copyright notice for more information. FreeRTOSTM and FreeRTOS.orgTM are trade marks of Real Time Engineers Ltd.

Latest News:

FreeRTOS V9.0.0 is now available for download.

Free TCP/IP and file system demos for the RTOS

Sponsored Links

⇓ Now With No Code Size Limit! ⇓
⇑ Free Download Without Registering ⇑

FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Renesas Electronics Gold Alliance RTOS Partner.jpg

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

Atmel RTOS partner supporting ARM Cortex-M3 and AVR32 microcontrollers

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

Xilinx Microblaze and Zynq partner

Silicon Labs low power RTOS partner

Altera RTOS partner for Nios II and Cortex-A9 SoC

Freescale Alliance RTOS Member supporting ARM and ColdFire microcontrollers

Infineon ARM Cortex-M microcontrollers

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

Cypress RTOS partner supporting ARM Cortex-M3

Fujitsu RTOS partner supporting ARM Cortex-M3 and FM3

Microsemi (previously Actel) RTOS partner supporting ARM Cortex-M3

Atollic Partner

IAR Partner

Keil ARM Partner

Embedded Artists