FreeRTOS Support Archive
The FreeRTOS support forum is used to obtain active support directly from Real
Time Engineers Ltd. In return for using our top quality software and services for
free, we request you play fair and do your bit to help others too! Sign up
to receive notifications of new support topics then help where you can.
This is a read only archive of threads posted to the FreeRTOS support forum.
The archive is updated every week, so will not always contain the very latest posts.
Use these archive pages to search previous posts. Use the Live FreeRTOS Forum
link to reply to a post, or start a new support thread.
[FreeRTOS Home] [Live FreeRTOS Forum] [FAQ] [Archive Top] [June 2007 Threads] Linker Error Messages IAR Tools -> ST712Posted by phil on June 13, 2007 Hopefully this is a basic error?
I am using the IAR Workbench with the ST712 i have created a new project with all the latest release files required to run the RTOS. All of the files compile with no errors but I get several linker error messages:
Error[e46]: Undefined external "vPortStartFirstTask" referred in port ( C:\SoftwareProjects\Firmware\MyFirst\Debug\Obj\port.r79 )
Error[e46]: Undefined external "pvPortMalloc" referred in tasks ( C:\SoftwareProjects\Firmware\MyFirst\Debug\Obj\tasks.r79 )
Error[e46]: Undefined external "vPortFree" referred in tasks ( C:\SoftwareProjects\Firmware\MyFirst\Debug\Obj\tasks.r79 )
Error[e46]: Undefined external "vPortYieldProcessor" referred in vect ( C:\SoftwareProjects\Firmware\MyFirst\Debug\Obj\vect.r79 )
Error[e46]: Undefined external "vPortPreemptiveTickISR" referred in vect ( C:\SoftwareProjects\Firmware\MyFirst\Debug\Obj\vect.r79 )
Error[e46]: Undefined external "vSerialISREntry" referred in vect ( C:\SoftwareProjects\Firmware\MyFirst\Debug\Obj\vect.r79 )
Can anyone point me in the right direction to fix this problem.
Thanks
Phil
RE: Linker Error Messages IAR Tools -> ST712Posted by Dave on June 13, 2007 Looks like you forgot to add the source\portable\iar\str71x\portasm.s79 file to your project.
Why have you created a new project rather than just using the one in the download?
Dave.
RE: Linker Error Messages IAR Tools -> ST712Posted by phil on June 13, 2007 Dave,
Thanks for the pointer I did forget the portasm.s79 file that fixed some of the error I am now left with the ones below. My first project was one of the demo application i down loaded that run great on my dev board. I decided that I would like to build a project from start as it would help me to understand the settings in the IAR workbench and the RTOS system. I am nearly there just got stuck with the linker error.
Thanks Phil.
Error[e46]: Undefined external "pvPortMalloc" referred in tasks ( C:\SoftwareProjects\Firmware\MyFirst\Debug\Obj\tasks.r79 )
Error[e46]: Undefined external "vPortFree" referred in tasks ( C:\SoftwareProjects\Firmware\MyFirst\Debug\Obj\tasks.r79 )
Error[e46]: Undefined external "vSerialISREntry" referred in vect ( C:\SoftwareProjects\Firmware\MyFirst\Debug\Obj\vect.r79 )
RE: Linker Error Messages IAR Tools -> ST712Posted by Dave on June 13, 2007 You also need to include either heap_1, heap_2 or heap_3.c. Not sure about the vSerialISREntry one, but I would guess that this is also in an assembler file as the IAR tool needs assembler entry points to ISR's. Is there another assembly file with the serial driver?
RE: Linker Error Messages IAR Tools -> ST712Posted by phil on June 14, 2007 Thanks Dave,
All linking now with no errors.
Phil
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|