diff options
| author | hathach <[email protected]> | 2021-09-18 13:35:26 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2021-09-18 13:35:26 +0700 |
| commit | 3333703d257b4b2a37f543a65ea4a6e2db777fdb (patch) | |
| tree | fb37112e82f7f64857473d8346f32c763bd67ec9 /examples/host/hid_controller/Makefile | |
| parent | 82618d2d5f15d0f8dd9631dec3807964a1281782 (diff) | |
| parent | 90465299b42facff3c815d97950066706dbbd74a (diff) | |
Merge branch 'master' into zhangslice-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 |
