diff options
| author | hathach <[email protected]> | 2021-08-24 19:10:23 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2021-08-24 19:10:23 +0700 |
| commit | 3c0c051df182cb7261e0f5eb6c52e84f860d0ae1 (patch) | |
| tree | 46849b4a8829b1b005044b0c0c42a106e56a25ff /examples/host/hid_controller/Makefile | |
| parent | 88bb8fac3d555e390f59770200c73a13eb61504b (diff) | |
add tuh_vid_pid_get()
complete Sony PS4 dualshock controller example
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 |
