14 lines
360 B
Makefile
Raw Normal View History

2022-11-07 12:32:36 +01:00
CFLAGS += \
-DSTM32L412xx \
2023-01-30 20:11:59 +07:00
# GCC
SRC_S_GCC += $(ST_CMSIS)/Source/Templates/gcc/startup_stm32l412xx.s
LD_FILE_GCC = $(BOARD_PATH)/STM32L412KBUx_FLASH.ld
2022-11-07 12:32:36 +01:00
2023-01-30 20:11:59 +07:00
# IAR
SRC_S_IAR += $(ST_CMSIS)/Source/Templates/iar/startup_stm32l412xx.s
LD_FILE_IAR = $(ST_CMSIS)/Source/Templates/iar/linker/stm32l412xx_flash.icf
2022-11-07 12:32:36 +01:00
# For flash-jlink target
JLINK_DEVICE = stm32l412kb