Linker Error Messages IAR Tools -> ST712

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:SoftwareProjectsFirmwareMyFirstDebugObjport.r79 ) Error[e46]: Undefined external "pvPortMalloc" referred in tasks ( C:SoftwareProjectsFirmwareMyFirstDebugObjtasks.r79 ) Error[e46]: Undefined external "vPortFree" referred in tasks ( C:SoftwareProjectsFirmwareMyFirstDebugObjtasks.r79 ) Error[e46]: Undefined external "vPortYieldProcessor" referred in vect ( C:SoftwareProjectsFirmwareMyFirstDebugObjvect.r79 ) Error[e46]: Undefined external "vPortPreemptiveTickISR" referred in vect ( C:SoftwareProjectsFirmwareMyFirstDebugObjvect.r79 ) Error[e46]: Undefined external "vSerialISREntry" referred in vect ( C:SoftwareProjectsFirmwareMyFirstDebugObjvect.r79 ) Can anyone point me in the right direction to fix this problem. Thanks Phil

Linker Error Messages IAR Tools -> ST712

Looks like you forgot to add the sourceportableiarstr71xportasm.s79 file to your project. Why have you created a new project rather than just using the one in the download? Dave.

Linker Error Messages IAR Tools -> ST712

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:SoftwareProjectsFirmwareMyFirstDebugObjtasks.r79 ) Error[e46]: Undefined external "vPortFree" referred in tasks ( C:SoftwareProjectsFirmwareMyFirstDebugObjtasks.r79 )  Error[e46]: Undefined external "vSerialISREntry" referred in vect ( C:SoftwareProjectsFirmwareMyFirstDebugObjvect.r79 )

Linker Error Messages IAR Tools -> ST712

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?

Linker Error Messages IAR Tools -> ST712

Thanks Dave, All linking now with no errors. Phil