summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2020-04-13 10:18:17 +0700
committerGitHub <[email protected]>2020-04-13 10:18:17 +0700
commit7a93894b99237650d9358f4cdbc505b3a705a41d (patch)
treee1efa890fa3ceb93e15244ba6e6df3e61c701910 /examples
parent13a3081d308828ae6e4b9a40bb8ac7bf5b0e424c (diff)
parent04a06ec40147f1f44cfee0567667cc97bbe900ee (diff)
Merge pull request #325 from hathach/refactor-irqhandler
move irqhandler to application
Diffstat (limited to 'examples')
-rw-r--r--examples/device/board_test/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/examples/device/board_test/Makefile b/examples/device/board_test/Makefile
index 5a455078e..66d8571cf 100644
--- a/examples/device/board_test/Makefile
+++ b/examples/device/board_test/Makefile
@@ -9,4 +9,10 @@ INC += \
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_irq_handler(x)= " \
+
include ../../rules.mk