{stm32f7,stm32h7}/otg: fix compilation for USBDEV when USB_DEBUG=y
This commit is contained in:
parent
5651715486
commit
13a96c7eb7
@ -107,8 +107,6 @@ endif
|
||||
|
||||
ifeq ($(CONFIG_USBHOST),y)
|
||||
CHIP_CSRCS += stm32_otghost.c
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_USBHOST_TRACE),y)
|
||||
CHIP_CSRCS += stm32_usbhost.c
|
||||
else
|
||||
@ -116,6 +114,7 @@ ifeq ($(CONFIG_DEBUG_USB),y)
|
||||
CHIP_CSRCS += stm32_usbhost.c
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_STM32F7_TIM),y)
|
||||
CHIP_CSRCS += stm32_tim.c stm32_tim_lowerhalf.c
|
||||
|
@ -128,8 +128,6 @@ endif
|
||||
|
||||
ifeq ($(CONFIG_USBHOST),y)
|
||||
CHIP_CSRCS += stm32_otghost.c
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_USBHOST_TRACE),y)
|
||||
CHIP_CSRCS += stm32_usbhost.c
|
||||
else
|
||||
@ -137,6 +135,7 @@ ifeq ($(CONFIG_DEBUG_USB),y)
|
||||
CHIP_CSRCS += stm32_usbhost.c
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_STM32H7_TIM),y)
|
||||
CHIP_CSRCS += stm32_tim.c
|
||||
|
Loading…
Reference in New Issue
Block a user