Quality RTOS & Embedded Software

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


linking errors =(

Posted by ricardo marinheiro on July 5, 2008
Hi everyone!
I'm new with this rtos, and i'm having problems using ST91x ARM9 port.
Linking errors like these:
Error[Li005]: no definition for "vPortFree" [referenced from F:\ricmarin\tellus\STARM\ledblinkst91x\Debug\Obj\task.o]
Error[Li005]: no definition for "vPortStartFirstTask" [referenced from F:\ricmarin\tellus\STARM\ledblinkst91x\Debug\Obj\port.o]
Error[Li005]: no definition for "pvPortMalloc" [referenced from F:\ricmarin\tellus\STARM\ledblinkst91x\Debug\Obj\task.o]
maybe a missing an include file, but vPortStartFirstTask for example is given as an external fuction, but from where?...
could someone give me a little hand with this?.. thank you very much!

RE: linking errors =(

Posted by Richard on July 5, 2008
On the assumption you are using the IAR port:

vPortStartFristTask() is defined in Source\portable\IAR\STR91x\portasm.s79.
vPortMalloc() and vPortFree() are defined in Source\portable\MemMang\heap_n.c where n is 1, 2 or 3.

You might consider using the existing STR9 demo project file as this would give you a working project to start from.


linking errors =(

Posted by ricardo marinheiro on July 10, 2008
hi Richard
Thanks for the tip, the errors are finaly gone, but even so my little led blinking task does'nt work...
It just don't add it to the "task manager".
Tried to do as you told me, use the demo prog, but when linking it pass the 32kb IAR demo program limit.
If someone know where can i get a simple toggle led program for STR9 of IAR, with using freeRTOS, PLEASE leave a tip...
Thank you

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

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


FreeRTOS and other embedded software careers at AWS.

Latest News

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

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

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