We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 954f0e9 commit 6ac7f19Copy full SHA for 6ac7f19
hw/bsp/xmc4000/boards/xmc4500_relax/board.mk
@@ -3,7 +3,7 @@ CFLAGS += \
3
-DXMC4500_F100x1024 \
4
5
# mcu driver cause following warnings
6
-CFLAGS += -Wno-error=stringop-overread
+CFLAGS += -Wno-stringop-overread
7
8
LD_FILE = $(MCU_DIR)/CMSIS/Infineon/COMPONENT_$(MCU_VARIANT)/Source/TOOLCHAIN_GCC_ARM/XMC4500x1024.ld
9
hw/bsp/xmc4000/family.c
@@ -84,7 +84,9 @@ void board_init(void)
84
#endif
85
86
// USB Power Enable
87
+#if(UC_SERIES != XMC45)
88
XMC_SCU_CLOCK_UngatePeripheralClock(XMC_SCU_PERIPHERAL_CLOCK_USB0);
89
+#endif
90
XMC_SCU_RESET_DeassertPeripheralReset(XMC_SCU_PERIPHERAL_RESET_USB0);
91
XMC_SCU_POWER_EnableUsb();
92
}
0 commit comments