..\HALLIB\STM32F4xx_HAL_Driver\Inc\Legacy\stm32f4xx_hal_can_legacy.h(683): error: #147-D: declaration is incompatible with "uint32_t HAL_CAN_GetError(CAN_HandleTypeDef *)" (declared at line 672 of "..\HALLIB\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_can.h")
想在f411程序源码基础上改成f412芯片的工程,启动文件宏定义都改了,大佬们指点一下