cancel
Showing results for 
Search instead for 
Did you mean: 

Using the Simulator on TouchGFX: How to add header paths in the Makefile and how to solve the resulting compilation issues with HAL libraries?

FElec.1
Associate

Hello there,

I'm currently workimg on a TouchGFX project and I would like see how it looks simulated so I have tried to use the "Run Simulator" command on the Designer. However, I've been having some issues and I could use some help.

At first, the compiler complained about being unable to find some personal headers I use in the Model, Presenters and Views, so I added them one by one in the Makefile (simulator/gcc/Makefile) and then, when I tried it again, it snapped and these errors appeared. However, these files are HAL_libraries and they shouldn't be modified so the error must be elsewhere but I'm new progamming and I can't seem to find it.

Have I added the paths in the Makefile the wrong way or is there something I'm missing?

I tried using the same structure as the rest of the paths in the Makefile but it didn't work.

I also tried adding a compiling flag on the #includes I used in Model-Presenter-View but they get ignored and the Simulator compiles them anyway. Any ideas?

Thank you so much in advance.

0 REPLIES 0