FreeRTOS with STM32L

anuradha123 wrote on Wednesday, November 24, 2010:

Hello all,

Am interesting in using FreeRTOS with STM32L.

Are there any demos available?

Thank you.

rtel wrote on Wednesday, 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.

anonymous wrote on Thursday, 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

anuradha123 wrote on Thursday, November 25, 2010:

x

anuradha123 wrote on Monday, 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.

anonymous wrote on Monday, 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

anuradha123 wrote on Tuesday, 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

anonymous wrote on Wednesday, December 01, 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

anuradha123 wrote on Wednesday, December 01, 2010:

Thanks for replying Stefan. :slight_smile:

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