diff options
| author | hathach <[email protected]> | 2022-06-29 15:27:24 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2022-06-29 15:27:24 +0700 |
| commit | 158b3d761d4c0f1da8d60b63d43664e1f52a286d (patch) | |
| tree | c8e6710c4d575f3fdf9af0dde9b808518bbc1c9e | |
| parent | 4da1a9359d7fa9813a01f133f919533184753064 (diff) | |
fix xmc4000 build
| -rw-r--r-- | hw/bsp/xmc4000/boards/xmc4500_relax/board.mk | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/hw/bsp/xmc4000/boards/xmc4500_relax/board.mk b/hw/bsp/xmc4000/boards/xmc4500_relax/board.mk index a2c2c5aaf..371adff91 100644 --- a/hw/bsp/xmc4000/boards/xmc4500_relax/board.mk +++ b/hw/bsp/xmc4000/boards/xmc4500_relax/board.mk @@ -2,6 +2,9 @@ MCU_VARIANT = XMC4500 CFLAGS += \ -DXMC4500_F100x1024 \ +# mcu driver cause following warnings +CFLAGS += -Wno-error=stringop-overread + LD_FILE = $(MCU_DIR)/CMSIS/Infineon/COMPONENT_$(MCU_VARIANT)/Source/TOOLCHAIN_GCC_ARM/XMC4500x1024.ld JLINK_DEVICE = XMC4500-1024 |
