新手入门
- 积分
- 5
- 金钱
- 5
- 注册时间
- 2020-7-30
- 在线时间
- 0 小时
|
如题什么都没有改,编译报了很多错啊?
Build target 'USB_CardReader_SLAVE'
compiling usb_dcd.c...
..\USB\STM32_USB_OTG_Driver\inc\usb_regs.h(69): warning: #47-D: incompatible redefinition of macro "USB_OTG_HS_MAX_PACKET_SIZE" (declared at line 278 of "..\HALLIB\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_usb.h")
#define USB_OTG_HS_MAX_PACKET_SIZE 512
..\USB\STM32_USB_OTG_Driver\inc\usb_regs.h(70): warning: #47-D: incompatible redefinition of macro "USB_OTG_FS_MAX_PACKET_SIZE" (declared at line 279 of "..\HALLIB\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_usb.h")
#define USB_OTG_FS_MAX_PACKET_SIZE 64
..\USB\STM32_USB_OTG_Driver\inc\usb_regs.h(71): warning: #47-D: incompatible redefinition of macro "USB_OTG_MAX_EP0_SIZE" (declared at line 280 of "..\HALLIB\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_usb.h")
#define USB_OTG_MAX_EP0_SIZE 64
..\USB\STM32_USB_OTG_Driver\inc\usb_defines.h(61): warning: #47-D: incompatible redefinition of macro "USB_OTG_SPEED_HIGH" (declared at line 258 of "..\HALLIB\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_usb.h")
#define USB_OTG_SPEED_HIGH 0
..\USB\STM32_USB_OTG_Driver\inc\usb_defines.h(62): warning: #47-D: incompatible redefinition of macro "USB_OTG_SPEED_FULL" (declared at line 261 of "..\HALLIB\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_usb.h")
#define USB_OTG_SPEED_FULL 1
..\USB\STM32_USB_OTG_Driver\inc\usb_defines.h(64): warning: #47-D: incompatible redefinition of macro "USB_OTG_ULPI_PHY" (declared at line 269 of "..\HALLIB\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_usb.h")
#define USB_OTG_ULPI_PHY 1
..\USB\STM32_USB_OTG_Driver\inc\usb_defines.h(65): warning: #47-D: incompatible redefinition of macro "USB_OTG_EMBEDDED_PHY" (declared at line 270 of "..\HALLIB\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_usb.h")
#define USB_OTG_EMBEDDED_PHY 2
..\USB\STM32_USB_OTG_Driver\inc\usb_defines.h(86): warning: #47-D: incompatible redefinition of macro "GRXSTS_PKTSTS_IN" (declared at line 382 of "..\HALLIB\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_usb.h")
#define GRXSTS_PKTSTS_IN 2
..\USB\STM32_USB_OTG_Driver\inc\usb_defines.h(87): warning: #47-D: incompatible redefinition of macro "GRXSTS_PKTSTS_IN_XFER_COMP" (declared at line 383 of "..\HALLIB\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_usb.h")
#define GRXSTS_PKTSTS_IN_XFER_COMP 3
..\USB\STM32_USB_OTG_Driver\inc\usb_defines.h(88): warning: #47-D: incompatible redefinition of macro "GRXSTS_PKTSTS_DATA_TOGGLE_ERR" (declared at line 384 of "..\HALLIB\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_usb.h")
#define GRXSTS_PKTSTS_DATA_TOGGLE_ERR 5
..\USB\STM32_USB_OTG_Driver\inc\usb_defines.h(89): warning: #47-D: incompatible redefinition of macro "GRXSTS_PKTSTS_CH_HALTED" (declared at line 385 of "..\HALLIB\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_usb.h")
#define GRXSTS_PKTSTS_CH_HALTED 7
..\USB\STM32_USB_OTG_Driver\inc\usb_defines.h(121): warning: #47-D: incompatible redefinition of macro "DSTS_ENUMSPD_HS_PHY_30MHZ_OR_60MHZ" (declared at line 288 of "..\HALLIB\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_usb.h")
|
|