cancel
Showing results for 
Search instead for 
Did you mean: 

CubeMX doesnt generate any code

RafaelS
Associate II

Hello,

I am new to programming STM MCUs and currently working with an STM32H745I-DISCO board.

I am trying to implement a simple blink project. In CubeMX, I created a new project and configured pin PJ2 as an output push-pull. Then, in the Project Manager tab, I selected the Toolchain/IDE: STM32CubeIDE.

However, when I generate code and open the project, I can’t see any lines of code configuring the PJ2 pin.

I’m not sure if I’m doing something wrong or if there’s a bug in the software. I’ve spent several days trying to figure out how to set up a simple blink project. Could someone please provide any clues or guidance?

Thank you in advance.

1 ACCEPTED SOLUTION

Accepted Solutions

Hello,

Thank you for the sharing:

 
 
Select one of the core that will handle that GPIO.
Hope that answers your question.
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

4 REPLIES 4
SofLit
ST Employee

Hello @RafaelS and welcome to the community,

Could you please compress your project and attach it here?

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 @SofLit , thank you for the welcome.

Yes, I attach the project here.

Hello,

Thank you for the sharing:

 
 
Select one of the core that will handle that GPIO.
Hope that answers your question.
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.
RafaelS
Associate II

Thank you!