14 lines
357 B
Makefile
Raw Normal View History

2023-04-14 16:07:04 +02:00
CFLAGS += \
-DSTM32G0B1xx
# GCC
SRC_S_GCC += $(ST_CMSIS)/Source/Templates/gcc/startup_stm32g0b1xx.s
LD_FILE_GCC = $(BOARD_PATH)/STM32G0B1RETx_FLASH.ld
2023-04-14 16:07:04 +02:00
# IAR
SRC_S_IAR += $(ST_CMSIS)/Source/Templates/iar/startup_stm32g0b1xx.s
LD_FILE_IAR = $(ST_CMSIS)/Source/Templates/iar/linker/stm32g0b1xx_flash.icf
2023-04-14 16:07:04 +02:00
# For flash-jlink target
JLINK_DEVICE = stm32g0b1re