You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by ut...@apache.org on 2018/03/15 16:58:23 UTC
[mynewt-core] 03/03: Fix stm32f3discovery flash areas to run slinky
This is an automated email from the ASF dual-hosted git repository.
utzig pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-core.git
commit 529079ec2b24fd4041bc54a45960a5962aab9a41
Author: Fabio Utzig <ut...@apache.org>
AuthorDate: Mon Mar 12 20:26:18 2018 -0300
Fix stm32f3discovery flash areas to run slinky
---
hw/bsp/stm32f3discovery/boot-stm32f3discovery.ld | 2 +-
hw/bsp/stm32f3discovery/bsp.yml | 22 +++++++++++-----------
hw/bsp/stm32f3discovery/stm32f3discovery.ld | 2 +-
3 files changed, 13 insertions(+), 13 deletions(-)
diff --git a/hw/bsp/stm32f3discovery/boot-stm32f3discovery.ld b/hw/bsp/stm32f3discovery/boot-stm32f3discovery.ld
index 5a7c3b9..4509320 100755
--- a/hw/bsp/stm32f3discovery/boot-stm32f3discovery.ld
+++ b/hw/bsp/stm32f3discovery/boot-stm32f3discovery.ld
@@ -22,7 +22,7 @@ ENTRY(Reset_Handler)
* Memory map
*/
MEMORY {
- FLASH (rx): ORIGIN = 0x08000000, LENGTH = 24K
+ FLASH (rx): ORIGIN = 0x08000000, LENGTH = 16K
CCRAM (rw): ORIGIN = 0x10000000, LENGTH = 8K
SRAM (rw): ORIGIN = 0x20000000, LENGTH = 40K
}
diff --git a/hw/bsp/stm32f3discovery/bsp.yml b/hw/bsp/stm32f3discovery/bsp.yml
index 7e92d65..5cc58b2 100644
--- a/hw/bsp/stm32f3discovery/bsp.yml
+++ b/hw/bsp/stm32f3discovery/bsp.yml
@@ -36,28 +36,28 @@ bsp.flash_map:
FLASH_AREA_BOOTLOADER:
device: 0
offset: 0x08000000
- size: 24kB
+ size: 16kB
FLASH_AREA_IMAGE_0:
device: 0
- offset: 0x08006000
- size: 96kB
+ offset: 0x08004000
+ size: 88kB
FLASH_AREA_IMAGE_1:
device: 0
- offset: 0x0801e000
- size: 96kB
+ offset: 0x0801a000
+ size: 88kB
FLASH_AREA_IMAGE_SCRATCH:
device: 0
- offset: 0x08036000
- size: 16kB
+ offset: 0x08030000
+ size: 16kB
# User areas.
FLASH_AREA_REBOOT_LOG:
user_id: 0
device: 0
- offset: 0x0803a000
- size: 8kB
+ offset: 0x08034000
+ size: 16kB
FLASH_AREA_NFFS:
user_id: 1
device: 0
- offset: 0x0803c000
- size: 16kB
+ offset: 0x08038000
+ size: 32kB
diff --git a/hw/bsp/stm32f3discovery/stm32f3discovery.ld b/hw/bsp/stm32f3discovery/stm32f3discovery.ld
index c137613..58ee95e 100755
--- a/hw/bsp/stm32f3discovery/stm32f3discovery.ld
+++ b/hw/bsp/stm32f3discovery/stm32f3discovery.ld
@@ -22,7 +22,7 @@ ENTRY(Reset_Handler)
* Memory map
*/
MEMORY {
- FLASH (rx): ORIGIN = 0x08006000, LENGTH = 256K
+ FLASH (rx): ORIGIN = 0x08004000, LENGTH = 240K
CCRAM (rw): ORIGIN = 0x10000000, LENGTH = 8K
SRAM (rw): ORIGIN = 0x20000000, LENGTH = 40K
}
--
To stop receiving notification emails like this one, please contact
utzig@apache.org.