14 lines
284 B
Makefile
Raw Normal View History

MCU_VARIANT = stm32f103xb
2021-08-19 18:51:51 +07:00
CFLAGS += -DSTM32F103xB -DHSE_VALUE=8000000U
2023-01-21 11:32:37 +07:00
# Linker
LD_FILE_GCC = $(BOARD_PATH)/STM32F103XC_FLASH.ld
LD_FILE_IAR = $(BOARD_PATH)/stm32f103xc_flash.icf
2021-08-19 18:51:51 +07:00
# For flash-jlink target
JLINK_DEVICE = stm32f103rc
# flash target ROM bootloader
flash: flash-jlink