diff options
| author | hathach <[email protected]> | 2023-03-19 12:47:05 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2023-03-19 12:47:05 +0700 |
| commit | 322f58ea8530e2b43d00a087b6d501776be25a00 (patch) | |
| tree | 1a136349f8cc2da319f404c7b3149bc5ee80ff66 /hw/bsp/same70_xplained | |
| parent | ab0da3c30baab6eb63e55217f2b4d5a719fb86e4 (diff) | |
add CFLAGS_SKIP to improve sam compile time
Diffstat (limited to 'hw/bsp/same70_xplained')
| -rw-r--r-- | hw/bsp/same70_xplained/board.mk | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/hw/bsp/same70_xplained/board.mk b/hw/bsp/same70_xplained/board.mk index 95c4aaaa2..769d03e21 100644 --- a/hw/bsp/same70_xplained/board.mk +++ b/hw/bsp/same70_xplained/board.mk @@ -11,7 +11,10 @@ CFLAGS += \ -DCFG_TUSB_MCU=OPT_MCU_SAMX7X # suppress following warnings from mcu driver -CFLAGS += -Wno-error=unused-parameter -Wno-error=cast-align -Wno-error=cast-qual -Wno-error=redundant-decls +CFLAGS += -Wno-error=unused-parameter -Wno-error=cast-align -Wno-error=redundant-decls + +# SAM driver is flooded with -Wcast-qual which slow down complication significantly +CFLAGS_SKIP += -Wcast-qual ASF_DIR = hw/mcu/microchip/same70 |
