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] [November 2010 Threads] FreeRTOSConfig.h + STM32LPosted by Anuradha on November 30, 2010 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 ????
RE: FreeRTOSConfig.h + STM32LPosted by Dave on November 30, 2010 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?
RE: FreeRTOSConfig.h + STM32LPosted by Richard Damon on November 30, 2010 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.
RE: FreeRTOSConfig.h + STM32LPosted by Anuradha on December 1, 2010 “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. "
RE: FreeRTOSConfig.h + STM32LPosted by Anuradha on December 1, 2010 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.
RE: FreeRTOSConfig.h + STM32LPosted by Richard Damon on December 1, 2010 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.
RE: FreeRTOSConfig.h + STM32LPosted by Anuradha on December 2, 2010 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?
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|