2024-04-15 11:46 PM
I'm having an error where i get not such file or directory in an include but the file is there exactly where its located in the project that that touchGFX generates for my board
And while reading the documentation I saw that In Project manager, the option generate code under root should be off, and I thought maybe this was the cause, but I don't know,
The thing is i can't disable this option, it appears in grey and i can't disable it, I get that I can't change the structure of an already created project, but even if i create a new project by doing new--> STM32 Project, when the .IOC files open some files are already created and I can't disable it either.
I'm using STM32CubeIDE.
Solved! Go to Solution.
2024-04-16 02:49 AM
Hello @I_ve_got_a_problem ,
That is a strange issue you are facing. Let's start from the top to see where the problem might have occurred. First of all, are you using STM32CubeIDE to create a project? Keep in mind that the process should start from STM32CubeMX, not STM32CubeIDE.
Secondly, are you using a custom board based on the STM32H735, or are you using the STM32H735G-DK?
If it is the latter, then you don't need to create a project from STM32CubeMX. There is already a TouchGFX Board Setup ready for the STM32H735G-DK that you can use to develop your GUI easily and quickly.
If it is the first case, then go to STM32CubeMX, start a new project, choose the MCU you are using (STM32H735...), and the click 'Start Project'
Once the project starts, you can go to 'Project Manager' and choose the 'Toolchain' you need (or disable Generate Under Root). You can continue the rest of the process by following the TouchGFX Board bring up documentations
I hope this helps you
2024-04-16 02:49 AM
Hello @I_ve_got_a_problem ,
That is a strange issue you are facing. Let's start from the top to see where the problem might have occurred. First of all, are you using STM32CubeIDE to create a project? Keep in mind that the process should start from STM32CubeMX, not STM32CubeIDE.
Secondly, are you using a custom board based on the STM32H735, or are you using the STM32H735G-DK?
If it is the latter, then you don't need to create a project from STM32CubeMX. There is already a TouchGFX Board Setup ready for the STM32H735G-DK that you can use to develop your GUI easily and quickly.
If it is the first case, then go to STM32CubeMX, start a new project, choose the MCU you are using (STM32H735...), and the click 'Start Project'
Once the project starts, you can go to 'Project Manager' and choose the 'Toolchain' you need (or disable Generate Under Root). You can continue the rest of the process by following the TouchGFX Board bring up documentations
I hope this helps you