2025-03-13 3:04 AM
I tried to validate on desktop... an ai model but ended with this error...
please help me with this error
2025-03-13 3:29 AM - edited 2025-03-13 3:30 AM
@Pinagadi_Meghana wrote:I tried to validate on desktop
But the thread title says "on target" - so which is it?
@Pinagadi_Meghana wrote:
So it's telling you that it can't find the file stm32h7xx.h
Therefore you need to check two things:
BTW: it's better to post the error messages as text - rather than an image:
2025-03-13 3:47 AM
Sorry... It is validation on target only...
the error message is
Building project
Generating project
Temporary project loaded
Temporary AI configuration done
Generating temporary project code
Building project
C:/ST/STM32CubeIDE_1.18.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.win32_1.0.0.202411081344/tools/bin/arm-none-eabi-gcc -c -mcpu=cortex-m7 -mfpu=fpv5-d16 -mfloat-abi=hard -DDEBUG -DUSE_PWR_LDO_SUPPLY -DUSE_NUCLEO_64 -DUSE_HAL_DRIVER -DSTM32H753xx -D -IDrivers/CMSIS/Device/ST/STM32H7xx/Include -IDrivers/CMSIS/Include -IDrivers/STM32H7xx_HAL_Driver/Inc/Legacy -IDrivers/STM32H7xx_HAL_Driver/Inc -IInc -IMiddlewares/ST/AI/Inc -O3 -Wall -fdata-sections -ffunction-sections Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal.c -o Debug/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal.o
<command-line>: error: macro names must be identifiers
In file included from Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_rcc.h:27,
from Inc/stm32h7xx_hal_conf.h:246,
from Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal.h:29,
from Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal.c:36:
Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_def.h:29:10: fatal error: stm32h7xx.h: No such file or directory
29 | #include "stm32h7xx.h"
| ^~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:76: Debug/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal.o] Error 1
Automatic build and run failed