circuitpython/ports/stm32/boards/NUCLEO_G0B1RE/mpconfigboard.mk
Damien George 31e7a0587d stm32/boards/NUCLEO_G0B1RE: Add config for USB and mboot.
But leave these disabled.

Signed-off-by: Damien George <damien@micropython.org>
2023-03-22 16:38:03 +11:00

14 lines
345 B
Makefile

MCU_SERIES = g0
CMSIS_MCU = STM32G0B1xx
AF_FILE = boards/stm32g0b1_af.csv
ifeq ($(USE_MBOOT),1)
LD_FILES = boards/stm32g0b1xe.ld boards/common_bl.ld
TEXT0_ADDR = 0x08008000
else
LD_FILES = boards/stm32g0b1xe.ld boards/common_basic.ld
endif
# LTO reduces final binary size, may be slower to build depending on gcc version and hardware
LTO ?= 1