summaryrefslogtreecommitdiff
path: root/examples/host/hid_controller/Makefile
diff options
context:
space:
mode:
authorhathach <[email protected]>2021-10-18 11:42:00 +0700
committerhathach <[email protected]>2021-10-18 11:42:00 +0700
commit6fcf4bee8c1540618b5d8d8709ef76cd2aa1c66f (patch)
tree3244b75ed6fe301836e5dc58b67d1d82724b559d /examples/host/hid_controller/Makefile
parenta7dd5b616cb95a4e395a148fcd2f761ce23a8faf (diff)
suppress null-dereference by usbh and lwip
Diffstat (limited to 'examples/host/hid_controller/Makefile')
-rw-r--r--examples/host/hid_controller/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/host/hid_controller/Makefile b/examples/host/hid_controller/Makefile
index 6f59faeee..2595ec4a7 100644
--- a/examples/host/hid_controller/Makefile
+++ b/examples/host/hid_controller/Makefile
@@ -12,7 +12,8 @@ EXAMPLE_SOURCE += \
SRC_C += $(addprefix $(CURRENT_PATH)/, $(EXAMPLE_SOURCE))
-CFLAGS += -Wno-error=cast-align
+# TODO: suppress warning caused by host stack
+CFLAGS += -Wno-error=cast-align -Wno-error=null-dereference
# TinyUSB Host Stack source
SRC_C += \