Question
CubeMx creates some bugs
Posted on January 21, 2016 at 14:43
CubeMx 4.12.0 Mcu: STM32L476RETx Fimware Package: L4V1.2.0
-Cube is generating code for port H, but there's no port H on the L476RET /*Configure GPIO pins : PH0 PH1 */GPIO_InitStruct.Pin = GPIO_PIN_0 | GPIO_PIN_1;
GPIO_InitStruct.Mode = GPIO_MODE_ANALOG;
GPIO_InitStruct.Pull = GPIO_NOPULL;
HAL_GPIO_Init(GPIOH, &GPIO_InitStruct); -In sd_diskio.cconst Diskio_drvTypeDef SD_Driver = Should be without the const
