Skip to content

Commit 84bde31

Browse files
Michael SchwarczOren Cohen
authored andcommitted
Increase Secure RAM by 4K
- 68KB Secure - 60KB Non-secure
1 parent 71683cb commit 84bde31

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

targets/TARGET_ARM_SSG/TARGET_MUSCA_A1/TARGET_MUSCA_A1_S/device/TOOLCHAIN_ARMC6/musca_s.sct

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
#endif
3838

3939
#if !defined(MBED_RAM_SIZE)
40-
#define MBED_RAM_SIZE S_DATA_SIZE // 0x10000
40+
#define MBED_RAM_SIZE S_DATA_SIZE // 0x11000
4141
#endif
4242

4343
LR_CODE MBED_ROM_START MBED_ROM_SIZE {

targets/TARGET_ARM_SSG/TARGET_MUSCA_A1/partition/region_defs.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@
9999
/* Increase secure DATA area to run the regression tests on Musca A1 */
100100
#define S_DATA_SIZE ((TOTAL_RAM_SIZE / 4) * 3)
101101
#else
102-
#define S_DATA_SIZE (TOTAL_RAM_SIZE / 2)
102+
#define S_DATA_SIZE ((TOTAL_RAM_SIZE / 2) + 0x1000)
103103
#endif
104104

105105
#define S_DATA_LIMIT (S_DATA_START + S_DATA_SIZE - 1)

targets/targets.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5454,8 +5454,8 @@
54545454
"overrides": {
54555455
"non-secure-rom-start": "0x000a0400",
54565456
"non-secure-rom-size": "0x5f800",
5457-
"non-secure-ram-start": "0x20010170",
5458-
"non-secure-ram-size": "0xfe90"
5457+
"non-secure-ram-start": "0x20011170",
5458+
"non-secure-ram-size": "0xee90"
54595459
}
54605460
},
54615461
"ARM_MUSCA_A1_S": {
@@ -5479,7 +5479,7 @@
54795479
"secure-rom-start": "0x10020400",
54805480
"secure-rom-size": "0x7f800",
54815481
"secure-ram-start": "0x30000000",
5482-
"secure-ram-size": "0x10000"
5482+
"secure-ram-size": "0x11000"
54835483
}
54845484
},
54855485
"RZ_A1XX": {

0 commit comments

Comments
 (0)