Skip to content

Commit

Permalink
Merge pull request ARMmbed#7553 from bcostm/fix_L496_sct
Browse files Browse the repository at this point in the history
STM32L496: fix RAM size in ARM scatter file
  • Loading branch information
Cruz Monrreal committed Jul 23, 2018
2 parents 2419d75 + 607bb73 commit 1e0c98a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
@@ -1,6 +1,6 @@
; Scatter-Loading Description File
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Copyright (c) 2015, STMicroelectronics
; Copyright (c) 2018, STMicroelectronics
; All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
Expand All @@ -27,7 +27,7 @@
; OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

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

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

; Total: 107 vectors = 428 bytes (0x1AC) to be reserved in RAM
RW_IRAM1 (0x20000000+0x1AC) (0x00500000-0x1AC) { ; RW data 320k L4-SRAM1
RW_IRAM1 (0x20000000+0x1AC) (0x50000-0x1AC) { ; RW data 320k L4-SRAM1
.ANY (+RW +ZI)
}
}
Expand Down
@@ -1,6 +1,6 @@
; Scatter-Loading Description File
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Copyright (c) 2015, STMicroelectronics
; Copyright (c) 2018, STMicroelectronics
; All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
Expand All @@ -27,7 +27,7 @@
; OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

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

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

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

0 comments on commit 1e0c98a

Please sign in to comment.