feat(platform/zephyr): support msc host with disk

Signed-off-by: sakumisu <1203593632@qq.com>
This commit is contained in:
sakumisu
2025-06-04 15:07:33 +08:00
parent 6b7d755d3a
commit 06a0c4393b
3 changed files with 146 additions and 0 deletions

View File

@@ -148,6 +148,9 @@ elseif(ZEPHYR_BASE)
if (CONFIG_SHELL)
list(APPEND cherryusb_srcs ${CMAKE_CURRENT_LIST_DIR}/platform/zephyr/usb_cmd.c)
endif ()
if (CONFIG_FILE_SYSTEM AND CONFIG_CHERRYUSB_HOST)
list(APPEND cherryusb_srcs ${CMAKE_CURRENT_LIST_DIR}/platform/zephyr/usbh_msc_disk.c)
endif ()
zephyr_library()
if(cherryusb_incs)