summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2024-04-04 14:35:29 +0700
committerGitHub <[email protected]>2024-04-04 14:35:29 +0700
commit177b388be0f430ef09ad2caf61cd70acd574c0d5 (patch)
tree4126a61278ccaeed3f0bacc724e0aaf8c51054a5 /examples
parent66cdf6d097d76f8d21ed4314651ac730d4023f99 (diff)
parentebe692350047b7b2a5b46de7894352934c4200aa (diff)
Merge pull request #2571 from hathach/fix-max3421-rp2040-build
fix build with rp2040 + max3421
Diffstat (limited to 'examples')
-rw-r--r--examples/build_system/make/make.mk1
-rw-r--r--examples/host/cdc_msc_hid_freertos/skip.txt1
2 files changed, 2 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
diff --git a/examples/host/cdc_msc_hid_freertos/skip.txt b/examples/host/cdc_msc_hid_freertos/skip.txt
new file mode 100644
index 000000000..2ba4438fd
--- /dev/null
+++ b/examples/host/cdc_msc_hid_freertos/skip.txt
@@ -0,0 +1 @@
+mcu:RP2040