2021-01-13 13:20:09 +07:00
|
|
|
PORT ?= 1
|
|
|
|
SPEED ?= high
|
|
|
|
|
|
|
|
CFLAGS += \
|
|
|
|
-DSTM32F723xx \
|
|
|
|
-DHSE_VALUE=25000000 \
|
|
|
|
|
2023-01-22 12:10:27 +07:00
|
|
|
# GCC
|
2023-06-24 19:31:33 +07:00
|
|
|
LD_FILE_GCC = $(BOARD_PATH)/STM32F723xE_FLASH.ld
|
|
|
|
SRC_S_GCC += $(ST_CMSIS)/Source/Templates/gcc/startup_stm32f723xx.s
|
2023-01-22 12:10:27 +07:00
|
|
|
|
|
|
|
# IAR
|
2023-06-24 19:31:33 +07:00
|
|
|
SRC_S_IAR += $(ST_CMSIS)/Source/Templates/iar/startup_stm32f723xx.s
|
|
|
|
LD_FILE_IAR = $(ST_CMSIS)/Source/Templates/iar/linker/stm32f723xx_flash.icf
|
2021-01-13 13:20:09 +07:00
|
|
|
|
|
|
|
# flash target using on-board stlink
|
|
|
|
flash: flash-stlink
|
2021-10-28 12:52:18 +07:00
|
|
|
|
|
|
|
# For flash-jlink target
|
|
|
|
JLINK_DEVICE = stm32f723ie
|