HAL库移植出现 error: unknown type name ‘HAL_StatusTypeDef‘ error: unknown type name ‘HAL_LockTypeDef‘
../hal_driver/Inc\stm32f1xx_hal_spi.h(28):warning:Infileincludedfrom...../hal_driver/Inc/stm32f1xx_hal_def.h(29):warning:Infileincludedfrom...../cmsis\stm32f1xx.h(254):warning:Infileincludedfrom...../