2023-11-13 01:52 AM
Hi,
I would like to try the hello world program from Stem win on my discovery board. Stem Win is not supported in STM cube ide
Can anyone tell me how to proceed further to create and implement the project.
Which IDE should I use.
Solved! Go to Solution.
2023-11-13 02:54 AM
Welcome @goutham, to the community!
A similar discussion has already been held here. STemWin is neither a compiler that STM32CubeIDE needs to support, nor is it a current and recommended graphics tool.
If you absolutely still want to work with it and do not want to use the recommended TouchGFX instead, you can import the examples for STemWin contained in the firmware into STM32CubeIDE, for which you will find the project folder SW4STM32 in addition to the EWARM and MDK-ARM folders in the examples.
How to import:
Note: A project should be opened or imported directly from the repository so that the relative dependencies can be found again when compiling.
If you then compile, you will get some error messages related to the GNU libraries, but these can be easily solved, as this thread describes in detail, e.g. with this solution.
As mentioned, however, I recommend the much more modern TouchGFX instead.
Hope that helps?
Regards
/Peter
2023-11-13 02:54 AM
Welcome @goutham, to the community!
A similar discussion has already been held here. STemWin is neither a compiler that STM32CubeIDE needs to support, nor is it a current and recommended graphics tool.
If you absolutely still want to work with it and do not want to use the recommended TouchGFX instead, you can import the examples for STemWin contained in the firmware into STM32CubeIDE, for which you will find the project folder SW4STM32 in addition to the EWARM and MDK-ARM folders in the examples.
How to import:
Note: A project should be opened or imported directly from the repository so that the relative dependencies can be found again when compiling.
If you then compile, you will get some error messages related to the GNU libraries, but these can be easily solved, as this thread describes in detail, e.g. with this solution.
As mentioned, however, I recommend the much more modern TouchGFX instead.
Hope that helps?
Regards
/Peter
2023-11-13 11:09 PM
Hi,
The solution you provided worked. But if I want to create a new project and include Stem win. Is it possible.
Or should I replace the hello world(old source file) file from the example with the new file(new source file).