summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhathach <[email protected]>2026-04-14 20:06:26 +0700
committerhathach <[email protected]>2026-04-14 20:06:26 +0700
commite7642cf753b67bcfee21983e2caa292c2722ba4c (patch)
tree583870724a11bd52165ad9d953e534ce51326403
parente32a510ce610507717d940d329169d8939c10eab (diff)
suppress null-dereference warnings in FreeRTOS builds
-rw-r--r--hw/bsp/family_support.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/bsp/family_support.mk b/hw/bsp/family_support.mk
index 69aa08922..6b08f6e88 100644
--- a/hw/bsp/family_support.mk
+++ b/hw/bsp/family_support.mk
@@ -170,6 +170,7 @@ ifeq ($(RTOS),freertos)
# Suppress FreeRTOS source warnings
CFLAGS += -Wno-error=cast-qual
+ CFLAGS += -Wno-error=null-dereference
# FreeRTOS (lto + Os) linker issue
LDFLAGS += -Wl,--undefined=vTaskSwitchContext