Solved
NUCLEO-L476RG GPIO port D ?
When I generate code with CubeMX the MX_GPIO_Init code contains:
/*Configure GPIO pin : PD2 */
GPIO_InitStruct.Pin = GPIO_PIN_2;
GPIO_InitStruct.Mode = GPIO_MODE_ANALOG;
GPIO_InitStruct.Pull = GPIO_NOPULL;
HAL_GPIO_Init(GPIOD, &GPIO_InitStruct);
There is no port D afaik.
STM32CubeIDE 1.2.0
CubeMx 5.5.0-RC6
Seems a bug.
