Skip to content

Commit

Permalink
usb_host: Build USB test app in CI
Browse files Browse the repository at this point in the history
Relates to espressif/idf-extra-components#69

This commit is a good reason why espressif/idf-extra-components#16 should be addressed
  • Loading branch information
tore-espressif committed Jul 14, 2022
1 parent aeab557 commit 1cc4369
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions usb/test_app/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
# CMakeLists in this exact order for cmake to work correctly
cmake_minimum_required(VERSION 3.16)

set(EXTRA_COMPONENT_DIRS $ENV{IDF_PATH}/examples/peripherals/usb/host/cdc/common
set(EXTRA_COMPONENT_DIRS ../usb_host_cdc_acm
$ENV{IDF_PATH}/examples/peripherals/usb/host/msc/components/)

# Set the components to include the tests for.
set(TEST_COMPONENTS "cdc_acm_host" "msc" CACHE STRING "List of components to test")
set(TEST_COMPONENTS "usb_host_cdc_acm" "msc" CACHE STRING "List of components to test")
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(usb_test_app)
2 changes: 1 addition & 1 deletion usb/usb_host_cdc_acm/test/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
idf_component_register(SRCS "test_cdc_acm_host.c" "usb_device.c"
INCLUDE_DIRS "."
REQUIRES cdc_acm_host tinyusb unity)
REQUIRES usb_host_cdc_acm tinyusb unity)

0 comments on commit 1cc4369

Please sign in to comment.