From 2a18d6873b6f3b22e9900197f2ea480d1e0fa4f4 Mon Sep 17 00:00:00 2001 From: hydevcode Date: Fri, 24 Jan 2025 23:12:25 +0800 Subject: [bsp][nrf5x]added the cherryusb adapter for nrf52840 (#9939) --- components/drivers/usb/cherryusb/SConscript | 2 ++ 1 file changed, 2 insertions(+) (limited to 'components/drivers/usb/cherryusb/SConscript') diff --git a/components/drivers/usb/cherryusb/SConscript b/components/drivers/usb/cherryusb/SConscript index 58d0aa01c2..29cbd4ae80 100644 --- a/components/drivers/usb/cherryusb/SConscript +++ b/components/drivers/usb/cherryusb/SConscript @@ -28,6 +28,8 @@ if GetDepend(['RT_CHERRYUSB_DEVICE']): if GetDepend(['RT_CHERRYUSB_DEVICE_SPEED_HS']): CPPDEFINES+=['CONFIG_USB_HS'] + if GetDepend(['RT_CHERRYUSB_DEVICE_NRF5X']): + src += Glob('port/nrf5x/usb_dc_nrf5x.c') if GetDepend(['RT_CHERRYUSB_DEVICE_FSDEV']): src += Glob('port/fsdev/usb_dc_fsdev.c') if GetDepend(['RT_CHERRYUSB_DEVICE_DWC2_ST']): -- cgit v1.3.1