diff options
| author | Jeff Epler <jepler@gmail.com> | 2020-08-28 11:24:36 -0500 |
|---|---|---|
| committer | Jeff Epler <jepler@gmail.com> | 2020-09-01 10:55:45 -0500 |
| commit | 952d9bbb4a99cc598b56e170cdc05d94087d0d6d (patch) | |
| tree | 2af8d0e80600ecb74868a78ba8eb12bb37ecf4a1 | |
| parent | ad4bf75367b1b1992d653428593c0f66f5b5e7ff (diff) | |
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.
| -rw-r--r-- | ports/atmel-samd/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ports/atmel-samd/Makefile b/ports/atmel-samd/Makefile index 25dc0cf15..3b7ab75bb 100644 --- a/ports/atmel-samd/Makefile +++ b/ports/atmel-samd/Makefile @@ -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 = \ |
