Skip to main content
MPyt.1
Associate
November 23, 2020
Question

STM32L476RG_NUCLEO_2_Images_SBSFU doesn't build

  • November 23, 2020
  • 2 replies
  • 743 views

I'm trying to finish a first homework related to the SBSFU. I can build the SECoreBin project which at the end generates the SECoreBin.bin file. So it works fine. Next I try to build the SBSFU project but then I get

"Nothing to build for project STM32L476RG_NUCLEO_2_Images_SBSFU"

Building the UserApp ends with an error:

c:\st\stm32cubeide_1.4.2\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.4.0.202007081208\tools\arm-none-eabi\bin\ld.exe: cannot find -l:se_interface_app.o
collect2.exe: error: ld returned 1 exit status
make[1]: *** [makefile:58: UserApp.elf] Error 1
make: *** [makefile:51: all] Error 2
"make all" terminated with exit code 2. Build might be incomplete.

All the tools are installed correctly, Java is updated.

Michal

    This topic has been closed for replies.

    2 replies

    Frantz LEFRERE
    ST Employee
    November 23, 2020

    Hello Michal,

    could you please try again this ?

    Select

    STM32L476RG_NUCLEO_2_Images_SECoreBin

    Clean Project

    Build project

    Insure to get this trace :

    "arm-none-eabi-objcopy -O binary SECoreBin.elf "SECoreBin.bin"

    Finished building: SECoreBin.bin

    14:27:43 Build Finished. 0 errors, 0 warnings. (took 25s.201ms)"

    Select STM32L476RG_NUCLEO_2_Images_SBSFU

    Clean Project

    Build project

    Insure to get this trace :

    "

    ....

    arm-none-eabi-objcopy -j .SE_IF_Code "SBSFU.elf" se_inter.elf > /dev/null 2>>1

    arm-none-eabi-objcopy --extract-symbol se_inter.elf se_interface_app.elf

    arm-none-eabi-objcopy -S --keep-symbols=../se_interface.txt se_interface_app.elf se_interface_app.o

    14:30:03 Build Finished. 0 errors, 0 warnings. (took 1m:3s.786ms)"

    If it still not working I would advise to delete the 3 project from CubeIDE and erase the the SBSFU folder and restart installation of SBSFU.

    I will send you an invitation for a help session ( at 4.00pm) .

    Best regards,

    Frantz

    MPyt.1
    MPyt.1Author
    Associate
    November 23, 2020

    Franz,

    Thanks for the quick answer!

    So, I tried cleaning projects before building them - it didn't help.

    However, I deleted a whole workspace in the Cube IDE and deleted the STM32CubeExpansion_SBSFU_V2.4.0 folder from the STM32SecuWS\L4. Then I created a new workspace and copied again a fresh package to the STM32SecuWS\L4. After that I'm finally able to build everything without any errors.

    Thanks a lot for your support!

    Michal