16 lines
429 B
Makefile
Raw Normal View History

CFLAGS += -DSTM32F103xB -DHSE_VALUE=8000000U -DCFG_EXAMPLE_VIDEO_READONLY
2021-08-19 18:02:16 +07:00
2023-01-21 11:32:37 +07:00
# GCC
GCC_SRC_S += $(ST_CMSIS)/Source/Templates/gcc/startup_stm32f103xb.s
GCC_LD_FILE = $(BOARD_PATH)/STM32F103X8_FLASH.ld
# IAR
IAR_SRC_S += $(ST_CMSIS)/Source/Templates/iar/startup_stm32f103xb.s
IAR_LD_FILE = $(BOARD_PATH)/stm32f103x8_flash.icf
2021-08-19 18:02:16 +07:00
# For flash-jlink target
JLINK_DEVICE = stm32f103c8
# flash target ROM bootloader
flash: flash-dfu-util