diff options
| author | Damien George | 2019-02-07 16:28:01 +1100 |
|---|---|---|
| committer | Damien George | 2019-02-07 16:28:01 +1100 |
| commit | 1669e049de23cd52b27a5f201b26398590806a78 (patch) | |
| tree | 489ecb94108ae7f125cb2386fee923a2b50c7116 /ports | |
| parent | be1b1835c339bf67b177f64aab7479c07c2d3418 (diff) | |
stm32/boards/STM32F769DISC: Configure for use with mboot by default.
This is a good board to demonstrate the use of Mboot because it only has a
USB HS port exposed so the native ST DFU mode cannot be used. With Mboot
this port can be used.
Diffstat (limited to 'ports')
| -rw-r--r-- | ports/stm32/boards/STM32F769DISC/mpconfigboard.mk | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/ports/stm32/boards/STM32F769DISC/mpconfigboard.mk b/ports/stm32/boards/STM32F769DISC/mpconfigboard.mk index 873368ce5..7a0dec07a 100644 --- a/ports/stm32/boards/STM32F769DISC/mpconfigboard.mk +++ b/ports/stm32/boards/STM32F769DISC/mpconfigboard.mk @@ -1,7 +1,18 @@ +# By default this board is configured to use mboot which must be deployed first +USE_MBOOT ?= 1 + MCU_SERIES = f7 CMSIS_MCU = STM32F769xx MICROPY_FLOAT_IMPL = double AF_FILE = boards/stm32f767_af.csv + +ifeq ($(USE_MBOOT),1) +# When using Mboot all the text goes together after the filesystem +LD_FILES = boards/stm32f769.ld boards/common_blifs.ld +TEXT0_ADDR = 0x08020000 +else +# When not using Mboot the ISR text goes first, then the rest after the filesystem LD_FILES = boards/stm32f769.ld boards/common_ifs.ld TEXT0_ADDR = 0x08000000 TEXT1_ADDR = 0x08020000 +endif |
