13 lines
252 B
Makefile
Raw Normal View History

MCU_VARIANT = stm32f072xb
2021-04-18 14:26:07 +07:00
CFLAGS += -DSTM32F072xB -DCFG_EXAMPLE_VIDEO_READONLY
2021-04-18 14:26:07 +07:00
# Linker
LD_FILE_GCC = $(BOARD_PATH)/STM32F072RBTx_FLASH.ld
2021-04-18 14:26:07 +07:00
# For flash-jlink target
JLINK_DEVICE = stm32f072rb
# flash target using on-board stlink
flash: flash-stlink