cancel
Showing results for 
Search instead for 
Did you mean: 

STM32Cube_FW_N6 errors out of the box using STM32N6570-DK

castrotec
Associate

Hello,

I am just trying to compile the example project GPIO_IOToogle_FSBL by using the STM32CubeIDE and firmware with its patch STM32Cube_FW_N6_V1.1.0.zip (i.e., en.stm32cuben6-v1-1-1 (patch).zip) and after following the instructions per "UM3249 - User Manual - Getting started with STM32CubeN6 for STM32N6 series" when I attempt to compile I started getting these errors:

 

08:42:09 **** Incremental Build of configuration Debug for project GPIO_IOToggle_FSBL ****
make -j16 all
arm-none-eabi-gcc "D:/ST/SW/STM32Cube_FW_N6_V1.1.0/Drivers/STM32N6xx_HAL_Driver/Src/stm32n6xx_hal.c" -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32N657xx -c -I../../../FSBL/Inc -I../../../../../../../../Drivers/STM32N6xx_HAL_Driver/Inc -I../../../../../../../../Drivers/CMSIS/Device/ST/STM32N6xx/Include -I../../../../../../../../Drivers/STM32N6xx_HAL_Driver/Inc/Legacy -I../../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -mcmse -MMD -MP -MF"Drivers/STM32N6xx_HAL_Driver/stm32n6xx_hal.d" -MT"Drivers/STM32N6xx_HAL_Driver/stm32n6xx_hal.o" --specs=nano.specs -mfpu=fpv5-d16 -mfloat-abi=hard -mthumb -o "Drivers/STM32N6xx_HAL_Driver/stm32n6xx_hal.o"
arm-none-eabi-gcc "D:/ST/SW/STM32Cube_FW_N6_V1.1.0/Drivers/STM32N6xx_HAL_Driver/Src/stm32n6xx_hal_cortex.c" -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32N657xx -c -I../../../FSBL/Inc -I../../../../../../../../Drivers/STM32N6xx_HAL_Driver/Inc -I../../../../../../../../Drivers/CMSIS/Device/ST/STM32N6xx/Include -I../../../../../../../../Drivers/STM32N6xx_HAL_Driver/Inc/Legacy -I../../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -mcmse -MMD -MP -MF"Drivers/STM32N6xx_HAL_Driver/stm32n6xx_hal_cortex.d" -MT"Drivers/STM32N6xx_HAL_Driver/stm32n6xx_hal_cortex.o" --specs=nano.specs -mfpu=fpv5-d16 -mfloat-abi=hard -mthumb -o "Drivers/STM32N6xx_HAL_Driver/stm32n6xx_hal_cortex.o"
arm-none-eabi-gcc "D:/ST/SW/STM32Cube_FW_N6_V1.1.0/Drivers/STM32N6xx_HAL_Driver/Src/stm32n6xx_hal_dma.c" -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32N657xx -c -I../../../FSBL/Inc -I../../../../../../../../Drivers/STM32N6xx_HAL_Driver/Inc -I../../../../../../../../Drivers/CMSIS/Device/ST/STM32N6xx/Include -I../../../../../../../../Drivers/STM32N6xx_HAL_Driver/Inc/Legacy -I../../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -mcmse -MMD -MP -MF"Drivers/STM32N6xx_HAL_Driver/stm32n6xx_hal_dma.d" -MT"Drivers/STM32N6xx_HAL_Driver/stm32n6xx_hal_dma.o" --specs=nano.specs -mfpu=fpv5-d16 -mfloat-abi=hard -mthumb -o "Drivers/STM32N6xx_HAL_Driver/stm32n6xx_hal_dma.o"
arm-none-eabi-gcc "D:/ST/SW/STM32Cube_FW_N6_V1.1.0/Drivers/STM32N6xx_HAL_Driver/Src/stm32n6xx_hal_dma_ex.c" -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32N657xx -c -I../../../FSBL/Inc -I../../../../../../../../Drivers/STM32N6xx_HAL_Driver/Inc -I../../../../../../../../Drivers/CMSIS/Device/ST/STM32N6xx/Include -I../../../../../../../../Drivers/STM32N6xx_HAL_Driver/Inc/Legacy -I../../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -mcmse -MMD -MP -MF"Drivers/STM32N6xx_HAL_Driver/stm32n6xx_hal_dma_ex.d" -MT"Drivers/STM32N6xx_HAL_Driver/stm32n6xx_hal_dma_ex.o" --specs=nano.specs -mfpu=fpv5-d16 -mfloat-abi=hard -mthumb -o "Drivers/STM32N6xx_HAL_Driver/stm32n6xx_hal_dma_ex.o"
arm-none-eabi-gcc "D:/ST/SW/STM32Cube_FW_N6_V1.1.0/Drivers/STM32N6xx_HAL_Driver/Src/stm32n6xx_hal_exti.c" -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32N657xx -c -I../../../FSBL/Inc -I../../../../../../../../Drivers/STM32N6xx_HAL_Driver/Inc -I../../../../../../../../Drivers/CMSIS/Device/ST/STM32N6xx/Include -I../../../../../../../../Drivers/STM32N6xx_HAL_Driver/Inc/Legacy -I../../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -mcmse -MMD -MP -MF"Drivers/STM32N6xx_HAL_Driver/stm32n6xx_hal_exti.d" -MT"Drivers/STM32N6xx_HAL_Driver/stm32n6xx_hal_exti.o" --specs=nano.specs -mfpu=fpv5-d16 -mfloat-abi=hard -mthumb -o "Drivers/STM32N6xx_HAL_Driver/stm32n6xx_hal_exti.o"
arm-none-eabi-gcc "D:/ST/SW/STM32Cube_FW_N6_V1.1.0/Drivers/STM32N6xx_HAL_Driver/Src/stm32n6xx_hal_gpio.c" -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32N657xx -c -I../../../FSBL/Inc -I../../../../../../../../Drivers/STM32N6xx_HAL_Driver/Inc -I../../../../../../../../Drivers/CMSIS/Device/ST/STM32N6xx/Include -I../../../../../../../../Drivers/STM32N6xx_HAL_Driver/Inc/Legacy -I../../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -mcmse -MMD -MP -MF"Drivers/STM32N6xx_HAL_Driver/stm32n6xx_hal_gpio.d" -MT"Drivers/STM32N6xx_HAL_Driver/stm32n6xx_hal_gpio.o" --specs=nano.specs -mfpu=fpv5-d16 -mfloat-abi=hard -mthumb -o "Drivers/STM32N6xx_HAL_Driver/stm32n6xx_hal_gpio.o"
arm-none-eabi-gcc "D:/ST/SW/STM32Cube_FW_N6_V1.1.0/Drivers/STM32N6xx_HAL_Driver/Src/stm32n6xx_hal_pwr.c" -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32N657xx -c -I../../../FSBL/Inc -I../../../../../../../../Drivers/STM32N6xx_HAL_Driver/Inc -I../../../../../../../../Drivers/CMSIS/Device/ST/STM32N6xx/Include -I../../../../../../../../Drivers/STM32N6xx_HAL_Driver/Inc/Legacy -I../../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -mcmse -MMD -MP -MF"Drivers/STM32N6xx_HAL_Driver/stm32n6xx_hal_pwr.d" -MT"Drivers/STM32N6xx_HAL_Driver/stm32n6xx_hal_pwr.o" --specs=nano.specs -mfpu=fpv5-d16 -mfloat-abi=hard -mthumb -o "Drivers/STM32N6xx_HAL_Driver/stm32n6xx_hal_pwr.o"
arm-none-eabi-gcc "D:/ST/SW/STM32Cube_FW_N6_V1.1.0/Drivers/STM32N6xx_HAL_Driver/Src/stm32n6xx_hal_pwr_ex.c" -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32N657xx -c -I../../../FSBL/Inc -I../../../../../../../../Drivers/STM32N6xx_HAL_Driver/Inc -I../../../../../../../../Drivers/CMSIS/Device/ST/STM32N6xx/Include -I../../../../../../../../Drivers/STM32N6xx_HAL_Driver/Inc/Legacy -I../../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -mcmse -MMD -MP -MF"Drivers/STM32N6xx_HAL_Driver/stm32n6xx_hal_pwr_ex.d" -MT"Drivers/STM32N6xx_HAL_Driver/stm32n6xx_hal_pwr_ex.o" --specs=nano.specs -mfpu=fpv5-d16 -mfloat-abi=hard -mthumb -o "Drivers/STM32N6xx_HAL_Driver/stm32n6xx_hal_pwr_ex.o"
arm-none-eabi-gcc "D:/ST/SW/STM32Cube_FW_N6_V1.1.0/Drivers/STM32N6xx_HAL_Driver/Src/stm32n6xx_hal_rcc.c" -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32N657xx -c -I../../../FSBL/Inc -I../../../../../../../../Drivers/STM32N6xx_HAL_Driver/Inc -I../../../../../../../../Drivers/CMSIS/Device/ST/STM32N6xx/Include -I../../../../../../../../Drivers/STM32N6xx_HAL_Driver/Inc/Legacy -I../../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -mcmse -MMD -MP -MF"Drivers/STM32N6xx_HAL_Driver/stm32n6xx_hal_rcc.d" -MT"Drivers/STM32N6xx_HAL_Driver/stm32n6xx_hal_rcc.o" --specs=nano.specs -mfpu=fpv5-d16 -mfloat-abi=hard -mthumb -o "Drivers/STM32N6xx_HAL_Driver/stm32n6xx_hal_rcc.o"
arm-none-eabi-gcc "D:/ST/SW/STM32Cube_FW_N6_V1.1.0/Drivers/STM32N6xx_HAL_Driver/Src/stm32n6xx_hal_rcc_ex.c" -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32N657xx -c -I../../../FSBL/Inc -I../../../../../../../../Drivers/STM32N6xx_HAL_Driver/Inc -I../../../../../../../../Drivers/CMSIS/Device/ST/STM32N6xx/Include -I../../../../../../../../Drivers/STM32N6xx_HAL_Driver/Inc/Legacy -I../../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -mcmse -MMD -MP -MF"Drivers/STM32N6xx_HAL_Driver/stm32n6xx_hal_rcc_ex.d" -MT"Drivers/STM32N6xx_HAL_Driver/stm32n6xx_hal_rcc_ex.o" --specs=nano.specs -mfpu=fpv5-d16 -mfloat-abi=hard -mthumb -o "Drivers/STM32N6xx_HAL_Driver/stm32n6xx_hal_rcc_ex.o"
arm-none-eabi-gcc "D:/ST/SW/STM32Cube_FW_N6_V1.1.0/Projects/STM32N6570-DK/Examples/GPIO/GPIO_IOToggle/FSBL/Src/system_stm32n6xx_fsbl.c" -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32N657xx -c -I../../../FSBL/Inc -I../../../../../../../../Drivers/STM32N6xx_HAL_Driver/Inc -I../../../../../../../../Drivers/CMSIS/Device/ST/STM32N6xx/Include -I../../../../../../../../Drivers/STM32N6xx_HAL_Driver/Inc/Legacy -I../../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -mcmse -MMD -MP -MF"Drivers/CMSIS/system_stm32n6xx_fsbl.d" -MT"Drivers/CMSIS/system_stm32n6xx_fsbl.o" --specs=nano.specs -mfpu=fpv5-d16 -mfloat-abi=hard -mthumb -o "Drivers/CMSIS/system_stm32n6xx_fsbl.o"
cc1.exe: error: target CPU does not support ARMv8-M Security Extensions
cc1.exe: error: target CPU does not support ARMv8-M Security Extensions
cc1.exe: error: target CPU does not support ARMv8-M Security Extensions
cc1.exe: error: target CPU does not support ARMv8-M Security Extensions
cc1.exe: error: target CPU does not support ARMv8-M Security Extensions
cc1.exe: error: target CPU does not support ARMv8-M Security Extensions
make: *** [Drivers/STM32N6xx_HAL_Driver/subdir.mk:46: Drivers/STM32N6xx_HAL_Driver/stm32n6xx_hal.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [Drivers/STM32N6xx_HAL_Driver/subdir.mk:48: Drivers/STM32N6xx_HAL_Driver/stm32n6xx_hal_cortex.o] Error 1
make: *** [Drivers/STM32N6xx_HAL_Driver/subdir.mk:50: Drivers/STM32N6xx_HAL_Driver/stm32n6xx_hal_dma.o] Error 1
make: *** [Drivers/STM32N6xx_HAL_Driver/subdir.mk:52: Drivers/STM32N6xx_HAL_Driver/stm32n6xx_hal_dma_ex.o] Error 1
make: *** [Drivers/STM32N6xx_HAL_Driver/subdir.mk:54: Drivers/STM32N6xx_HAL_Driver/stm32n6xx_hal_exti.o] Error 1
make: *** [Drivers/STM32N6xx_HAL_Driver/subdir.mk:56: Drivers/STM32N6xx_HAL_Driver/stm32n6xx_hal_gpio.o] Error 1
cc1.exe: error: target CPU does not support ARMv8-M Security Extensions
make: *** [Drivers/STM32N6xx_HAL_Driver/subdir.mk:58: Drivers/STM32N6xx_HAL_Driver/stm32n6xx_hal_pwr.o] Error 1
cc1.exe: error: target CPU does not support ARMv8-M Security Extensions
make: *** [Drivers/STM32N6xx_HAL_Driver/subdir.mk:60: Drivers/STM32N6xx_HAL_Driver/stm32n6xx_hal_pwr_ex.o] Error 1
cc1.exe: error: target CPU does not support ARMv8-M Security Extensions
make: *** [Drivers/STM32N6xx_HAL_Driver/subdir.mk:62: Drivers/STM32N6xx_HAL_Driver/stm32n6xx_hal_rcc.o] Error 1
cc1.exe: error: target CPU does not support ARMv8-M Security Extensions
make: *** [Drivers/STM32N6xx_HAL_Driver/subdir.mk:64: Drivers/STM32N6xx_HAL_Driver/stm32n6xx_hal_rcc_ex.o] Error 1
cc1.exe: error: target CPU does not support ARMv8-M Security Extensions
make: *** [Drivers/CMSIS/subdir.mk:19: Drivers/CMSIS/system_stm32n6xx_fsbl.o] Error 1
"make -j16 all" terminated with exit code 2. Build might be incomplete.

08:42:10 Build Failed. 12 errors, 0 warnings. (took 1s.243ms)

 

Any thoughts on what may I be missing? Thanks!

0 REPLIES 0