diff options
| author | Ha Thach <[email protected]> | 2023-09-28 16:56:20 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-09-28 16:56:20 +0700 |
| commit | b394ae1786911a89ea3437d7090cda477ca7df6c (patch) | |
| tree | 18fd0a2c14493d2e6baf7490fc73deac81fe2290 /examples/host/bare_api | |
| parent | 5b08a65ad2e695332d56bd4676841a91f34dd5b1 (diff) | |
| parent | 8348631bf538e2aa0a433ed6e7df9e42bb39bdd5 (diff) | |
Merge pull request #2270 from hathach/add-max3421-esp32
Add max3421 support for esp32
Diffstat (limited to 'examples/host/bare_api')
| -rw-r--r-- | examples/host/bare_api/CMakeLists.txt | 5 | ||||
| -rw-r--r-- | examples/host/bare_api/Makefile | 10 |
2 files changed, 5 insertions, 10 deletions
diff --git a/examples/host/bare_api/CMakeLists.txt b/examples/host/bare_api/CMakeLists.txt index 05398b079..76182d6fa 100644 --- a/examples/host/bare_api/CMakeLists.txt +++ b/examples/host/bare_api/CMakeLists.txt @@ -10,6 +10,11 @@ project(${PROJECT} C CXX ASM) # Checks this example is valid for the family and initializes the project family_initialize_project(${PROJECT} ${CMAKE_CURRENT_LIST_DIR}) +# Espressif has its own cmake build system +if(FAMILY STREQUAL "espressif") + return() +endif() + add_executable(${PROJECT}) # Example source diff --git a/examples/host/bare_api/Makefile b/examples/host/bare_api/Makefile index 058307c40..161f8c774 100644 --- a/examples/host/bare_api/Makefile +++ b/examples/host/bare_api/Makefile @@ -10,14 +10,4 @@ EXAMPLE_SOURCE += \ SRC_C += $(addprefix $(CURRENT_PATH)/, $(EXAMPLE_SOURCE)) -# TinyUSB Host Stack source -SRC_C += \ - src/class/cdc/cdc_host.c \ - src/class/hid/hid_host.c \ - src/class/msc/msc_host.c \ - src/host/hub.c \ - src/host/usbh.c \ - src/portable/ohci/ohci.c \ - src/portable/nxp/lpc17_40/hcd_lpc17_40.c - include ../../rules.mk |
