2021-01-13 15:52:54 +07:00
|
|
|
# Only OTG-HS has a connector on this board
|
|
|
|
PORT ?= 1
|
|
|
|
SPEED ?= high
|
|
|
|
|
|
|
|
CFLAGS += \
|
|
|
|
-DSTM32F723xx \
|
|
|
|
-DHSE_VALUE=25000000 \
|
|
|
|
|
2023-01-22 12:10:27 +07:00
|
|
|
# GCC
|
|
|
|
GCC_SRC_S += $(ST_CMSIS)/Source/Templates/gcc/startup_stm32f723xx.s
|
2023-01-30 17:04:39 +07:00
|
|
|
GCC_LD_FILE = $(BOARD_PATH)/STM32F723xE_FLASH.ld
|
2023-01-22 12:10:27 +07:00
|
|
|
|
|
|
|
# IAR
|
|
|
|
IAR_SRC_S += $(ST_CMSIS)/Source/Templates/iar/startup_stm32f723xx.s
|
|
|
|
IAR_LD_FILE = $(ST_CMSIS)/Source/Templates/iar/linker/stm32f723xx_flash.icf
|
2021-01-13 15:52:54 +07:00
|
|
|
|
|
|
|
# flash target using on-board stlink
|
|
|
|
flash: flash-stlink
|