using xEventGroupSetBitsFromISR get linker error V9.0.0
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
using xEventGroupSetBitsFromISR get linker error V9.0.0
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.
using xEventGroupSetBitsFromISR get linker error V9.0.0
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 ?
using xEventGroupSetBitsFromISR get linker error V9.0.0
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 ?
using xEventGroupSetBitsFromISR get linker error V9.0.0
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
using xEventGroupSetBitsFromISR get linker error V9.0.0
Thanks but I am not using any FreeRTOS timer, but was oblige to set configUSE_TIMERS 1 I suppose xEventGroupSetBitsFromISR is using it.
using xEventGroupSetBitsFromISR get linker error V9.0.0
In which case, please read the documentation for
xEventGroupSetBitsFromISR():
https://www.freertos.org/xEventGroupSetBitsFromISR.html
Documentation first, questions second.