We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ed5503 commit 382dccaCopy full SHA for 382dcca
hw/bsp/ch32v20x/family.cmake
@@ -61,6 +61,7 @@ function(add_board_target BOARD_TARGET)
61
if (PORT EQUAL 0)
62
target_compile_definitions(${BOARD_TARGET} PUBLIC
63
CFG_TUD_WCH_USBIP_FSDEV=1
64
+ CFG_TUH_WCH_USBIP_USBFS=1
65
)
66
elseif (PORT EQUAL 1)
67
@@ -127,6 +128,7 @@ function(family_configure_example TARGET RTOS)
127
128
129
target_sources(${TARGET} PUBLIC
130
${TOP}/src/portable/wch/dcd_ch32_usbfs.c
131
+ ${TOP}/src/portable/wch/hcd_ch32_usbfs.c
132
${TOP}/src/portable/st/stm32_fsdev/dcd_stm32_fsdev.c
133
134
target_link_libraries(${TARGET} PUBLIC board_${BOARD})
0 commit comments