Austin Schuh | 41baf20 | 2022-01-01 14:33:40 -0800 | [diff] [blame^] | 1 | include ../../../tools/top.mk |
| 2 | include ../../make.mk |
| 3 | |
| 4 | INC += \ |
| 5 | src \ |
| 6 | $(TOP)/hw \ |
| 7 | |
| 8 | # Example source |
| 9 | EXAMPLE_SOURCE += \ |
| 10 | src/hid_app.c \ |
| 11 | src/main.c |
| 12 | |
| 13 | SRC_C += $(addprefix $(CURRENT_PATH)/, $(EXAMPLE_SOURCE)) |
| 14 | |
| 15 | # TODO: suppress warning caused by host stack |
| 16 | CFLAGS += -Wno-error=cast-align -Wno-error=null-dereference |
| 17 | |
| 18 | # TinyUSB Host Stack source |
| 19 | SRC_C += \ |
| 20 | src/class/cdc/cdc_host.c \ |
| 21 | src/class/hid/hid_host.c \ |
| 22 | src/class/msc/msc_host.c \ |
| 23 | src/host/hub.c \ |
| 24 | src/host/usbh.c \ |
| 25 | src/host/usbh_control.c \ |
| 26 | src/portable/ohci/ohci.c \ |
| 27 | src/portable/nxp/lpc17_40/hcd_lpc17_40.c |
| 28 | |
| 29 | include ../../rules.mk |