remote host config

This commit is contained in:
tyustli 2019-12-27 12:57:25 +08:00
parent 00fa2e2d78
commit b8c13d494c
2 changed files with 0 additions and 23 deletions

View File

@ -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

View File

@ -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)