diff options
| author | Damien George | 2018-03-27 21:24:15 +1100 |
|---|---|---|
| committer | Damien George | 2018-03-27 21:24:15 +1100 |
| commit | ed75b2655fd8e5f9c058a97852eb30f354c10206 (patch) | |
| tree | f9e7d02f4179348b9ac2b4e56bd18c4646efab50 /ports/stm32/boards/PYBV11 | |
| parent | 95b2cb008e22a26b398b3c153243269b2ffc3b6f (diff) | |
stm32/Makefile: Allow a board to config either 1 or 2 firmware sections.
This patch forces a board to explicitly define TEXT1_ADDR in order to
split the firmware into two separate pieces. Otherwise the default is now
to produce only a single continuous firmware image with all ISR, text and
data together.
Diffstat (limited to 'ports/stm32/boards/PYBV11')
| -rw-r--r-- | ports/stm32/boards/PYBV11/mpconfigboard.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ports/stm32/boards/PYBV11/mpconfigboard.mk b/ports/stm32/boards/PYBV11/mpconfigboard.mk index 27198edb0..40972b385 100644 --- a/ports/stm32/boards/PYBV11/mpconfigboard.mk +++ b/ports/stm32/boards/PYBV11/mpconfigboard.mk @@ -2,3 +2,5 @@ MCU_SERIES = f4 CMSIS_MCU = STM32F405xx AF_FILE = boards/stm32f405_af.csv LD_FILES = boards/stm32f405.ld boards/common_ifs.ld +TEXT0_ADDR = 0x08000000 +TEXT1_ADDR = 0x08020000 |
