summaryrefslogtreecommitdiffstats
path: root/tinyusb/examples/device/board_test/Makefile
blob: b65575ce62f5e2cbc0bd0b8a3edd0314bcd1ea6e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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))

# board_test example is special example that doesn't enable device or host stack
# This can cause some TinyUSB API missing, this hack to allow us to fill those API
# to pass the compilation process
CFLAGS +=	\
	-D"tud_int_handler(x)= " \

include ../../rules.mk