Associate III
July 25, 2024
Question
Twice used Pin Lables in CubeMX
- July 25, 2024
- 1 reply
- 854 views
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
