Hi,
I am trying to compile using cmake, all the components[Softdevice, Freertos, Drivers] are built as static libraries.
Using SEGGER Embedded Studio projects compiles without any issues.
We also need to support build support using CMAKE tool, so I have written the cmake for individual modules [ like Softdevice, Freertos, Drivers]. Each module is built as static library and finally executable [.elf] is generated by combining the libraries.
All modules are built but at linking stage I am getting below error
arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: cannot find crti.o: No such file or directory
arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: cannot find crtbegin.o: No such file or directory
arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: cannot find crt0.o: No such file or directory
I looked into the SEGGER installation tool chain folder but it doesn't have this files but the code compiles perfectly fine using SEGGER embedded studio.
I am not sure why crti.o flies are required.. also I doubt on the compiler settings.
Can someone help me to proceed further to fix this issue!
Thanks,
Kulkarni