FreeRTOS with STM32L

Hello all, Am interesting in using FreeRTOS with STM32L. Are there any demos available? Thank you.

FreeRTOS with STM32L

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.

FreeRTOS with STM32L

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

FreeRTOS with STM32L

x

FreeRTOS with STM32L

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.

FreeRTOS with STM32L

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

FreeRTOS with STM32L

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

FreeRTOS with STM32L

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

FreeRTOS with STM32L

Thanks for replying Stefan. :) I have already included the misc.c file and compilation issue has been solved 😀