fix xmc4000 build

This commit is contained in:
hathach 2022-06-29 15:27:24 +07:00
parent 4da1a9359d
commit 158b3d761d
1 changed files with 3 additions and 0 deletions

View File

@ -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