Skip to content

Commit 47736db

Browse files
andreas.larssonadbridge
andreas.larsson
authored andcommitted
Fixed wrong flash size. Fixed duplicate RW_IRAM1 region.
1 parent d7f7880 commit 47736db

File tree

1 file changed

+5
-5
lines changed
  • hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_C029/TOOLCHAIN_ARM_STD

1 file changed

+5
-5
lines changed

hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_C029/TOOLCHAIN_ARM_STD/stm32f439xx.sct

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
; Scatter-Loading Description File
22
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
3-
; Copyright (c) 2014, STMicroelectronics
3+
; Copyright (c) 2015, STMicroelectronics
44
; All rights reserved.
55
;
66
; Redistribution and use in source and binary forms, with or without
@@ -27,10 +27,10 @@
2727
; OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2828
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2929

30-
; STM32F439ZI: 512 KB FLASH (0x80000) + 256 KB SRAM (0x30000 + 0x10000)
31-
LR_IROM1 0x08000000 0x80000 { ; load region size_region
30+
; 2 MB FLASH (0x200000) + 256 KB SRAM (0x30000 + 0x10000)
31+
LR_IROM1 0x08000000 0x200000 { ; load region size_region
3232

33-
ER_IROM1 0x08000000 0x80000 { ; load address = execution address
33+
ER_IROM1 0x08000000 0x200000 { ; load address = execution address
3434
*.o (RESET, +First)
3535
*(InRoot$$Sections)
3636
.ANY (+RO)
@@ -41,7 +41,7 @@ LR_IROM1 0x08000000 0x80000 { ; load region size_region
4141
.ANY (+RW +ZI)
4242
}
4343

44-
RW_IRAM1 (0x10000000) (0x10000) { ; RW data
44+
RW_IRAM2 (0x10000000) (0x10000) { ; RW data
4545
.ANY (+RW +ZI)
4646
}
4747
}

0 commit comments

Comments
 (0)