change F207 to use new dwc2

This commit is contained in:
hathach
2021-10-31 00:09:40 +07:00
parent b85a6898af
commit 215e0595ab
3 changed files with 7 additions and 4 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ CFLAGS += -Wno-error=sign-compare
LD_FILE = hw/bsp/$(BOARD)/STM32F207ZGTx_FLASH.ld
SRC_C += \
src/portable/st/synopsys/dcd_synopsys.c \
src/portable/synopsys/dwc2/dcd_dwc2.c \
$(ST_CMSIS)/Source/Templates/system_stm32$(ST_FAMILY)xx.c \
$(ST_HAL_DRIVER)/Src/stm32$(ST_FAMILY)xx_hal.c \
$(ST_HAL_DRIVER)/Src/stm32$(ST_FAMILY)xx_hal_cortex.c \
@@ -8,5 +8,8 @@ CFLAGS += \
LD_FILE = $(BOARD_PATH)/STM32F767ZITx_FLASH.ld
SRC_S += $(ST_CMSIS)/Source/Templates/gcc/startup_stm32f767xx.s
# For flash-jlink target
JLINK_DEVICE = stm32f767zi
# flash target using on-board stlink
flash: flash-stlink