2021-10-09 23:02:18 +09:00
|
|
|
CFLAGS += -DSTM32F072xB -DLSI_VALUE=40000 -DCFG_EXAMPLE_VIDEO_READONLY
|
2021-04-18 15:44:34 +07:00
|
|
|
|
2023-06-24 19:31:33 +07:00
|
|
|
SRC_S_GCC += $(ST_CMSIS)/Source/Templates/gcc/startup_stm32f072xb.s
|
|
|
|
LD_FILE_GCC = $(BOARD_PATH)/STM32F072VBTx_FLASH.ld
|
2021-04-18 15:44:34 +07:00
|
|
|
|
2023-06-24 19:31:33 +07:00
|
|
|
SRC_S_IAR += $(ST_CMSIS)/Source/Templates/iar/startup_stm32f072xb.s
|
|
|
|
LD_FILE_IAR = $(ST_CMSIS)/Source/Templates/iar/linker/stm32f072xb_flash.icf
|
2021-04-18 15:44:34 +07:00
|
|
|
|
|
|
|
# For flash-jlink target
|
|
|
|
JLINK_DEVICE = stm32f072vb
|
|
|
|
|
|
|
|
# flash target using on-board stlink
|
|
|
|
flash: flash-stlink
|