Quality RTOS & Embedded Software

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




Loading

Linker Error Messages IAR Tools -> ST712

Posted 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 -> ST712

Posted 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 -> ST712

Posted 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 -> ST712

Posted 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 -> ST712

Posted by phil on June 14, 2007
Thanks Dave,

All linking now with no errors.

Phil


[ 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