1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
include ../../../hw/bsp/family_support.mk INC += \ src \ # Example source EXAMPLE_SOURCE += $(wildcard src/*.c) SRC_C += $(addprefix $(EXAMPLE_PATH)/, $(EXAMPLE_SOURCE)) CFLAGS += -Wno-error=cast-align -Wno-error=null-dereference SRC_C += \ src/host/hub.c \ src/host/usbh.c include ../../../hw/bsp/family_rules.mk