summaryrefslogtreecommitdiff
path: root/cherryusb.cmake
diff options
context:
space:
mode:
authorsakumisu <[email protected]>2025-01-19 20:44:56 +0800
committersakumisu <[email protected]>2025-01-19 20:46:12 +0800
commitea27f5b238bc751feb43f8e5b751807192fbc9cf (patch)
treefec4514e1fa0bd083b19b06581feeff077f2e346 /cherryusb.cmake
parentd4940ebd227e073a96ad96989bf9de0a7db55e63 (diff)
feat(port/rp2040): update rp2040 driver to latest
Signed-off-by: sakumisu <[email protected]>
Diffstat (limited to 'cherryusb.cmake')
-rw-r--r--cherryusb.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/cherryusb.cmake b/cherryusb.cmake
index 27171700..6a9436d5 100644
--- a/cherryusb.cmake
+++ b/cherryusb.cmake
@@ -116,6 +116,8 @@ if(CONFIG_CHERRYUSB_DEVICE)
elseif("${CONFIG_CHERRYUSB_DEVICE_DCD}" STREQUAL "aic")
list(APPEND cherryusb_srcs ${CMAKE_CURRENT_LIST_DIR}/port/aic/usb_dc_aic.c)
list(APPEND cherryusb_srcs ${CMAKE_CURRENT_LIST_DIR}/port/aic/usb_dc_aic_ll.c)
+ elseif("${CONFIG_CHERRYUSB_DEVICE_DCD}" STREQUAL "rp2040")
+ list(APPEND cherryusb_srcs ${CMAKE_CURRENT_LIST_DIR}/port/rp2040/usb_dc_rp2040.c)
endif()
endif()