2025-05-17 3:37 PM
Hello everyone,
I’m working on an STM32 project using TouchGFX and STM32CubeIDE. The code compiles fine on the real target, but when I try to build the TouchGFX Simulator, I get the following error repeatedly:
fatal error: i2c_data.h: No such file or directory
The i2c_data.h file is present in my project under Core/Inc.
It seems the simulator build does not include the folder containing i2c_data.h in its include paths.
Any guidance on:
How to add additional include directories for the TouchGFX simulator?
Thank you very much for your help!