summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhathach <[email protected]>2022-11-21 12:33:31 +0700
committerhathach <[email protected]>2022-11-21 12:33:31 +0700
commitba9f88f18c222d9e74e483340ade4a420ad49f01 (patch)
tree41308c54318fe3d8d4538eaa93fbf2fdb2884fe6
parent53677d484419d292f1a4841a5c928baddeb1c28a (diff)
suppress fatfs cast-qual
-rw-r--r--examples/host/msc_file_explorer/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/host/msc_file_explorer/Makefile b/examples/host/msc_file_explorer/Makefile
index b0f9959fc..de2f9c01c 100644
--- a/examples/host/msc_file_explorer/Makefile
+++ b/examples/host/msc_file_explorer/Makefile
@@ -22,6 +22,9 @@ SRC_C += \
$(FATFS_PATH)/ffsystem.c \
$(FATFS_PATH)/ffunicode.c \
+# suppress warning caused by fatfs
+CFLAGS += -Wno-error=cast-qual
+
# TinyUSB Host Stack source
SRC_C += \
src/class/cdc/cdc_host.c \