Loading...
 

Zephyr project on STM32

   Zephyr Workbench, a VSCode extension to manage Zephyr on STM32.
It enables users to easily create, develop, and debug Zephyr applications.
Main features:
  • Install host dependencies.
  • Import toolchain and SDK.
  • Create, configure, build and manage apps.
  • Debug STM32.
You can directly download it from the VSCode marketplace
For more details, visit the Zephyr Workbench

System Workbench for STM32


[SOLVED] Build Project : fatal error (can't create startup_stm32f469xx.o)

Hi everyone.

I have started to play with a STM32F469I-DISCO board through SW4STM32. So, in order to figure out a little bit what I could do with this board, I downloaded the STM32Cubef4 .zip file from the ST website. In this zip. there are Examples, Samples and a lot of things to learn how to use the board.

But I can’t launch any examples with SW4STM32 because when I try to build an example (before ruuning it), it can’t achieve it. I have this message for almost all my examples :

“make: *** Example/SW4STM32/startup_stm32f469xx.o Error 1” in the problems tab.

And this one in the Console tab :

“18:11:44 **** Build of configuration Debug for project LCD_DSI_CmdMode_PartialRefresh ****
make all
‘Building file: C:/Users/aviale/Desktop/Documentation Projet/DIGITRIP/DevBoard STM32F469I-DISCO/STM32Cube_FW_F4_V1.12.0/Projects/STM32469I-Discovery/Examples/LCD_DSI/LCD_DSI_CmdMode_PartialRefresh/Src/main.c’
‘Invoking: MCU GCC Compiler’
C:\Users\aviale\Desktop\Documentation Projet\DIGITRIP\DevBoard STM32F469I-DISCO\STM32Cube_FW_F4_V1.12.0\Projects\STM32469I-Discovery\Examples\LCD_DSI\LCD_DSI_CmdMode_PartialRefresh\SW4STM32\LCD_DSI_CmdMode_PartialRefresh\Debug
arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -DUSE_HAL_DRIVER -DSTM32F469xx -I”C:/Users/aviale/Desktop/Documentation Projet/DIGITRIP/DevBoard STM32F469I-DISCO/STM32Cube_FW_F4_V1.12.0/Projects/STM32469I-Discovery/Examples/LCD_DSI/LCD_DSI_CmdMode_PartialRefresh/Inc” -I”C:/Users/aviale/Desktop/Documentation Projet/DIGITRIP/DevBoard STM32F469I-DISCO/STM32Cube_FW_F4_V1.12.0/Drivers/CMSIS/Device/ST/STM32F4xx/Include” -I”C:/Users/aviale/Desktop/Documentation Projet/DIGITRIP/DevBoard STM32F469I-DISCO/STM32Cube_FW_F4_V1.12.0/Drivers/CMSIS/Include” -I”C:/Users/aviale/Desktop/Documentation Projet/DIGITRIP/DevBoard STM32F469I-DISCO/STM32Cube_FW_F4_V1.12.0/Drivers/STM32F4xx_HAL_Driver/Inc” -I”C:/Users/aviale/Desktop/Documentation Projet/DIGITRIP/DevBoard STM32F469I-DISCO/STM32Cube_FW_F4_V1.12.0/Drivers/BSP/STM32469I-Discovery” -I”C:/Users/aviale/Desktop/Documentation Projet/DIGITRIP/DevBoard STM32F469I-DISCO/STM32Cube_FW_F4_V1.12.0/Drivers/BSP/Components/Common” -I”C:/Users/aviale/Desktop/Documentation Projet/DIGITRIP/DevBoard STM32F469I-DISCO/STM32Cube_FW_F4_V1.12.0/Utilities/Log” -I”C:/Users/aviale/Desktop/Documentation Projet/DIGITRIP/DevBoard STM32F469I-DISCO/STM32Cube_FW_F4_V1.12.0/Utilities/Fonts” -I”C:/Users/aviale/Desktop/Documentation Projet/DIGITRIP/DevBoard STM32F469I-DISCO/STM32Cube_FW_F4_V1.12.0/Utilities/CPU” -Os -g3 -Wall -fmessage-length=0 -ffunction-sections -c -fmessage-length=0 -MMD -MP -MF”Example/User/main.d” -MT”Example/User/main.o” -o “Example/User/main.o” “C:/Users/aviale/Desktop/Documentation Projet/DIGITRIP/DevBoard STM32F469I-DISCO/STM32Cube_FW_F4_V1.12.0/Projects/STM32469I-Discovery/Examples/LCD_DSI/LCD_DSI_CmdMode_PartialRefresh/Src/main.c”
‘Finished building: C:/Users/aviale/Desktop/Documentation Projet/DIGITRIP/DevBoard STM32F469I-DISCO/STM32Cube_FW_F4_V1.12.0/Projects/STM32469I-Discovery/Examples/LCD_DSI/LCD_DSI_CmdMode_PartialRefresh/Src/main.c’
’ ’
‘Building file: C:/Users/aviale/Desktop/Documentation Projet/DIGITRIP/DevBoard STM32F469I-DISCO/STM32Cube_FW_F4_V1.12.0/Projects/STM32469I-Discovery/Examples/LCD_DSI/LCD_DSI_CmdMode_PartialRefresh/Src/stm32f4xx_hal_msp.c’
‘Invoking: MCU GCC Compiler’
C:\Users\aviale\Desktop\Documentation Projet\DIGITRIP\DevBoard STM32F469I-DISCO\STM32Cube_FW_F4_V1.12.0\Projects\STM32469I-Discovery\Examples\LCD_DSI\LCD_DSI_CmdMode_PartialRefresh\SW4STM32\LCD_DSI_CmdMode_PartialRefresh\Debug
arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -DUSE_HAL_DRIVER -DSTM32F469xx -I”C:/Users/aviale/Desktop/Documentation Projet/DIGITRIP/DevBoard STM32F469I-DISCO/STM32Cube_FW_F4_V1.12.0/Projects/STM32469I-Discovery/Examples/LCD_DSI/LCD_DSI_CmdMode_PartialRefresh/Inc” -I”C:/Users/aviale/Desktop/Documentation Projet/DIGITRIP/DevBoard STM32F469I-DISCO/STM32Cube_FW_F4_V1.12.0/Drivers/CMSIS/Device/ST/STM32F4xx/Include” -I”C:/Users/aviale/Desktop/Documentation Projet/DIGITRIP/DevBoard STM32F469I-DISCO/STM32Cube_FW_F4_V1.12.0/Drivers/CMSIS/Include” -I”C:/Users/aviale/Desktop/Documentation Projet/DIGITRIP/DevBoard STM32F469I-DISCO/STM32Cube_FW_F4_V1.12.0/Drivers/STM32F4xx_HAL_Driver/Inc” -I”C:/Users/aviale/Desktop/Documentation Projet/DIGITRIP/DevBoard STM32F469I-DISCO/STM32Cube_FW_F4_V1.12.0/Drivers/BSP/STM32469I-Discovery” -I”C:/Users/aviale/Desktop/Documentation Projet/DIGITRIP/DevBoard STM32F469I-DISCO/STM32Cube_FW_F4_V1.12.0/Drivers/BSP/Components/Common” -I”C:/Users/aviale/Desktop/Documentation Projet/DIGITRIP/DevBoard STM32F469I-DISCO/STM32Cube_FW_F4_V1.12.0/Utilities/Log” -I”C:/Users/aviale/Desktop/Documentation Projet/DIGITRIP/DevBoard STM32F469I-DISCO/STM32Cube_FW_F4_V1.12.0/Utilities/Fonts” -I”C:/Users/aviale/Desktop/Documentation Projet/DIGITRIP/DevBoard STM32F469I-DISCO/STM32Cube_FW_F4_V1.12.0/Utilities/CPU” -Os -g3 -Wall -fmessage-length=0 -ffunction-sections -c -fmessage-length=0 -MMD -MP -MF”Example/User/stm32f4xx_hal_msp.d” -MT”Example/User/stm32f4xx_hal_msp.o” -o “Example/User/stm32f4xx_hal_msp.o” “C:/Users/aviale/Desktop/Documentation Projet/DIGITRIP/DevBoard STM32F469I-DISCO/STM32Cube_FW_F4_V1.12.0/Projects/STM32469I-Discovery/Examples/LCD_DSI/LCD_DSI_CmdMode_PartialRefresh/Src/stm32f4xx_hal_msp.c”
‘Finished building: C:/Users/aviale/Desktop/Documentation Projet/DIGITRIP/DevBoard STM32F469I-DISCO/STM32Cube_FW_F4_V1.12.0/Projects/STM32469I-Discovery/Examples/LCD_DSI/LCD_DSI_CmdMode_PartialRefresh/Src/stm32f4xx_hal_msp.c’
’ ’
‘Building file: C:/Users/aviale/Desktop/Documentation Projet/DIGITRIP/DevBoard STM32F469I-DISCO/STM32Cube_FW_F4_V1.12.0/Projects/STM32469I-Discovery/Examples/LCD_DSI/LCD_DSI_CmdMode_PartialRefresh/Src/stm32f4xx_it.c’
‘Invoking: MCU GCC Compiler’
C:\Users\aviale\Desktop\Documentation Projet\DIGITRIP\DevBoard STM32F469I-DISCO\STM32Cube_FW_F4_V1.12.0\Projects\STM32469I-Discovery\Examples\LCD_DSI\LCD_DSI_CmdMode_PartialRefresh\SW4STM32\LCD_DSI_CmdMode_PartialRefresh\Debug
arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -DUSE_HAL_DRIVER -DSTM32F469xx -I”C:/Users/aviale/Desktop/Documentation Projet/DIGITRIP/DevBoard STM32F469I-DISCO/STM32Cube_FW_F4_V1.12.0/Projects/STM32469I-Discovery/Examples/LCD_DSI/LCD_DSI_CmdMode_PartialRefresh/Inc” -I”C:/Users/aviale/Desktop/Documentation Projet/DIGITRIP/DevBoard STM32F469I-DISCO/STM32Cube_FW_F4_V1.12.0/Drivers/CMSIS/Device/ST/STM32F4xx/Include” -I”C:/Users/aviale/Desktop/Documentation Projet/DIGITRIP/DevBoard STM32F469I-DISCO/STM32Cube_FW_F4_V1.12.0/Drivers/CMSIS/Include” -I”C:/Users/aviale/Desktop/Documentation Projet/DIGITRIP/DevBoard STM32F469I-DISCO/STM32Cube_FW_F4_V1.12.0/Drivers/STM32F4xx_HAL_Driver/Inc” -I”C:/Users/aviale/Desktop/Documentation Projet/DIGITRIP/DevBoard STM32F469I-DISCO/STM32Cube_FW_F4_V1.12.0/Drivers/BSP/STM32469I-Discovery” -I”C:/Users/aviale/Desktop/Documentation Projet/DIGITRIP/DevBoard STM32F469I-DISCO/STM32Cube_FW_F4_V1.12.0/Drivers/BSP/Components/Common” -I”C:/Users/aviale/Desktop/Documentation Projet/DIGITRIP/DevBoard STM32F469I-DISCO/STM32Cube_FW_F4_V1.12.0/Utilities/Log” -I”C:/Users/aviale/Desktop/Documentation Projet/DIGITRIP/DevBoard STM32F469I-DISCO/STM32Cube_FW_F4_V1.12.0/Utilities/Fonts” -I”C:/Users/aviale/Desktop/Documentation Projet/DIGITRIP/DevBoard STM32F469I-DISCO/STM32Cube_FW_F4_V1.12.0/Utilities/CPU” -Os -g3 -Wall -fmessage-length=0 -ffunction-sections -c -fmessage-length=0 -MMD -MP -MF”Example/User/stm32f4xx_it.d” -MT”Example/User/stm32f4xx_it.o” -o “Example/User/stm32f4xx_it.o” “C:/Users/aviale/Desktop/Documentation Projet/DIGITRIP/DevBoard STM32F469I-DISCO/STM32Cube_FW_F4_V1.12.0/Projects/STM32469I-Discovery/Examples/LCD_DSI/LCD_DSI_CmdMode_PartialRefresh/Src/stm32f4xx_it.c”
‘Finished building: C:/Users/aviale/Desktop/Documentation Projet/DIGITRIP/DevBoard STM32F469I-DISCO/STM32Cube_FW_F4_V1.12.0/Projects/STM32469I-Discovery/Examples/LCD_DSI/LCD_DSI_CmdMode_PartialRefresh/Src/stm32f4xx_it.c’
’ ’
‘Building file: C:/Users/aviale/Desktop/Documentation Projet/DIGITRIP/DevBoard STM32F469I-DISCO/STM32Cube_FW_F4_V1.12.0/Projects/STM32469I-Discovery/Examples/LCD_DSI/LCD_DSI_CmdMode_PartialRefresh/SW4STM32/startup_stm32f469xx.s’
‘Invoking: MCU GCC Assembler’
C:\Users\aviale\Desktop\Documentation Projet\DIGITRIP\DevBoard STM32F469I-DISCO\STM32Cube_FW_F4_V1.12.0\Projects\STM32469I-Discovery\Examples\LCD_DSI\LCD_DSI_CmdMode_PartialRefresh\SW4STM32\LCD_DSI_CmdMode_PartialRefresh\Debug
arm-none-eabi-as -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -g -o “Example/SW4STM32/startup_stm32f469xx.o” “C:/Users/aviale/Desktop/Documentation Projet/DIGITRIP/DevBoard STM32F469I-DISCO/STM32Cube_FW_F4_V1.12.0/Projects/STM32469I-Discovery/Examples/LCD_DSI/LCD_DSI_CmdMode_PartialRefresh/SW4STM32/startup_stm32f469xx.s”
Assembler messages:
Fatal error: can’t create Example/SW4STM32/startup_stm32f469xx.o: No such file or directory
make: *** Example/SW4STM32/startup_stm32f469xx.o Error 1

18:11:51 Build Finished (took 7s.469ms)

What am I doing wrong ?

Thanks for your answers !

Hi,

Just to let you know I solved the problem.

In Project > Properties I have changed the “Builder Type” (Builder Settings Tab) into “Internal Builder” instead of “External Builder”.

Thanks !


 

Newest Forum Posts

  1. SPI on Nucleo_STMH533RE by royjamil, 2025-05-04 20:13
  2. SPI on Nucleo_STMH533RE by higginsa1, 2025-03-25 07:37
  3. SPI on Nucleo_STMH533RE by royjamil, 2025-03-23 11:31
  4. SPI on Nucleo_STMH533RE by higginsa1, 2025-03-23 09:33
  5. Configuring DMA for ADC in SW? by sam.hodgson, 2025-03-04 12:58
  6. Build a project in "release" mode by info@creosrl.it, 2025-02-20 18:12
  7. Build a project in "release" mode by info@creosrl.it, 2025-02-20 17:05
  8. Build a project in "release" mode by tang, 2025-02-20 10:36
  9. Build a project in "release" mode by info@creosrl.it, 2025-02-19 17:35
  10. Fail to debug in Win 11 C/C++ by mortenlund, 2024-12-26 20:27

Last-Modified Blogs