diff --git a/arch/arm/src/stm32f7/Make.defs b/arch/arm/src/stm32f7/Make.defs index 4534212b63..ba56b9aea4 100644 --- a/arch/arm/src/stm32f7/Make.defs +++ b/arch/arm/src/stm32f7/Make.defs @@ -151,14 +151,6 @@ ifeq ($(CONFIG_STM32F7_SDMMC1),y) CHIP_CSRCS += stm32_sdmmc.c endif -ifeq ($(CONFIG_USBDEV),y) -CHIP_CSRCS += stm32_otgdev.c -endif - -ifeq ($(CONFIG_USBHOST),y) -CHIP_CSRCS += stm32_otghost.c -endif - ifeq ($(CONFIG_STM32F7_TIM),y) CHIP_CSRCS += stm32_tim.c endif