diff options
| author | hathach <[email protected]> | 2021-10-17 16:26:27 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2021-10-17 16:36:53 +0700 |
| commit | a5f516893bbd539f11fb8d1cbb5b6db5a50fc632 (patch) | |
| tree | 1d9f344ae3b7ed1a56b27bcbb11c4ff9d1ae07de /examples/device/cdc_msc_freertos | |
| parent | 0b249618b0469529da748e3e5478751cd56acd31 (diff) | |
more with -Wcast-qual
Diffstat (limited to 'examples/device/cdc_msc_freertos')
| -rw-r--r-- | examples/device/cdc_msc_freertos/Makefile | 3 |
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 |
