I am trying to port FreeRTOS for Stm32F407 MCU in IAR IDE. I added most of the required files but I am getting a build error for vPortEnableVFP and vPortStartFirstTask function which are defined in portasm.s which I have included in my project.
Error[Li005]: no definition for “vPortEnableVFP” [referenced from C:\Projects\IAR\Eth_FreeRTOS_F4\EWARM\Eth_FreeRTOS_F4\Obj\portable_15954926109208205999.dir\port.o]
Error[Li005]: no definition for “vPortStartFirstTask” [referenced from C:\Projects\IAR\Eth_FreeRTOS_F4\EWARM\Eth_FreeRTOS_F4\Obj\portable_15954926109208205999.dir\port.o]
Are there any additional steps required to overcome this error ?
You are not building portasm.s in your project. Adding it to your project fixes the problem. Please apply the following patch to add portasm.s to your project: build_portasm.h (1.8 KB). Rename build_portasm.h to build_portasm.patch and apply it.