2021-01-22 11:22 AM
I may be a bit slow but:
When I run my project in TouchGFX in a different folder as a standalone program, I can Generate Code, Run Simulator and Run Target. Everything works as expected and I can exercise the GUI on the '469i-Disco board.
When I copy the TouchGFX into a STM32CubeIDEworkspace and add the TouchGFX folder to the IDE project, I can no longer Run Target in TouchGFX although Run Simulator works just fine.
The error message is:
Run Target
Generate
Wrote config/gcc/app.mk
Done
Generate Assets
make -f simulator/gcc/Makefile assets -j8
Reading ./application.config
Done
Post Generate
touchgfx update_project --project-file=simulator/msvs/Application.vcxproj
Done
Post Generate Target
touchgfx update_project --project-file=../ButterstickTF20210121.ioc --platform=m4
Done
Compile
make -f ../gcc/Makefile -j10
make: ../gcc/Makefile: No such file or directory
make: *** No rule to make target '../gcc/Makefile'. Stop.
Failed
Failed
I see where the make file is called in the projectname.touchgfx is called. Is this expected behavior? If so, how do I debug in IDE?
2021-01-25 06:54 AM
Hi,
Could you share a screenshot of your project's folder ? The error message indicates that there are no gcc folder (or at least no Makefile). I am not sure I understand all the steps you did but it seems like an expected behavior if you change the project's structure. The run target command in Designer is initially set to work with gcc (you can see the command lines in the "Config" tab in TouchGFX Designer, in the "Build" section).
Are you still able to run your project on target from STM32CubeIDE ?
/Romain
2021-01-25 07:10 AM
2021-01-25 08:39 AM
2021-01-26 06:04 AM
Hi,
could you share those images again ?
/Romain
2021-01-26 08:52 AM
2021-02-01 09:08 AM
I have been able to compile without errors in the IDE (finally). However, "Run Target" from the TouchGFX app still responds with
Compile
make -f ../gcc/Makefile -j8
make: ../gcc/Makefile: No such file or directory
make: *** No rule to make target '../gcc/Makefile'. Stop.
Failed
Is this normal?