2021-05-26 02:23 AM
Hi
I have GFX Designer 4.16.1 and STM32CubeIDE 1.6.1. How to start working on the STM32F746G-DISCO.
greetings
Andrzej
Solved! Go to Solution.
2021-05-27 02:55 AM
If you do not use an application template then it would be better to start from STM32CubeMX and then generate a STM32CubeIDE project and a TouchGFX project.
/Romain
2021-05-26 05:55 AM
Hi,
When you open TouchGFX Designer you can select the application template for the STM32F746G-DK board. This will give you a fully configured TouchGFX project. Have a look at the online documentation to discover and understand how to work with TouchGFX.
/Romain
2021-05-26 07:00 AM
The template was generating errors for me. I prefer to start with an IDE project. But there are also comments here.
Andrzej
2021-05-27 12:21 AM
Hi,
Could you share a screenshot of the errors you faced ? This is not expected and I do not face any myself.
The application template will generate you a fully configured IDE project so you can use it as source of inspiration if you wish to not use an application template. Have a look at the documentation to understand the configuration steps. We usually recommend to start from STM32CubeMX but you can also access the STM32CubeMX interface through STM32CubeIDE.
/Romain
2021-05-27 01:20 AM
I will come back to the matter as the attention reappears. It was a missing file but it was a note marked with "?"
Is it better to start with CubeIDE or GFX?
Andrzej
2021-05-27 02:55 AM
If you do not use an application template then it would be better to start from STM32CubeMX and then generate a STM32CubeIDE project and a TouchGFX project.
/Romain
2021-05-27 03:05 AM
OK
Andrzej
2021-05-28 12:53 AM
The simulator reports an error. Main.ccp. Line 19 and 23.
#ifdef __linux__
int main(int argc, char** argv)
{
#else
#include <shellapi.h>:grinning_face:
#ifdef _UNICODE
#error Cannot run in unicode mode
#endif
int CALLBACK WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow):grinning_face:
{
int argc;
char** argv = touchgfx::HALSDL2::getArgv(&argc);
#endif
I'm sending an error file.
Andrzej