2021-10-09 23:02:18 +09:00
|
|
|
CFLAGS += -DSTM32F072xB -DCFG_EXAMPLE_VIDEO_READONLY
|
2021-04-18 14:26:07 +07:00
|
|
|
|
2023-01-17 23:38:10 +07:00
|
|
|
GCC_SRC_S += $(ST_CMSIS)/Source/Templates/gcc/startup_stm32f072xb.s
|
2021-04-18 14:26:07 +07:00
|
|
|
LD_FILE = $(BOARD_PATH)/STM32F072RBTx_FLASH.ld
|
|
|
|
|
2023-01-17 16:38:02 +07:00
|
|
|
IAR_SRC_S += $(ST_CMSIS)/Source/Templates/iar/startup_stm32f072xb.s
|
|
|
|
IAR_LD_FILE = $(ST_CMSIS)/Source/Templates/iar/linker/stm32f072xb_flash.icf
|
2021-04-18 14:26:07 +07:00
|
|
|
|
|
|
|
# For flash-jlink target
|
|
|
|
JLINK_DEVICE = stm32f072rb
|
|
|
|
|
|
|
|
# flash target using on-board stlink
|
|
|
|
flash: flash-stlink
|