Quality RTOS & Embedded Software

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




Loading

FreeRTOS with STM32L

Posted by Anuradha on November 24, 2010
Hello all,

Am interesting in using FreeRTOS with STM32L.

Are there any demos available?



Thank you.

RE: FreeRTOS with STM32L

Posted by Richard on November 24, 2010
The FreeRTOS Cortex M3 port layer is identical for all Cortex M3 devices from all manufacturers. While there might not be a pre-configured demo for your particular device, the port layer code will work with it without modification. I would suggest starting with a project for a different STM32 device to get the basic set up, then make the changes to the linker script, etc. to get it running on your chosen part.

You should also consider the amount of RAM available. Some of the L parts are quite limited in the amount of RAM they have, which will limit the number of tasks you can create.

Regards.

RE: FreeRTOS with STM32L

Posted by STF12 on November 25, 2010
Hi all,

I'm working on a FreeRTOS demo for STM32L. At the moment the missing component is the release version of the ST Standard Library (I have a beta version). When it will be available I will share my demo.

Regards,
Stefano

RE: FreeRTOS with STM32L

Posted by Anuradha on November 25, 2010
x

RE: FreeRTOS with STM32L

Posted by Anuradha on November 29, 2010
Hello Stefan,
Really glad to hear that you are working with STM32L.

What is the compiler you are using?

Is it IAR workbench or something else?

Thank you.

RE: FreeRTOS with STM32L

Posted by STF12 on November 29, 2010
hi all,
At the moment I'm working on both GCC+Eclipse and IAR, but to flash the micro and debug I'm using only IAR.
At the moment STM32 L seems in an early state, so the best supported toolchain is IAR, but I hope that when the STM32 introduction package (from ST) will be ready, all major toolchain will be supported.

Regards,
Stefano

RE: FreeRTOS with STM32L

Posted by Anuradha on November 30, 2010
Hello all,
In the main function of the "CORTEX_STM32F103_IAR " demo project of FreeRTOS
NVIC_SetVectorTable() function which is declared in stm32f10x_nvic.h is used.
When modifying the demo to STM32L, is there a specific header file provided by ST to be usd instead of stm32f10x_nvic.h?

Thanks

Hope you can

RE: FreeRTOS with STM32L

Posted by STF12 on December 1, 2010
Hi,

which version of ST Library are you using? From the version v3.0.0 the library are compliant to CMSIS standard and the NVIC_xxx related functions are defined (and declared) in the misc.c (misc.h) file. If you are using an older version let me suggest to start from the current release.

Regards,
Stefano

RE: FreeRTOS with STM32L

Posted by Anuradha on December 1, 2010
Thanks for replying Stefan. :)

I have already included the misc.c file and compilation issue has been solved :D


[ 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