Quality RTOS & Embedded Software

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




Loading

Port FREERTOS on efm32

Posted by EL FADI on October 17, 2011
Hello everybody
Since a week I tried to port FreeRTOS on the efm32 gecko dev kit,and I have this error :

undefined reference to `vTaskDelete'.

I dont work on IAR , i just copied files into Coocox CoID ,and it compiles , but when the link step begin I have this error.
Can you please tell me what i'm doing wrong?

RE: Port FREERTOS on efm32

Posted by Richard on October 17, 2011
Search the FreeRTOS/Source directory for the definition of vTaskDelete() - look at it - and you will probably see what you are doing wrong.

Regards.

RE: Port FREERTOS on efm32

Posted by EL FADI on October 17, 2011
I did it ther is no definition just this :

void vTaskDelete( xTaskHandle pxTaskToDelete ) PRIVILEGED_FUNCTION;



RE: Port FREERTOS on efm32

Posted by EL FADI on October 17, 2011
sorry i found it !! I will see if i can solve the problem thanks

RE: Port FREERTOS on efm32

Posted by EL FADI on October 17, 2011
I found that this line makes the problem :

#if ( INCLUDE_vTaskDelete == 1 )
what that means?However I included the path directory where the file definition is present.


RE: Port FREERTOS on efm32

Posted by EL FADI on October 17, 2011
ANOTHER QUESTION IF YOU ALLOW :

I have also an error : #error This demo uses timers. configUSE_TIMERS must be set to 1 in FreeRTOSConfig.h.

and in the config file :

#ifndef configUSE_TIMERS
#error This demo uses timers. configUSE_TIMERS must be set to 1 in FreeRTOSConfig.h.
#endif

#if configUSE_TIMERS != 1
#error This demo uses timers. configUSE_TIMERS must be set to 1 in FreeRTOSConfig.h.
#endif


thats mean in the two cases I have the same error ,I don't really understand all thes process because it is not really my work ,so any suggestion to unblock these problems?what i'm missing exactly?

RE: Port FREERTOS on efm32

Posted by Dave on October 17, 2011
As the error says, you need to set configuration options in FreeRTOSConfig.h, which will be in your application source tree somewhere. The options are listed here http://www.freertos.org/a00110.html


[ 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