File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -111,6 +111,9 @@ if GetDepend(['PKG_CHERRYUSB_DEVICE']):
111111 LIBS = ['libpusb2_dc_a32_softfp_neon.a' ]
112112 if GetDepend (['PKG_CHERRYUSB_DEVICE_NRF5X' ]):
113113 src += Glob ('port/nrf5x/usb_dc_nrf5x.c' )
114+ if GetDepend (['PKG_CHERRYUSB_DEVICE_RP2040' ]):
115+ path += [cwd + '/port/rp2040' ]
116+ src += Glob ('port/rp2040/usb_dc_rp2040.c' )
114117
115118 if GetDepend (['PKG_CHERRYUSB_DEVICE_CDC_ACM' ]):
116119 src += Glob ('class/cdc/usbd_cdc_acm.c' )
@@ -267,6 +270,10 @@ if GetDepend(['PKG_CHERRYUSB_HOST']):
267270 LIBPATH = [cwd + '/port/xhci/phytium' ]
268271 LIBS = ['libxhci_a32_softfp_neon.a' ]
269272
273+ if GetDepend (['PKG_CHERRYUSB_HOST_RP2040' ]):
274+ path += [cwd + '/port/rp2040' ]
275+ src += Glob ('port/rp2040/usb_hc_rp2040.c' )
276+
270277 if GetDepend (['PKG_CHERRYUSB_HOST_CDC_ACM' ]):
271278 src += Glob ('class/serial/usbh_cdc_acm.c' )
272279 if GetDepend (['PKG_CHERRYUSB_HOST_HID' ]):
You can’t perform that action at this time.
0 commit comments