diff options
| author | HiFiPhile <[email protected]> | 2023-10-10 15:02:25 +0200 |
|---|---|---|
| committer | HiFiPhile <[email protected]> | 2023-10-10 15:02:25 +0200 |
| commit | b5c839f739280a59dec8e2fe082005518dfc19c8 (patch) | |
| tree | 8140b74bfddb16a6ed5a0dcff13a22727da3a727 /examples/host/hid_controller | |
| parent | 6be7f354c26e09a87d1b856b0e237ff82be5963f (diff) | |
| parent | 513ab37ec6f394d5332d159a62afa468a1a0a7cb (diff) | |
Merge branch 'master' of https://github.com/hathach/tinyusb into uac_interl
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 | ||||
| -rw-r--r-- | examples/host/hid_controller/only.txt | 1 |
3 files changed, 6 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 diff --git a/examples/host/hid_controller/only.txt b/examples/host/hid_controller/only.txt index 3837ac8a2..fee10f9e2 100644 --- a/examples/host/hid_controller/only.txt +++ b/examples/host/hid_controller/only.txt @@ -1,3 +1,4 @@ +mcu:KINETIS_KL mcu:LPC175X_6X mcu:LPC177X_8X mcu:LPC18XX |
