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/hid_controller | |
| 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/hid_controller')
| -rw-r--r-- | examples/host/hid_controller/CMakeLists.txt | 5 | ||||
| -rw-r--r-- | examples/host/hid_controller/Makefile | 10 |
2 files changed, 5 insertions, 10 deletions
diff --git a/examples/host/hid_controller/CMakeLists.txt b/examples/host/hid_controller/CMakeLists.txt index 3fb630aaa..c1b500dd8 100644 --- a/examples/host/hid_controller/CMakeLists.txt +++ b/examples/host/hid_controller/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/hid_controller/Makefile b/examples/host/hid_controller/Makefile index cda2977bc..e7f603f25 100644 --- a/examples/host/hid_controller/Makefile +++ b/examples/host/hid_controller/Makefile @@ -11,14 +11,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 |
