add 'stm32l052dap52' (STM32L052K8 MCU) board target

'dap52' is Olimex's name of their STM32L052-based fork of 'dap42'
This commit is contained in:
Peter Lawrence
2022-08-03 12:28:50 -05:00
parent 251ce98990
commit d1c61e33a6
7 changed files with 850 additions and 1 deletions
@@ -0,0 +1,11 @@
CFLAGS += -DSTM32L052xx -DCFG_EXAMPLE_VIDEO_READONLY
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