diff options
| author | hathach <[email protected]> | 2021-10-31 00:09:40 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2021-10-31 00:09:40 +0700 |
| commit | 215e0595ab568215a7d0a0c927b076bd02951fa6 (patch) | |
| tree | 01599e06a3635193e800bd5ee9b4d2f290ac97fa /hw | |
| parent | b85a6898af6fb75d5e877d418748a22c92a6d7bf (diff) | |
change F207 to use new dwc2
Diffstat (limited to 'hw')
| -rw-r--r-- | hw/bsp/stm32f207nucleo/board.mk | 2 | ||||
| -rw-r--r-- | hw/bsp/stm32f7/boards/stm32f767nucleo/board.mk | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/hw/bsp/stm32f207nucleo/board.mk b/hw/bsp/stm32f207nucleo/board.mk index 2b979f3d8..fa7d28399 100644 --- a/hw/bsp/stm32f207nucleo/board.mk +++ b/hw/bsp/stm32f207nucleo/board.mk @@ -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 \ diff --git a/hw/bsp/stm32f7/boards/stm32f767nucleo/board.mk b/hw/bsp/stm32f7/boards/stm32f767nucleo/board.mk index 2400a4ba7..7710619e5 100644 --- a/hw/bsp/stm32f7/boards/stm32f767nucleo/board.mk +++ b/hw/bsp/stm32f7/boards/stm32f767nucleo/board.mk @@ -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 |
