summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsakumisu <[email protected]>2025-12-11 11:45:23 +0800
committersakumisu <[email protected]>2025-12-12 22:33:06 +0800
commite951fd01c88ef784e784541015aff56e9838174c (patch)
treeafc3ec0c409c15871e98d3007929a76f661f7238
parentbf1d9db9a1f1acd9aee457a0cd27173c98e52bb2 (diff)
chore(cmake): fix cdc symbol name
Signed-off-by: sakumisu <[email protected]>
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index daaaae79..5c3e651b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -88,7 +88,7 @@ elseif(ESP_PLATFORM)
# 强制链接器不删除符号
if(CONFIG_CHERRYUSB_HOST_CDC_ACM)
- target_link_libraries(${COMPONENT_LIB} INTERFACE "-u cdc_acm_class_info")
+ target_link_libraries(${COMPONENT_LIB} INTERFACE "-u cdc_acm_none_class_info")
target_link_libraries(${COMPONENT_LIB} INTERFACE "-u cdc_data_class_info")
endif()
if(CONFIG_CHERRYUSB_HOST_HID)