using xEventGroupSetBitsFromISR get linker error V9.0.0

delphes wrote on Thursday, January 18, 2018:

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

rtel wrote on Thursday, January 18, 2018:

Have a look at the source code and docs and you will see
INCLUDE_xTimerPendFunctionCall must be set to 1 in FreeRTOSConfig.h, and
if timers are used, configUSE_TIMERS must also be set to 1.

delphes wrote on Thursday, January 18, 2018:

Thnaks Richard, I added your changes and since I checked configUSE_Timers to 1, I have new message about configTIMER_TASK_PRIORITY, this flag does not exist anywhere, so I should create any rules for the value ?

delphes wrote on Thursday, January 18, 2018:

I was finally oblige to add 3 lines :
define configTIMER_TASK_PRIORITY 6
define configTIMER_QUEUE_LENGTH 10
define configTIMER_TASK_STACK_DEPTH 256

I have no idea if the parameter I set are correct or not ?

rtel wrote on Thursday, January 18, 2018:

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

delphes wrote on Thursday, January 18, 2018:

Thanks but I am not using any FreeRTOS timer, but was oblige to set configUSE_TIMERS 1 I suppose xEventGroupSetBitsFromISR is using it.

rtel wrote on Thursday, January 18, 2018:

In which case, please read the documentation for
xEventGroupSetBitsFromISR():
https://www.freertos.org/xEventGroupSetBitsFromISR.html

Documentation first, questions second.