Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem


Loading

using xEventGroupSetBitsFromISR get linker error V9.0.0

Posted by delphes on 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


using xEventGroupSetBitsFromISR get linker error V9.0.0

Posted by rtel on January 18, 2018

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

Posted by delphes on January 18, 2018

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

Posted by delphes on January 18, 2018

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

Posted by rtel on 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


using xEventGroupSetBitsFromISR get linker error V9.0.0

Posted by delphes on 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.


using xEventGroupSetBitsFromISR get linker error V9.0.0

Posted by rtel on January 18, 2018

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

Documentation first, questions second.


[ Back to the top ]    [ About FreeRTOS ]    [ Privacy ]    [ Sitemap ]    [ ]


Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.

Latest News

Version 10.1.1 of the FreeRTOS kernel is available for immediate download. MIT licensed.

View a recording of the "OTA Update Security and Reliability" webinar, presented by TI and AWS.


Careers

FreeRTOS and other embedded software careers at AWS.



FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Espressif ESP32

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

Renesas

STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

OpenRTOS and SafeRTOS

Xilinx Microblaze and Zynq partner