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




Loading

STM32F051

Posted by vishme7 on October 9, 2013

Hii,

i just stared my new project with freertos, i am using STM32F051 M0 controller. but i cant find any demo sample with FreeRtos not even on FreeRtos site. There is M3 demo codes for STM controller i just tried to port M3 To M0 but FreeRtos M3 Demo Application does not port to M3. for Development I want to use Keil not others. So how to Start with STMM0 with FreeRtos.


STM32F051

Posted by richardbarry on October 9, 2013

There is a demo for an ST Cortex-M0 part here: http://www.freertos.org/FreeRTOS-for-STM32F051-Cortex-M0-IAR.html

It is using IAR. The latest release version of FreeRTOS does not have a Cortex-M0 port for Keil, but the latest head revision in SVN does - you can take the code out of SVN for now. It will be released soon.

https://sourceforge.net/p/freertos/code/HEAD/tree/trunk/FreeRTOS/Source/portable/RVDS/ARM_CM0/

Regards.


STM32F051

Posted by vishme7 on October 9, 2013

hi Richard,

thnx for this help. yes i use FreeRtos 7.5.2 version but it does not have CM0 for Keil so how do i do it i implement port.c ,portmacro.h also necessary files like task.c,queue.c,list.c and heap_2.c,after compilation i got following errors:

Error: L6406E: No space in execution regions with .ANY selector matching heap_2.o(.bss). Error: L6407E: Sections of aggregate size 0x4400 bytes could not fit into .ANY selector(s).


STM32F051

Posted by richardbarry on October 9, 2013

yes i use FreeRtos 7.5.2 version but it does not have CM0 for Keil

The Keil port is in SVN - link in my first post.

Error: L6406E: No space in execution regions with .ANY selector matching heap_2.o(.bss).

This just looks like you have overflowed the amount of RAM in your project. Try lowering the value of configTOTALHEAPSIZE in FreeRTOSConfig.h, removing any heap defined by the project itself, and lowering the stack allocated to main() to about 400 (also defined in the project itself).

Regards.


[ 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