Hi, i'm a beginner and need some help. I bought a nucleo g474 Board and followed 2 startup how tos. Keil + Cubemx. When i produce the initialisation code i always get the error in the stm32g4xx_ll_fmc.c file Does anybody know what im doing wrong?
C:\Users\marti\AppData\Local\Arm\Packs\Keil\STM32G4xx_DFP\1.1.0\Drivers\STM32G4xx_HAL_Driver\Src\stm32g4xx_ll_fmc.c(176): error: #20: identifier "FMC_NORSRAM_TypeDef" is undefined
HAL_StatusTypeDef FMC_NORSRAM_Init(FMC_NORSRAM_TypeDef *Device, FMC_NORSRAM_InitTypeDef *Init)
C:\Users\marti\AppData\Local\Arm\Packs\Keil\STM32G4xx_DFP\1.1.0\Drivers\STM32G4xx_HAL_Driver\Src\stm32g4xx_ll_fmc.c(176): error: #20: identifier "FMC_NORSRAM_InitTypeDef" is undefined
HAL_StatusTypeDef FMC_NORSRAM_Init(FMC_NORSRAM_TypeDef *Device, FMC_NORSRAM_InitTypeDef *Init)
C:\Users\marti\AppData\Local\Arm\Packs\Keil\STM32G4xx_DFP\1.1.0\Drivers\STM32G4xx_HAL_Driver\Src\stm32g4xx_ll_fmc.c(201): warning: #223-D: function "__FMC_NORSRAM_DISABLE" declared implicitly
__FMC_NORSRAM_DISABLE(Device, Init->NSBank);
C:\Users\marti\AppData\Local\Arm\Packs\Keil\STM32G4xx_DFP\1.1.0\Drivers\STM32G4xx_HAL_Driver\Src\stm32g4xx_ll_fmc.c(204): error: #20: identifier "FMC_MEMORY_TYPE_NOR" is undefined
if (Init->MemoryType == FMC_MEMORY_TYPE_NOR)