refactor(serial): add host serial framework
Signed-off-by: sakumisu <1203593632@qq.com>
This commit is contained in:
@@ -26,6 +26,7 @@ if(BL_SDK_BASE)
|
||||
set(CONFIG_CHERRYUSB_HOST_CP210X 1)
|
||||
set(CONFIG_CHERRYUSB_HOST_FTDI 1)
|
||||
set(CONFIG_CHERRYUSB_HOST_PL2303 1)
|
||||
set(CONFIG_CHERRYUSB_HOST_GSM 1)
|
||||
|
||||
set(CONFIG_CHERRYUSB_DEVICE_BL 1)
|
||||
set(CONFIG_CHERRYUSB_HOST_EHCI_BL 1)
|
||||
@@ -139,6 +140,9 @@ elseif(ESP_PLATFORM)
|
||||
if(CONFIG_CHERRYUSB_HOST_PL2303)
|
||||
target_link_libraries(${COMPONENT_LIB} INTERFACE "-u pl2303_class_info")
|
||||
endif()
|
||||
if(CONFIG_CHERRYUSB_HOST_GSM)
|
||||
target_link_libraries(${COMPONENT_LIB} INTERFACE "-u gsm_class_info")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if(CONFIG_CHERRYUSB)
|
||||
@@ -194,6 +198,7 @@ elseif(HPM_SDK_BASE)
|
||||
set(CONFIG_CHERRYUSB_HOST_CP210X 1)
|
||||
set(CONFIG_CHERRYUSB_HOST_FTDI 1)
|
||||
set(CONFIG_CHERRYUSB_HOST_PL2303 1)
|
||||
set(CONFIG_CHERRYUSB_HOST_GSM 1)
|
||||
|
||||
set(CONFIG_CHERRYUSB_DEVICE_HPM 1)
|
||||
set(CONFIG_CHERRYUSB_HOST_EHCI_HPM 1)
|
||||
|
||||
Reference in New Issue
Block a user