summaryrefslogtreecommitdiff
path: root/examples/build_system
diff options
context:
space:
mode:
authorhathach <[email protected]>2024-04-05 17:59:38 +0700
committerhathach <[email protected]>2024-04-05 17:59:38 +0700
commit1c5abc835fb43f5784cc4883581eea09806e44a8 (patch)
tree9f278a026925da937d4cf74ea6f25b6f0c6e0436 /examples/build_system
parent5ce458588498090204cdc7c3977c0fd48e00d710 (diff)
parent5738757e2ca73ab003df5bfbf5ec7b60850ef88b (diff)
Merge branch 'master' into MCX
Diffstat (limited to 'examples/build_system')
-rw-r--r--examples/build_system/make/make.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/build_system/make/make.mk b/examples/build_system/make/make.mk
index e1113aa52..772befca4 100644
--- a/examples/build_system/make/make.mk
+++ b/examples/build_system/make/make.mk
@@ -113,6 +113,7 @@ CFLAGS += -DBOARD_$(BOARD_UPPER)
ifeq (${MAX3421_HOST},1)
SRC_C += src/portable/analog/max3421/hcd_max3421.c
CFLAGS += -DCFG_TUH_MAX3421=1
+ CMAKE_DEFSYM += -DMAX3421_HOST=1
endif
# Log level is mapped to TUSB DEBUG option