cancel
Showing results for 
Search instead for 
Did you mean: 

STM32-WL55JC: "Cannot use executable file as input to a link" issue

PGior.2
Associate

Hello.

I'm trying to run this LoRaWAN FUOTA code: github.com/ SylvainMontagny/STM32WL/tree/main/STM32WL_FUOTA (that's the Single-core project on the Application Note AN5554), but i get the following error:

c:\st\stm32cubeide_1.9.0\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.win32_1.0.0.202111181127\tools\arm-none-eabi\bin\ld.exe: cannot use executable file as input to a link 'C:/Users/USER/Downloads/STM32WL-main/STM32WL_FUOTA/Projects/NUCLEO-WL55JC/Applications/LoRaWAN_FUOTA/1_Image_BFU/STM32CubeIDE/Debug/se_interface_app.o' as input to a link

I've linked the "se_interface_app.o" file in Properties > C/C++ build > Tool Settings > MCU GCC Linker > Miscellaneous > Additional Object Files, but it didn't help.

How can i solve it? Any suggestions?

Thanks in advance :grinning_face:

2 REPLIES 2
Louis AUDOLY
ST Employee

Hello @PGior.2​ 

Could you try with the example of the official STM32Cube_FW_WL_V1.2.0 under "Projects\NUCLEO-WL55JC\Applications\LoRaWAN_FUOTA" please and check if you have the same error.

Let me know if this help you.

Regards

Louis