cancel
Showing results for 
Search instead for 
Did you mean: 

Twice used Pin Lables in CubeMX

JPiet.3
Associate II

Hello,

because of my mistake, I had assigned the same label for two different pins within CubeMX 6.12. It seems, CubeMX recognize this, but send not an error oder a warning message about it. 

What happen, CubeMX is attaching the port- and pinname to the label and renames silent the label. I would expect, a message box is popping up to select, what should be done, e.g.

a. accept the new name or reject

b. correct the label with a new own name

c. inform about the things, went in the background

Section from main.h

 

#define P5VINT_ENAE7_Pin GPIO_PIN_7       
#define P5VINT_ENAE7_GPIO_Port GPIOE

#define P5VINT_ENA_Pin GPIO_PIN_13
#define P5VINT_ENA_GPIO_Port GPIOI

 

 Thanks,

Jan

1 REPLY 1
STTwo-32
ST Employee

Hello @JPiet.3 

Thank you for your suggestion. I will escalate it to the concerned team so they may consider it in one of the comming releases of STM32CubeMX.

Your contribution is always welcome.

Best Regards.

STTwo-32 

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.