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.
This commit is contained in:
Jeff Epler 2020-08-28 11:24:36 -05:00
parent ad4bf75367
commit 952d9bbb4a
1 changed files with 2 additions and 0 deletions

View File

@ -258,6 +258,8 @@ SRC_ASF += \
$(BUILD)/asf4/$(CHIP_FAMILY)/hpl/sdhc/hpl_sdhc.o: CFLAGS += -Wno-cast-align
endif
$(BUILD)/asf4/$(CHIP_FAMILY)/hpl/sercom/hpl_sercom.o: CFLAGS += -Wno-maybe-uninitialized
SRC_ASF := $(addprefix asf4/$(CHIP_FAMILY)/, $(SRC_ASF))
SRC_C = \