Skip to content

Commit

Permalink
fix path
Browse files Browse the repository at this point in the history
  • Loading branch information
sakumisu committed Mar 18, 2024
1 parent 7983c62 commit 2eee9bf
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 29 deletions.
56 changes: 28 additions & 28 deletions examples/cherryusb/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion examples/cherryusb/cherryusb

0 comments on commit 2eee9bf

Please sign in to comment.