forked from micropython/micropython
-
Notifications
You must be signed in to change notification settings - Fork 172
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
stm32/boards/NUCLEO_G0B1RE: Add config for USB and mboot.
But leave these disabled. Signed-off-by: Damien George <[email protected]>
- Loading branch information
Showing
2 changed files
with
13 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,13 @@ | ||
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 |