cancel
Showing results for 
Search instead for 
Did you mean: 

Validation on target falling on F4 Discovery

PauloP
Associate

Hi,

 

I'im running X-CUBE-AI with STM32Cube IDE on a F407 Discovery. When I try to perform validatation on target, I get the following error during building stage : 

 

Building project 
/opt/st/stm32cubeide_1.18.1/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.linux64_1.0.0.202410170706/tools/bin/arm-none-eabi-gcc -c -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard  -DDEBUG -DUSE_HAL_DRIVER -DSTM32F407xx -D  -IMiddlewares/ST/AI/Inc -IDrivers/STM32F4xx_HAL_Driver/Inc -IDrivers/STM32F4xx_HAL_Driver/Inc/Legacy -IDrivers/CMSIS/Device/ST/STM32F4xx/Include -IDrivers/CMSIS/Include -IInc -O3  -Wall -fdata-sections -ffunction-sections Src/system_stm32f4xx.c -o Debug/Src/system_stm32f4xx.o 
<command-line>: error: macro names must be identifiers 
make: *** [Makefile:72: Debug/Src/system_stm32f4xx.o] Error 1 
Automatic build and run failed

 

The project builds correctlly, but fails on validation on target. Any advices ?

 

Thanks,

Paulo

 

0 REPLIES 0