We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ed7ddd4 commit 2ae3c89Copy full SHA for 2ae3c89
1 file changed
extmod/btstack/btstack.mk
@@ -66,11 +66,12 @@ endif
66
LIB_SRC_C += $(SRC_BTSTACK)
67
68
# Suppress some warnings.
69
-BTSTACK_WARNING_CFLAGS = -Wno-old-style-definition -Wno-unused-variable -Wno-unused-parameter
+BTSTACK_WARNING_CFLAGS = -Wno-old-style-definition -Wno-unused-variable -Wno-unused-parameter -Wimplicit-fallthrough=0
70
ifneq ($(CC),clang)
71
BTSTACK_WARNING_CFLAGS += -Wno-format
72
endif
73
$(BUILD)/lib/btstack/src/%.o: CFLAGS += $(BTSTACK_WARNING_CFLAGS)
74
+$(BUILD)/lib/btstack/platform/%.o: CFLAGS += $(BTSTACK_WARNING_CFLAGS)
75
76
77
0 commit comments