blob: c58df562b97119f9d5963843c92bde0268fb91d9 [file] [log] [blame]
Austin Schuh41baf202022-01-01 14:33:40 -08001include ../../../tools/top.mk
2include ../../make.mk
3
4INC += \
5 src \
6 $(TOP)/hw \
7
8# Example source
9EXAMPLE_SOURCE += \
10 src/hid_app.c \
11 src/main.c
12
13SRC_C += $(addprefix $(CURRENT_PATH)/, $(EXAMPLE_SOURCE))
14
15# TODO: suppress warning caused by host stack
16CFLAGS += -Wno-error=cast-align -Wno-error=null-dereference
17
18# TinyUSB Host Stack source
19SRC_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
29include ../../rules.mk