diff options
Diffstat (limited to 'examples/make.mk')
| -rw-r--r-- | examples/make.mk | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/examples/make.mk b/examples/make.mk index d76f611fb..444b22310 100644 --- a/examples/make.mk +++ b/examples/make.mk @@ -31,6 +31,9 @@ BUILD = build-$(BOARD) # Board specific include $(TOP)/hw/bsp/$(BOARD)/board.mk +# Include all source C in board folder +SRC_C += $(subst $(TOP)/,,$(wildcard $(TOP)/hw/bsp/$(BOARD)/*.c)) + # Compiler Flags CFLAGS += \ -fsingle-precision-constant \ @@ -59,7 +62,7 @@ CFLAGS += \ # Debugging/Optimization ifeq ($(DEBUG), 1) - CFLAGS += -O0 -ggdb + CFLAGS += -O0 -ggdb -DCFG_TUSB_DEBUG=1 else CFLAGS += -flto -Os endif |
