refactor(class/dfu): refactor dfu device driver

Signed-off-by: sakumisu <1203593632@qq.com>
This commit is contained in:
sakumisu
2026-02-05 20:39:38 +08:00
parent 1a5bc9d150
commit 6b0ec0e16f
13 changed files with 387 additions and 860 deletions

View File

@@ -165,6 +165,8 @@ if GetDepend(['PKG_CHERRYUSB_DEVICE']):
src += Glob('demo/cdc_ecm_template.c')
if GetDepend(['PKG_CHERRYUSB_DEVICE_TEMPLATE_CDC_NCM']):
src += Glob('demo/cdc_ncm_template.c')
if GetDepend(['PKG_CHERRYUSB_DEVICE_TEMPLATE_DFU']):
src += Glob('demo/dfu_template.c')
if GetDepend(['PKG_CHERRYUSB_DEVICE_TEMPLATE_CDC_ACM_MSC']):
src += Glob('demo/cdc_acm_msc_template.c')
if GetDepend(['PKG_CHERRYUSB_DEVICE_TEMPLATE_CDC_ACM_MSC_HID']):