In FreeRTOS 9.0.0 on STM32L4 (using KEiL), I got linker error : L6218E: Undefined symbol xTimerPendFunctionCallFromISR (referred from main.o). I just added calling xEventGroupSetBitsFromISR function in my IRQ routine. Some help please Thanks
Have a look at the source code and docs and you will see INCLUDExTimerPendFunctionCall must be set to 1 in FreeRTOSConfig.h, and if timers are used, configUSETIMERS must also be set to 1.
Thnaks Richard, I added your changes and since I checked configUSETimers to 1, I have new message about configTIMERTASK_PRIORITY, this flag does not exist anywhere, so I should create any rules for the value ?
I was finally oblige to add 3 lines : define configTIMERTASKPRIORITY 6 define configTIMERQUEUELENGTH 10 define configTIMERTASKSTACK_DEPTH 256 I have no idea if the parameter I set are correct or not ?
Please read the timer documentation on the webpage: https://www.freertos.org/RTOS-software-timer.html and/or in the free to download (if slightly out of date) book: https://www.freertos.org/Documentation/RTOS_book.html
Thanks but I am not using any FreeRTOS timer, but was oblige to set configUSE_TIMERS 1 I suppose xEventGroupSetBitsFromISR is using it.
In which case, please read the documentation for xEventGroupSetBitsFromISR(): https://www.freertos.org/xEventGroupSetBitsFromISR.html Documentation first, questions second.
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.