FreeRTOSConfig.h + STM32L

Hello all, Is anybody aware of the changes that need to be done in “FreeRTOSConfig.h” in order for it to be coupled with STM32L?
configKERNEL_INTERRUPT_PRIORITY,configMAX_SYSCALL_INTERRUPT_PRIORITY ?? Also, the priority used by the idle task is it 15 ????

FreeRTOSConfig.h + STM32L

I assume the number of interrupt priorities implemented on the STM32L is the same as all the other STM32 parts, in which case just copy the configKERNEL_INTERRUPT_PRIORITY and configMAX_SYSCALL_INTERRUPT_PRIORITY settings from FreeRTOS STM32 demo setting. I don’t think the idle task priority is 15 ever. It is set in the portable layer as 0. Why do you think it is 15?

FreeRTOSConfig.h + STM32L

Idle is always priority 0, the Tic interrupt would be 15 for that port as I believe that is one of the parts that uses big numbers for low interrupt priority.

FreeRTOSConfig.h + STM32L

I don’t think the idle task priority is 15 ever. It is set in the portable layer as 0. Why do you think it is 15?
Because on the FreeRTOS online manual it is mentioned
“on the STM32 the lowest priority you can specify in an ST driver library call is in fact 15 – and the highest priority you can specify is 0. ”

FreeRTOSConfig.h + STM32L

hello, Further is anybody aware of relevant changes needed to be done to vTaskStartScheduler() function called in the main.c when changing port from STM32F to STM32L? Thanks.

FreeRTOSConfig.h + STM32L

The ST Driver library deals with HARDWARE INTERRUPT LEVELS, not task priorities, these are very different. The only changes that should be needed would be to files in the portable directory tree. vTaskStartScheduler is not there. The functions that might need changing all have port at beginning of the name.

FreeRTOSConfig.h + STM32L

Hello Richard,
As I noticed the exception occurs within the vPortStartFirstTask() which will be called within the vTaskStartScheduler (). Any suggsetions on changing vPortStartFirstTask() of STM32F library to STM32L?