10000 samd: Ignore a maybe-uninitialized diagnostic in asf4 · dastels/circuitpython@952d9bb · GitHub
[go: up one dir, main page]

Skip to content

Commit 952d9bb

Browse files
committed
samd: Ignore a maybe-uninitialized diagnostic in asf4
I encountered this when changing optimization flags for debugging purposes. The diagnostic appears spurious and unrelated to what I'm debugging.
1 parent ad4bf75 commit 952d9bb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ports/atmel-samd/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,8 @@ SRC_ASF += \
258258
$(BUILD)/asf4/$(CHIP_FAMILY)/hpl/sdhc/hpl_sdhc.o: CFLAGS += -Wno-cast-align
259259
endif
260260

261+
$(BUILD)/asf4/$(CHIP_FAMILY)/hpl/sercom/hpl_sercom.o: CFLAGS += -Wno-maybe-uninitialized
262+
261263
SRC_ASF := $(addprefix asf4/$(CHIP_FAMILY)/, $(SRC_ASF))
262264

263265
SRC_C = \

0 commit comments

Comments
 (0)
0