more -Wcast-qual

This commit is contained in:
hathach
2021-10-17 17:32:03 +07:00
parent a5f516893b
commit 31cd366935
17 changed files with 20 additions and 57 deletions

View File

@@ -18,6 +18,9 @@ CFLAGS += \
-DSVC_Handler=SVCall_Handler \
-DHWREV=$(HWREV)
# suppress warning caused by vendor mcu driver
CFLAGS += -Wno-error=cast-qual
# All source paths should be relative to the top level.
LD_FILE = hw/bsp/$(BOARD)/same51j19a_flash.ld