2023-01-01 06:15 AM
Hi all,
just a very basic test application and a basic question:
Setup:
Design a GUI with a button creating a virtual function as inetraction
Open project in IDE, add virtual function to the xxxView.hpp and xxxView.cpp.
Include the appropriate board support package in order to toggle a LED.
Put the BSP_LED_Toggle() in the virtual function.
Initialize the BSP_LED in the main.c
Run it from IDE - works like a charm
Problem:
Once done this, the simulator won't compile any more giving this error message:
Quote:
fatal error: stm32469i_discovery.h: No such file or directory
End of Quote:
Question:
Is there an easy and consitent way to tell the simulator where to find the file (i.e. all include files present in the project, as for the IDE)
I suppose that the Project configuration in touchGFX might be the right place.
But i'm not all too familiar with the overall project setup concerning the simulator.
Can anybody help?
Best regards,
Wolf
2023-01-01 10:40 AM
Edit:
BTW, to make it easier to reproduce:
This also happens when you edit an interaction in a button object where you place an include directive in the "Includes" field. (i.e.: #include "stm32469i_discovery.h").
Here again, the project will compile and work OK for the target, but will not compile for the simulator. Error as in my previous post.
Best regards
Wolf