Skip to content

Commit 5d5ca62

Browse files
author
Cruz Monrreal
authored
Merge pull request #7553 from bcostm/fix_L496_sct
STM32L496: fix RAM size in ARM scatter file
2 parents a252e5e + bf8587e commit 5d5ca62

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L496xG/device/TOOLCHAIN_ARM_MICRO/stm32l496xx.sct

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

30-
; 1MB FLASH (0x100000) + 320KB SRAM (0xxxxx)
30+
; 1MB FLASH (0x100000) + 320KB SRAM (0x50000)
3131
LR_IROM1 0x08000000 0x100000 { ; load region size_region
3232

3333
ER_IROM1 0x08000000 0x100000 { ; load address = execution address
@@ -37,7 +37,7 @@ LR_IROM1 0x08000000 0x100000 { ; load region size_region
3737
}
3838

3939
; Total: 107 vectors = 428 bytes (0x1AC) to be reserved in RAM
40-
RW_IRAM1 (0x20000000+0x1AC) (0x00500000-0x1AC) { ; RW data 320k L4-SRAM1
40+
RW_IRAM1 (0x20000000+0x1AC) (0x50000-0x1AC) { ; RW data 320k L4-SRAM1
4141
.ANY (+RW +ZI)
4242
}
4343
}

targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L496xG/device/TOOLCHAIN_ARM_STD/stm32l496xx.sct

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

30-
; 1MB FLASH (0x100000) + 320KB SRAM (0xxxxx)
30+
; 1MB FLASH (0x100000) + 320KB SRAM (0x50000)
3131
LR_IROM1 0x08000000 0x100000 { ; load region size_region
3232

3333
ER_IROM1 0x08000000 0x100000 { ; load address = execution address
@@ -37,7 +37,7 @@ LR_IROM1 0x08000000 0x100000 { ; load region size_region
3737
}
3838

3939
; Total: 107 vectors = 428 bytes (0x1AC) to be reserved in RAM
40-
RW_IRAM1 (0x20000000+0x1AC) (0x00500000-0x1AC) { ; RW data 320k L4-SRAM1
40+
RW_IRAM1 (0x20000000+0x1AC) (0x50000-0x1AC) { ; RW data 320k L4-SRAM1
4141
.ANY (+RW +ZI)
4242
}
4343
}

0 commit comments

Comments
 (0)