AnsweredAssumed Answered

CubeMx creates some bugs

Question asked by Edje on Jan 21, 2016
Latest reply on Apr 5, 2016 by Brooks.David.001
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.c
const Diskio_drvTypeDef SD_Driver =
Should be without the const