diff --git a/examples/cherryusb/CMakeLists.txt b/examples/cherryusb/CMakeLists.txt index d6d1da93a..da2bcb051 100644 --- a/examples/cherryusb/CMakeLists.txt +++ b/examples/cherryusb/CMakeLists.txt @@ -6,36 +6,36 @@ find_package(bouffalo_sdk REQUIRED HINTS $ENV{BL_SDK_BASE}) sdk_add_include_directories(.) -sdk_add_include_directories(CherryUSB/common) -sdk_add_include_directories(CherryUSB/osal) -sdk_add_include_directories(CherryUSB/core) -sdk_add_include_directories(CherryUSB/class/cdc) -sdk_add_include_directories(CherryUSB/class/hid) -sdk_add_include_directories(CherryUSB/class/msc) -sdk_add_include_directories(CherryUSB/class/audio) -sdk_add_include_directories(CherryUSB/class/video) -sdk_add_include_directories(CherryUSB/class/hub) -sdk_add_include_directories(CherryUSB/class/wireless) -sdk_add_include_directories(CherryUSB/class/vendor/net) -sdk_add_include_directories(CherryUSB/class/vendor/serial) +sdk_add_include_directories(cherryusb/common) +sdk_add_include_directories(cherryusb/osal) +sdk_add_include_directories(cherryusb/core) +sdk_add_include_directories(cherryusb/class/cdc) +sdk_add_include_directories(cherryusb/class/hid) +sdk_add_include_directories(cherryusb/class/msc) +sdk_add_include_directories(cherryusb/class/audio) +sdk_add_include_directories(cherryusb/class/video) +sdk_add_include_directories(cherryusb/class/hub) +sdk_add_include_directories(cherryusb/class/wireless) +sdk_add_include_directories(cherryusb/class/vendor/net) +sdk_add_include_directories(cherryusb/class/vendor/serial) -target_sources(app PRIVATE CherryUSB/core/usbh_core.c) -target_sources(app PRIVATE CherryUSB/port/ehci/usb_hc_ehci.c) -target_sources(app PRIVATE CherryUSB/port/ehci/usb_glue_bouffalo.c) -target_sources(app PRIVATE CherryUSB/osal/usb_osal_freertos.c) -target_sources(app PRIVATE CherryUSB/class/cdc/usbh_cdc_acm.c) -target_sources(app PRIVATE CherryUSB/class/cdc/usbh_cdc_ecm.c) -target_sources(app PRIVATE CherryUSB/class/cdc/usbh_cdc_ncm.c) -target_sources(app PRIVATE CherryUSB/class/msc/usbh_msc.c) -target_sources(app PRIVATE CherryUSB/class/hid/usbh_hid.c) -target_sources(app PRIVATE CherryUSB/class/hub/usbh_hub.c) -target_sources(app PRIVATE CherryUSB/class/video/usbh_video.c) -target_sources(app PRIVATE CherryUSB/class/audio/usbh_audio.c) -target_sources(app PRIVATE CherryUSB/class/wireless/usbh_rndis.c) -target_sources(app PRIVATE CherryUSB/class/wireless/usbh_bluetooth.c) -target_sources(app PRIVATE CherryUSB/class/vendor/net/usbh_asix.c) +target_sources(app PRIVATE cherryusb/core/usbh_core.c) +target_sources(app PRIVATE cherryusb/port/ehci/usb_hc_ehci.c) +target_sources(app PRIVATE cherryusb/port/ehci/usb_glue_bouffalo.c) +target_sources(app PRIVATE cherryusb/osal/usb_osal_freertos.c) +target_sources(app PRIVATE cherryusb/class/cdc/usbh_cdc_acm.c) +target_sources(app PRIVATE cherryusb/class/cdc/usbh_cdc_ecm.c) +target_sources(app PRIVATE cherryusb/class/cdc/usbh_cdc_ncm.c) +target_sources(app PRIVATE cherryusb/class/msc/usbh_msc.c) +target_sources(app PRIVATE cherryusb/class/hid/usbh_hid.c) +target_sources(app PRIVATE cherryusb/class/hub/usbh_hub.c) +target_sources(app PRIVATE cherryusb/class/video/usbh_video.c) +target_sources(app PRIVATE cherryusb/class/audio/usbh_audio.c) +target_sources(app PRIVATE cherryusb/class/wireless/usbh_rndis.c) +target_sources(app PRIVATE cherryusb/class/wireless/usbh_bluetooth.c) +target_sources(app PRIVATE cherryusb/class/vendor/net/usbh_asix.c) -set(BLUETOOTH_PATH CherryUSB/third_party/zephyr_bluetooth-2.7.5) +set(BLUETOOTH_PATH cherryusb/third_party/zephyr_bluetooth-2.7.5) add_subdirectory(${BLUETOOTH_PATH}/zephyr_bluetooth) target_link_libraries(zephyr_bluetooth sdk_intf_lib) diff --git a/examples/cherryusb/cherryusb b/examples/cherryusb/cherryusb index b4c455e5e..1d38fde61 160000 --- a/examples/cherryusb/cherryusb +++ b/examples/cherryusb/cherryusb @@ -1 +1 @@ -Subproject commit b4c455e5e6a047f7d3bff97f8659d3ab2951d6ae +Subproject commit 1d38fde61a9baed194533926311811865f338aec