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 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 )
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?