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/B_L475E_IOT01A | |
| 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/B_L475E_IOT01A')
| -rw-r--r-- | ports/stm32/boards/B_L475E_IOT01A/mpconfigboard.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ports/stm32/boards/B_L475E_IOT01A/mpconfigboard.mk b/ports/stm32/boards/B_L475E_IOT01A/mpconfigboard.mk index 7e7bfcce9..55e443e91 100644 --- a/ports/stm32/boards/B_L475E_IOT01A/mpconfigboard.mk +++ b/ports/stm32/boards/B_L475E_IOT01A/mpconfigboard.mk @@ -4,5 +4,6 @@ CMSIS_MCU = STM32L475xx # the only diffrence to the stm32l476 - so reuse some files. AF_FILE = boards/stm32l476_af.csv LD_FILES = boards/stm32l476xg.ld boards/common_ifs.ld +TEXT0_ADDR = 0x08000000 TEXT1_ADDR = 0x08004000 OPENOCD_CONFIG = boards/openocd_stm32l4.cfg |
