I am trying to add two libraries, libfreertos.a and STemWin532_CM7_IAR.a to an Eclipse C/C++ project in order to program a STM32f7 board. I keep getting
cannot find -llibfreertos.a
and
cannot find -lSTemWin532_CM7_IAR.a
errors.
This is the command Eclipse tries to execute:
arm-none-eabi-gcc -mcpu=cortex-m7 -mthumb -mfloat-abi=hard -mfpu=fpv5-sp-d16 -L"C:\Users\q73624\Documents\STM32_Workspace\Wallbox_Sys_Workbench\Middlewares\ST\STemWin\Lib" -specs=nosys.specs -specs=nano.specs -T"../STM32F746NGHx_FLASH.ld" -Wl,-Map=output.map -Wl,--gc-sections -o "Wallbox_Sys_Workbench.elf" @"objects.list" -l"libfreertos.a" -l"STemWin532_CM7_IAR.a"
I am aware of C++: External library in eclipse CDT
[1]: C++: External library in eclipse CDT, but that post was for linux, so I am not sure what applies to my case. I also tried with full path and without the '.a' extension, nothing seemed to work. Please give some advice.