Skip to content

Commit 158b3d7

Browse files
committed
fix xmc4000 build
1 parent 4da1a93 commit 158b3d7

File tree

1 file changed

+3
-0
lines changed
  • hw/bsp/xmc4000/boards/xmc4500_relax

1 file changed

+3
-0
lines changed

hw/bsp/xmc4000/boards/xmc4500_relax/board.mk

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ MCU_VARIANT = XMC4500
22
CFLAGS += \
33
-DXMC4500_F100x1024 \
44

5+
# mcu driver cause following warnings
6+
CFLAGS += -Wno-error=stringop-overread
7+
58
LD_FILE = $(MCU_DIR)/CMSIS/Infineon/COMPONENT_$(MCU_VARIANT)/Source/TOOLCHAIN_GCC_ARM/XMC4500x1024.ld
69

710
JLINK_DEVICE = XMC4500-1024

0 commit comments

Comments
 (0)