2024-12-02 02:38 AM - last edited on 2024-12-02 05:57 AM by SofLit
Hello, at first im new in the STM32 world.
Yesterday I set up the Touch GFX as
For that i delete all STM Programm tha i install pervius. Download lates Version and start install process as discript in the Video.I follow all steps and pass with no errors. Than i try to start a new STM32 project. But the IDE dont generate any c-file at all.
en.stm32cubemx-win-v6-13-0
en.stm32cubeprg-win64-v2-18-0
en.st-stm32cubeide_1.17.0_23558_20241125_2245_x86_64.exe
en.x-cube-touchgfx.4.24.1
I'm not a beginner with this stuff, I'm working for long time with Arduino and ESP32.
The IDE is very complex and may be I'm only set one checkbox to much
Solved! Go to Solution.
2024-12-03 04:33 AM - edited 2024-12-03 04:33 AM
Hello,
This is the CubeIDE explorer screenshot of your project:
I don't see any issue on it. The user code is under User folder.
The project is compiling without errors!
2024-12-02 05:54 AM - edited 2024-12-02 06:15 AM
Hello @Peter57 and welcome to the community,
The video doesn't show how to generate the code. You need to watch the next video: How to TouchGFX: Creating my first GUI with TouchGFX Designer for STM32 GUI applications
What board are you using?
2024-12-03 12:09 AM
Hello SifLit, thank you for the reply. My Board ist the F429i-DISC1 type. After play a litle bit with the softwar i notice that afer set up the fils in the order form the Video, the STMCubeMX ist the part that don't work. Now, after the new install, the MX generates the code for me, but the set up is wrong. in the Project Mamager the Toolchain was wrong, the ewarm was set, not the STM32CubeIDE and "Generate Under Root" was tick. I fix that and start a new projekt. But now the Application->User folder is missing. Yes, as you wrote, I see the second Vide "Creating my first GUI with TouchGFX Designer for STM32 GUI applications" and try to finish it. but still missing same code Parts. Peter
2024-12-03 01:34 AM
Sorry I didn't understand. What files are missing in the generated code.
Could you please attach your complete project?
Thank you.
2024-12-03 04:24 AM
Hello, I try to send you the TouchGFX Folder itself.
When I import it to CubeIDE there ist no xxx.ioc file to setup pins of the device at self.
The Structure of the Project Explorer is total different. I dont know how to set up the IOpin
And by the way, whwere i put my code?
I hope it's getting more clear whats the problem, Peter
2024-12-03 04:33 AM - edited 2024-12-03 04:33 AM
Hello,
This is the CubeIDE explorer screenshot of your project:
I don't see any issue on it. The user code is under User folder.
The project is compiling without errors!
2024-12-03 09:39 AM
Hi, Thank you again.
Plase notice in your Picture the File: STM32F429I_DISCO_REV_E01.ioc is missing. How can i change the Board configuratuion to my needs?
I need to ad 2 GOIO Pins as output.
In the "normal way" i open the CubeMX and use the Standard STM32F429I-DISC1 Board. Than I configure the GPIO as i want and Type configure and CubeMX generate code for me.See LED4 Project. Build up from scretch.
In the case that I use TouchGFX i have to choose first my Board, the STM32F429I-DISC1, give a project name and design my UI as my wish. When ready i generate the code and go to the Folder that contain my Code. This is the TouchGFX-MyProject-STM32CubeIDE. in this folder I cklick on .projekt andBoild this will opnen the CubeIDE. After import the File all work find, i can compile Build the pprojekt. Download to the bord works.
BUT in other Project I have a file called: Filename.ioc thats contail the Board configuration. If I klick on it, the CubeMX open and I 'm abel to change the config of my Board itself.
May be it's more clear now. Thank you for your attention, peter
2024-12-03 10:12 AM
Hi again,
plase take a secondto look at this Video.
https://www.youtube.com/watch?v=Y7d6-59YQu8&t=268s at time stamp 5:08 you see the Explorer View with the
STM32F7508-DK.ioc file. The engenier open this File to make same needed change on it. In my importet project this file is missing, I can't follow the instruction in the Video. May be this is more clear to you. Peter