cancel
Showing results for 
Search instead for 
Did you mean: 

CubeIDE don't generate C Files at all

Peter57
Associate II

Hello, at first im new in the STM32 world.

Yesterday I set up the Touch GFX as

"How to TouchGFX: Installing TouchGFX Designer for STM32 GUI applications" tells me.

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

 

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions

Hello,

This is the CubeIDE explorer screenshot of your project:

SofLit_1-1733229143889.png

I don't see any issue on it. The user code is under User folder.

The project is compiling without errors!

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.

View solution in original post

10 REPLIES 10
SofLit
ST Employee

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?

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.

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

Sorry I didn't understand. What files are missing in the generated code.

Could you please attach your complete project?

Thank you.

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.

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

 

Hello,

This is the CubeIDE explorer screenshot of your project:

SofLit_1-1733229143889.png

I don't see any issue on it. The user code is under User folder.

The project is compiling without errors!

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.

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 BLED4.pngoard, 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

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 mSend date to UI.pngissing, I can't follow the instruction in the Video. May be this is more clear to you. Peter

Hello,

First, please avoid adding others questions on the same thread. This is not the way we are working in this community. Each Original request/question needs to have an answer at the end.

Second, regarding your comment:


@Peter57 wrote:

Plase notice in your Picture the File: STM32F429I_DISCO_REV_E01.ioc is missing. How can i change the Board configuratuion to my needs?


Install STM32CubeMX tool from here and open the STM32F429I_DISCO_REV_E01.ioc file from your project.

I think not all projects are generated in the same way from TouchGFX designer.

For other question please open a new thread.

Thank you.

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.

Hello SoLit,

Yes, I know how to create a project with TouchGXF. I told you many times, that I missed the Option to change the STM32F49i-DISCO.ioc. This file is after generate the code with TouchGFX NOT include in the Project Manager of STM32CubeIDE. this is the problem, as I told many times. As is show you with picture. The board type is STM32F429i-DISC1. After all my writing to you, you must know this all. I guess ther is a Bug in the Software Version of CubeIDE 1.17.0.

I think I wast  your  and my Time.