mirror of
https://github.com/hathach/tinyusb.git
synced 2025-03-23 13:20:54 +00:00
more make update
This commit is contained in:
parent
2216704db8
commit
eb4380fa14
@ -1,3 +1,5 @@
|
||||
MCU_VARIANT = stm32f070xb
|
||||
|
||||
CFLAGS += -DSTM32F070xB -DCFG_EXAMPLE_VIDEO_READONLY
|
||||
|
||||
# Linker
|
||||
|
@ -1,11 +1,10 @@
|
||||
MCU_VARIANT = stm32f072xb
|
||||
|
||||
CFLAGS += -DSTM32F072xB -DLSI_VALUE=40000 -DCFG_EXAMPLE_VIDEO_READONLY
|
||||
|
||||
SRC_S_GCC += $(ST_CMSIS)/Source/Templates/gcc/startup_stm32f072xb.s
|
||||
# Linker
|
||||
LD_FILE_GCC = $(BOARD_PATH)/STM32F072VBTx_FLASH.ld
|
||||
|
||||
SRC_S_IAR += $(ST_CMSIS)/Source/Templates/iar/startup_stm32f072xb.s
|
||||
LD_FILE_IAR = $(ST_CMSIS)/Source/Templates/iar/linker/stm32f072xb_flash.icf
|
||||
|
||||
# For flash-jlink target
|
||||
JLINK_DEVICE = stm32f072vb
|
||||
|
||||
|
@ -1,3 +1,5 @@
|
||||
MCU_VARIANT = stm32f723xx
|
||||
|
||||
# Only OTG-HS has a connector on this board
|
||||
PORT ?= 1
|
||||
SPEED ?= high
|
||||
@ -6,13 +8,8 @@ CFLAGS += \
|
||||
-DSTM32F723xx \
|
||||
-DHSE_VALUE=25000000 \
|
||||
|
||||
# GCC
|
||||
SRC_S_GCC += $(ST_CMSIS)/Source/Templates/gcc/startup_stm32f723xx.s
|
||||
# Linker
|
||||
LD_FILE_GCC = $(BOARD_PATH)/STM32F723xE_FLASH.ld
|
||||
|
||||
# IAR
|
||||
SRC_S_IAR += $(ST_CMSIS)/Source/Templates/iar/startup_stm32f723xx.s
|
||||
LD_FILE_IAR = $(ST_CMSIS)/Source/Templates/iar/linker/stm32f723xx_flash.icf
|
||||
|
||||
# flash target using on-board stlink
|
||||
flash: flash-stlink
|
||||
|
@ -1,3 +1,5 @@
|
||||
MCU_VARIANT = stm32f723xx
|
||||
|
||||
PORT ?= 1
|
||||
SPEED ?= high
|
||||
|
||||
@ -5,13 +7,8 @@ CFLAGS += \
|
||||
-DSTM32F723xx \
|
||||
-DHSE_VALUE=25000000 \
|
||||
|
||||
# GCC
|
||||
# Linker
|
||||
LD_FILE_GCC = $(BOARD_PATH)/STM32F723xE_FLASH.ld
|
||||
SRC_S_GCC += $(ST_CMSIS)/Source/Templates/gcc/startup_stm32f723xx.s
|
||||
|
||||
# IAR
|
||||
SRC_S_IAR += $(ST_CMSIS)/Source/Templates/iar/startup_stm32f723xx.s
|
||||
LD_FILE_IAR = $(ST_CMSIS)/Source/Templates/iar/linker/stm32f723xx_flash.icf
|
||||
|
||||
# flash target using on-board stlink
|
||||
flash: flash-stlink
|
||||
|
@ -1,3 +1,5 @@
|
||||
MCU_VARIANT = stm32f746xx
|
||||
|
||||
PORT ?= 1
|
||||
SPEED ?= high
|
||||
|
||||
@ -5,13 +7,8 @@ CFLAGS += \
|
||||
-DSTM32F746xx \
|
||||
-DHSE_VALUE=25000000
|
||||
|
||||
# GCC
|
||||
# Linker
|
||||
LD_FILE_GCC = $(BOARD_PATH)/STM32F746ZGTx_FLASH.ld
|
||||
SRC_S_GCC += $(ST_CMSIS)/Source/Templates/gcc/startup_stm32f746xx.s
|
||||
|
||||
# IAR
|
||||
SRC_S_IAR += $(ST_CMSIS)/Source/Templates/iar/startup_stm32f746xx.s
|
||||
LD_FILE_IAR = $(ST_CMSIS)/Source/Templates/iar/linker/stm32f746xx_flash.icf
|
||||
|
||||
# flash target using on-board stlink
|
||||
flash: flash-stlink
|
||||
|
@ -1,3 +1,5 @@
|
||||
MCU_VARIANT = stm32f746xx
|
||||
|
||||
PORT ?= 0
|
||||
SPEED ?= full
|
||||
|
||||
@ -5,13 +7,8 @@ CFLAGS += \
|
||||
-DSTM32F746xx \
|
||||
-DHSE_VALUE=8000000
|
||||
|
||||
# GCC
|
||||
# Linker
|
||||
LD_FILE_GCC = $(BOARD_PATH)/STM32F746ZGTx_FLASH.ld
|
||||
SRC_S_GCC += $(ST_CMSIS)/Source/Templates/gcc/startup_stm32f746xx.s
|
||||
|
||||
# IAR
|
||||
SRC_S_IAR += $(ST_CMSIS)/Source/Templates/iar/startup_stm32f746xx.s
|
||||
LD_FILE_IAR = $(ST_CMSIS)/Source/Templates/iar/linker/stm32f746xx_flash.icf
|
||||
|
||||
# flash target using on-board stlink
|
||||
flash: flash-stlink
|
||||
|
@ -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
|
||||
|
@ -1,3 +1,5 @@
|
||||
MCU_VARIANT = stm32f769xx
|
||||
|
||||
# Only OTG-HS has a connector on this board
|
||||
PORT ?= 1
|
||||
SPEED ?= high
|
||||
@ -6,13 +8,8 @@ CFLAGS += \
|
||||
-DSTM32F769xx \
|
||||
-DHSE_VALUE=25000000 \
|
||||
|
||||
# GCC
|
||||
# Linker
|
||||
LD_FILE_GCC = $(BOARD_PATH)/STM32F769ZITx_FLASH.ld
|
||||
SRC_S_GCC += $(ST_CMSIS)/Source/Templates/gcc/startup_stm32f769xx.s
|
||||
|
||||
# IAR
|
||||
SRC_S_IAR += $(ST_CMSIS)/Source/Templates/iar/startup_stm32f769xx.s
|
||||
LD_FILE_IAR = $(ST_CMSIS)/Source/Templates/iar/linker/stm32f769xx_flash.icf
|
||||
|
||||
# flash target using on-board stlink
|
||||
flash: flash-stlink
|
||||
|
@ -56,3 +56,10 @@ INC += \
|
||||
$(TOP)/lib/CMSIS_5/CMSIS/Core/Include \
|
||||
$(TOP)/$(ST_CMSIS)/Include \
|
||||
$(TOP)/$(ST_HAL_DRIVER)/Inc
|
||||
|
||||
# Startup
|
||||
SRC_S_GCC += $(ST_CMSIS)/Source/Templates/gcc/startup_$(MCU_VARIANT).s
|
||||
SRC_S_IAR += $(ST_CMSIS)/Source/Templates/iar/startup_$(MCU_VARIANT).s
|
||||
|
||||
# Linker
|
||||
LD_FILE_IAR = $(ST_CMSIS)/Source/Templates/iar/linker/$(MCU_VARIANT)_flash.icf
|
||||
|
Loading…
x
Reference in New Issue
Block a user