mirror of
https://github.com/hathach/tinyusb.git
synced 2025-03-21 16:20:46 +00:00
fix compilation issues for XMC4500_RELAX
This commit is contained in:
parent
954f0e948d
commit
6ac7f19640
@ -3,7 +3,7 @@ CFLAGS += \
|
||||
-DXMC4500_F100x1024 \
|
||||
|
||||
# mcu driver cause following warnings
|
||||
CFLAGS += -Wno-error=stringop-overread
|
||||
CFLAGS += -Wno-stringop-overread
|
||||
|
||||
LD_FILE = $(MCU_DIR)/CMSIS/Infineon/COMPONENT_$(MCU_VARIANT)/Source/TOOLCHAIN_GCC_ARM/XMC4500x1024.ld
|
||||
|
||||
|
@ -84,7 +84,9 @@ void board_init(void)
|
||||
#endif
|
||||
|
||||
// USB Power Enable
|
||||
#if(UC_SERIES != XMC45)
|
||||
XMC_SCU_CLOCK_UngatePeripheralClock(XMC_SCU_PERIPHERAL_CLOCK_USB0);
|
||||
#endif
|
||||
XMC_SCU_RESET_DeassertPeripheralReset(XMC_SCU_PERIPHERAL_RESET_USB0);
|
||||
XMC_SCU_POWER_EnableUsb();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user