2020-05-04 00:29:52 +07:00
|
|
|
include ../../../tools/top.mk
|
|
|
|
include ../../make.mk
|
|
|
|
|
|
|
|
INC += \
|
|
|
|
src \
|
|
|
|
$(TOP)/hw \
|
|
|
|
|
|
|
|
# Example source
|
|
|
|
EXAMPLE_SOURCE += $(wildcard src/*.c)
|
|
|
|
SRC_C += $(addprefix $(CURRENT_PATH)/, $(EXAMPLE_SOURCE))
|
|
|
|
|
2020-05-22 20:57:52 +07:00
|
|
|
CFLAGS += -Wno-error=cast-align
|
2020-05-04 00:29:52 +07:00
|
|
|
|
|
|
|
# TinyUSB Host Stack source
|
|
|
|
SRC_C += \
|
2020-09-03 17:07:29 +07:00
|
|
|
src/class/cdc/cdc_host.c \
|
|
|
|
src/class/hid/hid_host.c \
|
|
|
|
src/class/msc/msc_host.c \
|
2020-05-04 00:29:52 +07:00
|
|
|
src/host/hub.c \
|
2020-09-07 15:19:20 +07:00
|
|
|
src/host/usbh.c \
|
|
|
|
src/host/usbh_control.c \
|
2021-02-23 23:09:48 +07:00
|
|
|
src/portable/ehci/ehci.c \
|
|
|
|
src/portable/ohci/ohci.c \
|
2021-02-22 17:15:06 +07:00
|
|
|
src/portable/nxp/transdimension/hcd_transdimension.c \
|
2020-05-22 20:57:52 +07:00
|
|
|
src/portable/nxp/lpc17_40/hcd_lpc17_40.c
|
2020-05-04 00:29:52 +07:00
|
|
|
|
|
|
|
include ../../rules.mk
|