diff options
Diffstat (limited to 'circuitpython/lib/tinyusb/examples/host/hid_to_cdc/Makefile')
-rw-r--r-- | circuitpython/lib/tinyusb/examples/host/hid_to_cdc/Makefile | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/circuitpython/lib/tinyusb/examples/host/hid_to_cdc/Makefile b/circuitpython/lib/tinyusb/examples/host/hid_to_cdc/Makefile new file mode 100644 index 0000000..b62a383 --- /dev/null +++ b/circuitpython/lib/tinyusb/examples/host/hid_to_cdc/Makefile @@ -0,0 +1,20 @@ +include ../../../tools/top.mk +include ../../make.mk + +INC += \ + src \ + $(TOP)/hw \ + +# Example source +EXAMPLE_SOURCE += $(wildcard src/*.c) +SRC_C += $(addprefix $(CURRENT_PATH)/, $(EXAMPLE_SOURCE)) + +CFLAGS += -Wno-error=cast-align -Wno-error=null-dereference + +SRC_C += \ + src/class/hid/hid_host.c \ + src/host/hub.c \ + src/host/usbh.c \ + src/host/usbh_control.c + +include ../../rules.mk |