Inconsistent generated Pin and Port names
See Inconsistent pin naming for CubeMX - does the same apply to CubeMX2 ?
(Cross-posting at the request of again, no label available for "Suggestions")
See Inconsistent pin naming for CubeMX - does the same apply to CubeMX2 ?
(Cross-posting at the request of again, no label available for "Suggestions")
Hi
We have checked the generated code, and it should be solved in CubeXM2. The defines is now called:
/** Primary aliases for RCC_OSC_IN pin */
#define PH0_OSC_IN_PORT HAL_GPIOH
#define PH0_OSC_IN_PIN HAL_GPIO_PIN_0
/** Primary aliases for RCC_OSC_OUT pin */
#define PH1_OSC_OUT_PORT HAL_GPIOH
#define PH1_OSC_OUT_PIN HAL_GPIO_PIN_1
So there is consistency in the naming. If you find any non consistent naming schemes, please let us know, so we can get them fixed!
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.