cancel
Showing results for 
Search instead for 
Did you mean: 

trying to import one project to cubeide 1.5

vrund
Associate II

Project imported:

D:\Vrund\STM32CubeExpansion_SBSFU_V2.4.0\Projects\STM32F413H-Discovery\Applications\1_Image

Issue faced:

15:42:35 **** Build of configuration Debug for project STM32F413H_DISCOVERY_1_Image_SECoreBin ****

make all 

Building file: D:/Vrund/STM32CubeExpansion_SBSFU_V2.4.0/Middlewares/ST/STM32_Secure_Engine/Core/se_bootinfo.c

Invoking: MCU GCC Compiler

D:\Vrund\STM32CubeExpansion_SBSFU_V2.4.0\Projects\STM32F413H-Discovery\Applications\1_Image\1_Image_SECoreBin\SW4STM32\STM32F413H_DISCOVERY_1_Image_SECoreBin\Debug

arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=softfp -mfpu=fpv4-sp-d16 -DSTM32F413xx -DUSE_HAL_DRIVER -DUSE_STM32F413H_DISCOVERY -I"D:/Vrund/STM32CubeExpansion_SBSFU_V2.4.0/Projects/STM32F413H-Discovery/Applications/1_Image/1_Image_SECoreBin/Inc" -I"D:/Vrund/STM32CubeExpansion_SBSFU_V2.4.0/Drivers/CMSIS/Device/ST/STM32F4xx/Include" -I"D:/Vrund/STM32CubeExpansion_SBSFU_V2.4.0/Drivers/CMSIS/Include" -I"D:/Vrund/STM32CubeExpansion_SBSFU_V2.4.0/Drivers/STM32F4xx_HAL_Driver/Inc" -I"D:/Vrund/STM32CubeExpansion_SBSFU_V2.4.0/Drivers/BSP/STM32F413H-Discovery" -I"D:/Vrund/STM32CubeExpansion_SBSFU_V2.4.0/Drivers/BSP/Components/Common" -I"D:/Vrund/STM32CubeExpansion_SBSFU_V2.4.0/Utilities/Fonts" -I"D:/Vrund/STM32CubeExpansion_SBSFU_V2.4.0/Middlewares/ST/STM32_Cryptographic/Fw_Crypto/STM32F4/Inc" -I"D:/Vrund/STM32CubeExpansion_SBSFU_V2.4.0/Middlewares/ST/STM32_Secure_Engine/Core" -I"D:/Vrund/STM32CubeExpansion_SBSFU_V2.4.0/Middlewares/ST/STM32_Secure_Engine/Key" -I"D:/Vrund/STM32CubeExpansion_SBSFU_V2.4.0/Projects/STM32F413H-Discovery/Applications/1_Image/1_Image_SBSFU/SBSFU/App" -I"D:/Vrund/STM32CubeExpansion_SBSFU_V2.4.0/Projects/STM32F413H-Discovery/Applications/1_Image/1_Image_SBSFU/SBSFU/Target" -I"D:/Vrund/STM32CubeExpansion_SBSFU_V2.4.0/Projects/STM32F413H-Discovery/Applications/1_Image/Linker_Common/SW4STM32" -Os -g3 -Wall -fmessage-length=0 -Wno-strict-aliasing -ffunction-sections -c -fmessage-length=0 -MMD -MP -MF"Middlewares/STM32_Secure_Engine/se_bootinfo.d" -MT"Middlewares/STM32_Secure_Engine/se_bootinfo.o" -o "Middlewares/STM32_Secure_Engine/se_bootinfo.o" "D:/Vrund/STM32CubeExpansion_SBSFU_V2.4.0/Middlewares/ST/STM32_Secure_Engine/Core/se_bootinfo.c"

In file included from D:/Vrund/STM32CubeExpansion_SBSFU_V2.4.0/Middlewares/ST/STM32_Secure_Engine/Core/se_def.h:29:0,

         from D:/Vrund/STM32CubeExpansion_SBSFU_V2.4.0/Middlewares/ST/STM32_Secure_Engine/Core/se_bootinfo.h:29,

         from D:/Vrund/STM32CubeExpansion_SBSFU_V2.4.0/Middlewares/ST/STM32_Secure_Engine/Core/se_bootinfo.c:22:

c:\users\20033229\.eclipse\com.st.stm32cube.ide.mcu.rcp.product_1.5.1_1734239050_win32_win32_x86_64\plugins\fr.ac6.mcu.externaltools.arm-none.win32_1.17.0.201812190825\tools\compiler\lib\gcc\arm-none-eabi\7.3.1\include\stdint.h:9:16: fatal error: stdint.h: No such file or directory

 # include_next <stdint.h>

        ^~~~~~~~~~

compilation terminated.

make: *** [Middlewares/STM32_Secure_Engine/se_bootinfo.o] Error 1

Middlewares/STM32_Secure_Engine/subdir.mk:43: recipe for target 'Middlewares/STM32_Secure_Engine/se_bootinfo.o' failed

"make all" terminated with exit code 2. Build might be incomplete.

Regards,

Vrund

3 REPLIES 3
Jocelyn RICARD
ST Employee

Hi Vrund,

Your STM32CubeIDE installation seems not correct. It shouldn't look for a directory such as c:\users\20033229\.eclipse\

Best regards

Jocelyn

Jocelyn RICARD
ST Employee

Hi Vrund,

I have seen issues with the import of SBSFU projects.

If project is based on SW4STM32, please import using "Import ac6 System Workbench for STM32 Project"

Best regards

Jocelyn

Cartu38 OpenDev
Lead II

Please dont't hack product delivery !!! :crying_face:

Looking at your sharing sounds you've done a mix between STMicrolectronics STM32CubeIDE product and AC6 System Workbench for STM32 (aka. SW4STM32) ...

c:\users\20033229\.eclipse\com.st.stm32cube.ide.mcu.rcp.product_1.5.1_1734239050_win32_win32_x86_64\plugins\fr.ac6.mcu.externaltools.arm-none.win32_1.17.0.201812190825\tools\compiler\lib\gcc\arm-none-eabi\7.3.1\include\stdint.h

fr.ac6 plufing prefix is not com.st one .... please perform a fresh STM32CubeIDE install within dedicated folder then in sync. with @Jocelyn RICARD​ rely on dedicated STM32CubeIDE features to import SW4STM32 legacy projects