cancel
Showing results for 
Search instead for 
Did you mean: 

Generate code not working in CubeIDE

slai-nick
Associate II

Following up from my previous post, I am having issues with code generation - it seems to complete, but I don't see anything changed in the code.

Here attached you will find the ioc file. I modified pin names for PB10 to PB12, but after generating the code I don't see any of the name in the project (should be in main.h, but I did a search in the whole project just to be sure).

 

I am using STM32CubeIDE 1.16.0 on mac Sonoma 14.2.1 with M1 chip.

10 REPLIES 10
C-Coder
Associate II

Hey all. I have this same issue. I have the following installed:

 

STM32CubeMX - 6.13.0

STM32CubeProgrammer - 2.18.0

STM32CubeIDE - 1.17.0

 

The device I'm trying to generate for is the STM32H747XI. I have tried clearing the myST account info and entering it again (from CubeMX and from CubeIDE). Regardless of which app I try to generate code from, I never get more than a skeleton (e.g. none of the custom User Labels for PINs show as #defines, and there's no initialization code generated). The Check Connection button always returns without a displayed error, there's no Proxy server in use.

 

Any ideas?

 

Thanks - C-Coder

 

EDIT - Looks like the problem was that the Pin Context Assignment value was not set. Set them to the appropriate core causes the code to be generated.