2025-07-21 5:32 PM
Hello,
I am currently trying to develop for the STM32H573RIT6 microcontroller, however after generating a new project I run into an issue where I am unable to compile any code due to main.h attempting to include "stm32h5xx_hal.h", but it fails to compile as it fails to locate that file. The only file that I was able to locate was "stm32h5xx_hal_conf.h", but replacing that in the "main.h" file still fails to compile as it cannot find "stm32h5xx_hal_spi.h" and "stm32h5xx_hal_gpio.h". system_stm32h5xx.c also attempts to include the "stm325xx_hal.h" file as well and as a result errors.
2025-07-21 8:36 PM
Works fine here. Include the IOC file that generates the faulty code.