cancel
Showing results for 
Search instead for 
Did you mean: 

CubeMX GPIO Init doesn't respect pin context

nico23
Senior III

So I have a series of PIN configured as Application and/or Boot only but, for some reason, the CubeMX generates the code on both main.h in Appli and Boot

i.e.

nico23_0-1778062692783.png

I have PC0 set as Application only context but I found it in the Boot as well

nico23_1-1778062748292.png

 

2 REPLIES 2
Mahmoud Ben Romdhane
ST Employee

Hello @nico23 

Let me thank you for posting.

For more investigation, could you please provide your Ioc.File.

Thanks.

Mahmoud

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.

Attached :)