Quality RTOS & Embedded Software

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




Loading

Getting error for vTaskDelayUntil task

Posted by ephobb on December 29, 2015

Hi,

i was trying to use the vTaskDelayUntil task in one task. but compiler throwing some error's. error as:

freeRTOS ConfigurationfreeRTOS Configuration.axf: Error: L6218E: Undefined symbol vTaskDelayUntil (referred from main.o). Not enough information to list image symbols. Finished: 1 information, 0 warning and 1 error messages.

I checked vTaskDelay is working but if i use vTaskDelayuntil then compiler start throwing errors.

i m using Keil compiler.


Getting error for vTaskDelayUntil task

Posted by davedoors on December 29, 2015

have you set INCLUDE_vTaskDelayUntil to 1 in FreeRTOSConfig.h?


Getting error for vTaskDelayUntil task

Posted by ephobb on December 29, 2015

Thanks, i was not aware of this.


Getting error for vTaskDelayUntil task

Posted by ephobb on December 29, 2015

Thanks, i was not aware of this.


Getting error for vTaskDelayUntil task

Posted by rtel on December 29, 2015

vTaskDelayUntil() is implemented in FreeRTOS/Source/tasks.c (that is what the 'Task' in the function name means). You can search for the function in that file to see that it has a dependency on INCLUDE_vTaskDelayUntil.

Pre-processor symbols that remove entire functions are generally a waste of space anyway, as most linkers will automatically remove functions that are not referenced. The only toolchain I know that doesn't do that by default is GCC - but most people (and GCC vendors) that use GCC manually set the compiler options to remove dead code.


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




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

Latest News

FreeRTOS kernel V10 is available for immediate download. Now MIT licensed.


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

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