2025-01-23 10:45 PM - edited 2025-01-23 10:46 PM
Hello,
I am working on a TouchGFX-based project using STM32CubeIDE. However, I have encountered an issue after modifying the .ioc file in STM32CubeMX and regenerating the code. Specifically, the .project file inside the STM32CubeIDE folder does not get updated.
For example, when I add peripherals such as SPI through the .ioc file and generate code, the corresponding file (stm32g0xx_hal_spi.c) is not added to the project. This results in reference errors during the build process as the newly added HAL files are not included in the project.
Is there a way to ensure that the .project file gets updated automatically after generating code?
Are there additional steps or settings in STM32CubeIDE or TouchGFX Designer to resolve this issue?
If manual intervention is required, what is the recommended approach to add missing files to the project?
Thank you in advance for your support!
2025-01-23 11:26 PM
@wow check wheather you're not generating the project in the root folder and opening the (.project) file from non-root folder (STM32CubeIDE)