FreeRTOS Support Archive
The FreeRTOS support forum is used to obtain active support directly from Real
Time Engineers Ltd. In return for using our top quality software and services for
free, we request you play fair and do your bit to help others too! Sign up
to 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.
The archive is updated every week, so will not always contain the very latest posts.
Use these archive pages to search previous posts. Use the Live FreeRTOS Forum
link to reply to a post, or start a new support thread.
[FreeRTOS Home] [Live FreeRTOS Forum] [FAQ] [Archive Top] [October 2013 Threads] 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.
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|