more make update

This commit is contained in:
hathach
2023-06-24 20:17:48 +07:00
parent 2216704db8
commit eb4380fa14
9 changed files with 30 additions and 40 deletions

View File

@@ -1,3 +1,5 @@
MCU_VARIANT = stm32f767xx
PORT ?= 0
SPEED ?= full
@@ -5,13 +7,8 @@ CFLAGS += \
-DSTM32F767xx \
-DHSE_VALUE=8000000 \
# GCC
# Linker
LD_FILE_GCC = $(BOARD_PATH)/STM32F767ZITx_FLASH.ld
SRC_S_GCC += $(ST_CMSIS)/Source/Templates/gcc/startup_stm32f767xx.s
# IAR
SRC_S_IAR += $(ST_CMSIS)/Source/Templates/iar/startup_stm32f767xx.s
LD_FILE_IAR = $(ST_CMSIS)/Source/Templates/iar/linker/stm32f767xx_flash.icf
# For flash-jlink target
JLINK_DEVICE = stm32f767zi