2023-07-14 02:36 AM
Hello!
I have a following problem: I use Designer to generate some screens, and some screens I create without designer. When I create a custom screen (not the screen that I draw in designer) I create two folders:
include/gui/my_screen (with myView.hpp and myPresenter.hpp in it)
src/my_screen (with myView.cpp and myPresenter.cpp in it)
the project builds ok in STM32CubeIDE.
but then if I run simulator or code generation in the Designer myPresenter.cpp and myPresenter.hpp are removed.
Why? How can I avoid it?
Thank you.
2023-07-17 03:04 AM
Hello @MNema.1 ,
If you use a version control tool, you can prevent the deletion of these folders. So, do not commit the changes of deletion.
Hope it helps :)