nimaltd / spif

W25qxx, N25Qxx and other SPI FLASH driver for stm32 HAL
GNU General Public License v3.0
599 stars 173 forks source link

Error while building #24

Open akshaykhairkar1996 opened 4 years ago

akshaykhairkar1996 commented 4 years ago

I am getting this type of errors that 48 errors Description Resource Path Location Type unknown type name 'HAL_LockTypeDef' stm32g0xx_hal_dma.h /Flash_Mem_Nuc/Drivers/STM32G0xx_HAL_Driver/Inc line 119 C/C++ Problem Description Resource Path Location Type unknown type name 'HAL_LockTypeDef' stm32g0xx_hal_dma.h /Flash_Mem_Nuc/Drivers/STM32G0xx_HAL_Driver/Inc line 119 C/C++ Problem

akshaykhairkar1996 commented 4 years ago

Got it in STM32CubeMx IDE we need to change in stm32g0xx_hal_spi.h the header file, instead of "stm32g0xx_hal_def.h" to stm32g0xx.h" .

nimaltd commented 4 years ago

I don't know what your problem is