[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 !