diff --git a/bsp/imxrt/imxrt1052-atk-commander/board/Kconfig b/bsp/imxrt/imxrt1052-atk-commander/board/Kconfig index 67ca41ca13..b4beef948d 100644 --- a/bsp/imxrt/imxrt1052-atk-commander/board/Kconfig +++ b/bsp/imxrt/imxrt1052-atk-commander/board/Kconfig @@ -124,21 +124,6 @@ menu "Onboard Peripheral Drivers" bool "Enable SDRAM" default n - menuconfig BSP_USING_USB_HOST - bool "Enable USB Host" - select RT_USING_USB_HOST - default n - if BSP_USING_USB_HOST - menuconfig RT_USBH_MSTORAGE - bool "Enable Udisk Drivers" - default n - if RT_USBH_MSTORAGE - config UDISK_MOUNTPOINT - string "Udisk mount dir" - default "/" - endif - endif - config BSP_USING_USB_DEVICE bool "Enable USB Device" select RT_USING_USB_DEVICE diff --git a/bsp/imxrt/libraries/drivers/SConscript b/bsp/imxrt/libraries/drivers/SConscript index 940ff5eb6e..c806dada25 100644 --- a/bsp/imxrt/libraries/drivers/SConscript +++ b/bsp/imxrt/libraries/drivers/SConscript @@ -53,14 +53,6 @@ if GetDepend('BSP_USING_USB_DEVICE'): src += Glob('usb/phy/*.c') CPPDEFINES += ['ENDIANNESS'] -if GetDepend('BSP_USING_USB_HOST'): - src += ['drv_usbh.c'] - src += Glob('usb/host/*.c') - -if GetDepend('BSP_USING_USB_HOST'): - src += Glob('usb/phy/*.c') - CPPDEFINES += ['ENDIANNESS'] - path = [cwd,cwd + '/config'] group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path, CPPDEFINES=CPPDEFINES)