circuitpython/ports/stm32/boards/NUCLEO_G0B1RE/mpconfigboard.mk
Angus Gratton dd77dbd4f7 stm32/boards: Enable LTO by default on boards with smaller flash size.
Signed-off-by: Angus Gratton <gus@projectgus.com>
2022-06-28 10:32:39 +10:00

8 lines
234 B
Makefile

MCU_SERIES = g0
CMSIS_MCU = STM32G0B1xx
AF_FILE = boards/stm32g0b1_af.csv
LD_FILES = boards/stm32g0b1xe.ld boards/common_basic.ld
# LTO reduces final binary size, may be slower to build depending on gcc version and hardware
LTO ?= 1