Hello.i using iar compiler , stm32f103 microcontroller and SPL library.i trying to use FreeRtos and everything is ok but this error:
Fatal Error[Li004]: file “\Project F1\EWARM\Debug\Obj\portasm.o” is not an object or archive file
All right, maybe you wrote main.c, but who assembled the project? Where did you download it from?
Although I also think that you are facing a problem with the tools, rather than FreeRTOS, some remarks and questions:
Fatal Error[Li004]: file “\Project F1\EWARM\Debug\Obj\portasm.o” is not an object or archive file
Not sure if it helps, but could you try to use a directory that does not contain any spaces?
E.g. use “\Project_F1” with an underscore.
Still today, there are tools / environments that do not understand spaces in a path.
Does portasm.o exist at all? Does portable\IAR\ARM_CM0\portasm.s get assembled?
Do you see logging about that?
Hi Mr.Hein . thanks for your post.
i just download them from this link https://sourceforge.net/projects/freertos/files/FreeRTOS/
FreeRTOSv9.0.0.exe (16.1 MB)
and i made project my self
i clean my project and rebuild it
my error was fixed
i mean this error
Fatal Error[Li004]: file “\Project F1\EWARM\Debug\Obj\portasm.o” is not an object or archive file
and uploaded to my board
but didnt work just print hhi to my serial port
its just one task