diff --git a/hw/bsp/rp2040/family.cmake b/hw/bsp/rp2040/family.cmake index df3a6a91e..fcad10f0e 100644 --- a/hw/bsp/rp2040/family.cmake +++ b/hw/bsp/rp2040/family.cmake @@ -79,6 +79,7 @@ if (NOT TARGET _rp2040_family_inclusion_marker) ${TOP}/src/class/usbtmc/usbtmc_device.c ${TOP}/src/class/vendor/vendor_device.c ${TOP}/src/class/video/video_device.c + ${TOP}/src/class/ch341/ch341_device.c ) #------------------------------------ diff --git a/src/tusb.h b/src/tusb.h index b776d7d01..9431334e8 100644 --- a/src/tusb.h +++ b/src/tusb.h @@ -113,6 +113,10 @@ #if CFG_TUD_BTH #include "class/bth/bth_device.h" #endif + + #if CFG_TUD_CH341 + #include "class/ch341/ch341_device.h" + #endif #endif