2022-02-12 14:52:32 -06:00
|
|
|
MCU_SERIES = g0
|
|
|
|
CMSIS_MCU = STM32G0B1xx
|
|
|
|
AF_FILE = boards/stm32g0b1_af.csv
|
2023-03-21 17:43:20 +11:00
|
|
|
|
|
|
|
ifeq ($(USE_MBOOT),1)
|
|
|
|
LD_FILES = boards/stm32g0b1xe.ld boards/common_bl.ld
|
|
|
|
TEXT0_ADDR = 0x08008000
|
|
|
|
else
|
2022-02-12 14:52:32 -06:00
|
|
|
LD_FILES = boards/stm32g0b1xe.ld boards/common_basic.ld
|
2023-03-21 17:43:20 +11:00
|
|
|
endif
|
2022-06-24 12:04:47 +10:00
|
|
|
|
|
|
|
# LTO reduces final binary size, may be slower to build depending on gcc version and hardware
|
|
|
|
LTO ?= 1
|