remote host config
This commit is contained in:
parent
00fa2e2d78
commit
b8c13d494c
|
@ -124,21 +124,6 @@ menu "Onboard Peripheral Drivers"
|
||||||
bool "Enable SDRAM"
|
bool "Enable SDRAM"
|
||||||
default n
|
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
|
config BSP_USING_USB_DEVICE
|
||||||
bool "Enable USB Device"
|
bool "Enable USB Device"
|
||||||
select RT_USING_USB_DEVICE
|
select RT_USING_USB_DEVICE
|
||||||
|
|
|
@ -53,14 +53,6 @@ if GetDepend('BSP_USING_USB_DEVICE'):
|
||||||
src += Glob('usb/phy/*.c')
|
src += Glob('usb/phy/*.c')
|
||||||
CPPDEFINES += ['ENDIANNESS']
|
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']
|
path = [cwd,cwd + '/config']
|
||||||
|
|
||||||
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path, CPPDEFINES=CPPDEFINES)
|
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path, CPPDEFINES=CPPDEFINES)
|
||||||
|
|
Loading…
Reference in New Issue