Can you use Touch GFX with make?
Hi, I've been trying for a while to put together a simple program that uses both a GUI and an ADC. Previous programs I've made have been built using a text editor and make, but now trying to get toughGFX working in a project, it seems like I need an IDE to make it work. Is that the case?
So far, I've tried 2 different ways to get the project built.
First, I started with a TouchGFX project, got the GUI setup how I want, and generating the code from the TouchGFX Designer app. Then, I would open the CubeMX file and add/configure the ADC and timers and change the toolchain to make in CubeMX and clicking generate code again. I tried for a while to get this to compile, but couldn't figure out how to get all of the dependencies figured out.
Next, I started with CubeMX first, got everything configured as necessary for the ADC, then added the TouchGFX software pack to the project, and selected make as the toolchain again. Then, I went to edit the TouchGFX application file, built my app as I wanted it, and then tried to generate code, but got the following error:
Generate Code
Generate
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=../ADC2.ioc --platform=m4
unsupported toolchain: Makefile
ProjectManager.ToolChainLocation
Failed
FailedSo what's the deal here? Is it impossible to use make and TouchGFX together? Am I sort of just forced into using an IDE of some sort? Are there any other GUI apps I can use that do play nice with make?
Sorry if these are dumb questions. I'm a board-level EE trying to get into the embedded world a bit. I have some C++ experience, but not a lot of embedded-specific experience.
