13 lines
251 B
Makefile
Raw Normal View History

2023-03-19 12:01:33 +07:00
CFLAGS += \
-DSTM32L052xx
LD_FILE = $(BOARD_PATH)/STM32L052K8Ux_FLASH.ld
SRC_S += $(ST_CMSIS)/Source/Templates/gcc/startup_stm32l052xx.s
# For flash-jlink target
JLINK_DEVICE = stm32l052k8
# flash target using on-board stlink
flash: flash-stlink