Skip to main content
dkim.3
Associate II
April 26, 2024
Solved

Code Generation do not work

  • April 26, 2024
  • 1 reply
  • 2258 views

Hi

 

I changed My GPIO name and clicked the Code generation.

But the pop-up window turned on and off in an instant, My code didn't change.

 

AND everytime I click the code generation button, I can see the phrase "isbadioc=false" in IOC file.

is it IOC file is not normal?

 

how can I fix this situation?

please give me some solution.

 

Thanks.

 

Best answer by AScha.3

Just try : make new project, only character in name, and no spaces, generate code ... for test.

or

close Mx , close IDE.

Then start IDE, open ioc and generate code .... might work.

1 reply

AScha.3
Super User
April 26, 2024

Hi,

not much info, so just guessing:

maybe you give the pin a name (in Cube) , beginning with "not a character" symbol, like " - Vss " ->

That can totally confuse the CubeMx - never do it !  write always only characters in first place, like "Vss" .

(I did it one time - had to make new project with new ioc file . )

So try : make new project, only character in name, and no spaces (also in project name and all path names ! ).

"If you feel a post has answered your question, please click ""Accept as Solution""."
dkim.3
dkim.3Author
Associate II
April 26, 2024

Thank you for your reply.

 

But I used the name like you said.

Project name is also do like that.(I checked all path)

 

is there another reason??

AScha.3
AScha.3Best answer
Super User
April 26, 2024

Just try : make new project, only character in name, and no spaces, generate code ... for test.

or

close Mx , close IDE.

Then start IDE, open ioc and generate code .... might work.

"If you feel a post has answered your question, please click ""Accept as Solution""."