diff options
| author | Adrian Hesketh <[email protected]> | 2021-08-26 15:44:50 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-08-26 15:44:50 +0100 |
| commit | 138e77f3b575d641e07a9f068790ba2d854c6061 (patch) | |
| tree | bf7d6f6d840d6540026c4d000ad5ed2cc612c2b3 /examples/host/hid_controller/Makefile | |
| parent | 49bcbf0f5dc57cb11b77800ae7b31ea5e91ab18f (diff) | |
| parent | 8d97f0e81f775d8c7646dfc75ee59b7e938bbf8d (diff) | |
Merge branch 'hathach:master' into master
Diffstat (limited to 'examples/host/hid_controller/Makefile')
| -rw-r--r-- | examples/host/hid_controller/Makefile | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/examples/host/hid_controller/Makefile b/examples/host/hid_controller/Makefile new file mode 100644 index 000000000..6f59faeee --- /dev/null +++ b/examples/host/hid_controller/Makefile @@ -0,0 +1,30 @@ +include ../../../tools/top.mk +include ../../make.mk + +INC += \ + src \ + $(TOP)/hw \ + +# Example source +EXAMPLE_SOURCE += \ + src/hid_app.c \ + src/main.c + +SRC_C += $(addprefix $(CURRENT_PATH)/, $(EXAMPLE_SOURCE)) + +CFLAGS += -Wno-error=cast-align + +# 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/host/usbh_control.c \ + src/portable/ehci/ehci.c \ + src/portable/ohci/ohci.c \ + src/portable/nxp/transdimension/hcd_transdimension.c \ + src/portable/nxp/lpc17_40/hcd_lpc17_40.c + +include ../../rules.mk |
