summaryrefslogtreecommitdiff
path: root/examples/device/cdc_msc_freertos
diff options
context:
space:
mode:
Diffstat (limited to 'examples/device/cdc_msc_freertos')
-rw-r--r--examples/device/cdc_msc_freertos/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/device/cdc_msc_freertos/Makefile b/examples/device/cdc_msc_freertos/Makefile
index 677dcac9c..a155d6cb7 100644
--- a/examples/device/cdc_msc_freertos/Makefile
+++ b/examples/device/cdc_msc_freertos/Makefile
@@ -29,6 +29,9 @@ SRC_C += \
$(FREERTOS_SRC)/timers.c \
$(subst ../../../,,$(wildcard ../../../$(FREERTOS_SRC)/portable/GCC/$(FREERTOS_PORT)/*.c))
+# Suppress FreeRTOS warnings
+CFLAGS += -Wno-error=cast-qual
+
# FreeRTOS (lto + Os) linker issue
LDFLAGS += -Wl,--undefined=vTaskSwitchContext