|
@@ -111,6 +111,9 @@ if GetDepend(['PKG_CHERRYUSB_DEVICE']):
|
|
|
LIBS = ['libpusb2_dc_a32_softfp_neon.a']
|
|
LIBS = ['libpusb2_dc_a32_softfp_neon.a']
|
|
|
if GetDepend(['PKG_CHERRYUSB_DEVICE_NRF5X']):
|
|
if GetDepend(['PKG_CHERRYUSB_DEVICE_NRF5X']):
|
|
|
src += Glob('port/nrf5x/usb_dc_nrf5x.c')
|
|
src += Glob('port/nrf5x/usb_dc_nrf5x.c')
|
|
|
|
|
+ if GetDepend(['PKG_CHERRYUSB_DEVICE_RP2040']):
|
|
|
|
|
+ path += [cwd + '/port/rp2040']
|
|
|
|
|
+ src += Glob('port/rp2040/usb_dc_rp2040.c')
|
|
|
|
|
|
|
|
if GetDepend(['PKG_CHERRYUSB_DEVICE_CDC_ACM']):
|
|
if GetDepend(['PKG_CHERRYUSB_DEVICE_CDC_ACM']):
|
|
|
src += Glob('class/cdc/usbd_cdc_acm.c')
|
|
src += Glob('class/cdc/usbd_cdc_acm.c')
|
|
@@ -267,6 +270,10 @@ if GetDepend(['PKG_CHERRYUSB_HOST']):
|
|
|
LIBPATH = [cwd + '/port/xhci/phytium']
|
|
LIBPATH = [cwd + '/port/xhci/phytium']
|
|
|
LIBS = ['libxhci_a32_softfp_neon.a']
|
|
LIBS = ['libxhci_a32_softfp_neon.a']
|
|
|
|
|
|
|
|
|
|
+ if GetDepend(['PKG_CHERRYUSB_HOST_RP2040']):
|
|
|
|
|
+ path += [cwd + '/port/rp2040']
|
|
|
|
|
+ src += Glob('port/rp2040/usb_hc_rp2040.c')
|
|
|
|
|
+
|
|
|
if GetDepend(['PKG_CHERRYUSB_HOST_CDC_ACM']):
|
|
if GetDepend(['PKG_CHERRYUSB_HOST_CDC_ACM']):
|
|
|
src += Glob('class/serial/usbh_cdc_acm.c')
|
|
src += Glob('class/serial/usbh_cdc_acm.c')
|
|
|
if GetDepend(['PKG_CHERRYUSB_HOST_HID']):
|
|
if GetDepend(['PKG_CHERRYUSB_HOST_HID']):
|