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