Skip to main content
Associate III
December 13, 2024
Solved

CubeMX doesnt generate any code

  • December 13, 2024
  • 2 replies
  • 1096 views

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.

Best answer by mƎALLEm

Hello,

Thank you for the sharing:

 
 
Select one of the core that will handle that GPIO.
Hope that answers your question.

2 replies

mƎALLEm
Technical Moderator
December 13, 2024

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."
RafaelSAuthor
Associate III
December 13, 2024

Hello @mƎALLEm , thank you for the welcome.

Yes, I attach the project here.

mƎALLEm
mƎALLEmBest answer
Technical Moderator
December 13, 2024

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."
RafaelSAuthor
Associate III
December 13, 2024

Thank you!