update(rtthread): add check for use dfs

Signed-off-by: sakumisu <1203593632@qq.com>
This commit is contained in:
sakumisu
2025-04-26 17:22:47 +08:00
parent 95d968bd57
commit 0c3a64516d
2 changed files with 6 additions and 1 deletions

View File

@@ -265,6 +265,7 @@ if GetDepend(['PKG_CHERRYUSB_HOST']):
src += Glob('class/vendor/serial/usbh_pl2303.c')
if GetDepend(['PKG_CHERRYUSB_HOST_TEMPLATE']):
CPPDEFINES+=['TEST_USBH_MSC=0']
src += Glob('demo/usb_host.c')
if GetDepend('RT_USING_DFS') and GetDepend(['PKG_CHERRYUSB_HOST_MSC']):