cancel
Showing results for 
Search instead for 
Did you mean: 

SBSFU. STM32H753 example. CubeIDE

ARed.1575
Associate

Hi. I have some troubles with example.

IDE ver. 1.6

SBSFU ver. 2.4

NUCLEO-H753ZI example

SBSFU now have only SW4STM32 examples. In SW4STM32 IDE this examample build ok, without warnings and errors. Try to convert example to CubeIDE.

Core project build ok, SBSFU project build ok, after that i try to build UserApp project, and i have this error:

arm-none-eabi-gcc -z max-page-size=1 -o "UserApp.elf" @"objects.list" -l:se_interface_app.o -mcpu=cortex-m7 -T"../STM32H753ZITx.ld" --specs=nosys.specs -Wl,-Map="UserApp.map" -Wl,--gc-sections -static -Wl,--start-group -l:se_interface_app.o -Wl,--end-group -L../../../../2_Images_SBSFU/SW4STM32/STM32H753ZI-Nucleo_2_Images_SBSFU/Debug -Xlinker -L ../../../../Linker_Common/SW4STM32 --specs=nano.specs -mfpu=fpv5-d16 -mfloat-abi=hard -mthumb -Wl,--start-group -lc -lm -Wl,--end-group

c:\work\stm32cubeide_1.6.0\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.win32_1.5.0.202011040924\tools\arm-none-eabi\bin\ld.exe: ../../../../2_Images_SBSFU/SW4STM32/STM32H753ZI-Nucleo_2_Images_SBSFU/Debug\se_interface_app.o: in function `SE_APP_GetActiveFwInfo':

(.SE_IF_Code+0x0): multiple definition of `SE_APP_GetActiveFwInfo'; ../../../../2_Images_SBSFU/SW4STM32/STM32H753ZI-Nucleo_2_Images_SBSFU/Debug\se_interface_app.o:(.SE_IF_Code+0x0): first defined here

collect2.exe: error: ld returned 1 exit status

How i can fix this multiply definition? Thank you.

1 ACCEPTED SOLUTION
2 REPLIES 2

It works. Thank you.