Skip to content

Commit fc60d1f

Browse files
committed
[M2351] Change memory partition for PSA
1. Change secure/non-secure ROM to 240KiB/272KiB 2. Change secure/non-secure RAM to 64KiB/32KiB
1 parent 9f88fce commit fc60d1f

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

targets/targets.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8858,13 +8858,13 @@
88588858
"secure_image_filename": "tfm.hex",
88598859
"overrides": {
88608860
"secure-rom-start" : "0x0",
8861-
"secure-rom-size" : "0x40000",
8861+
"secure-rom-size" : "0x3C000",
88628862
"secure-ram-start" : "0x20000000",
8863-
"secure-ram-size" : "0x8000",
8864-
"non-secure-rom-start" : "0x10040000",
8865-
"non-secure-rom-size" : "0x40000",
8866-
"non-secure-ram-start" : "0x30008000",
8867-
"non-secure-ram-size" : "0x10000"
8863+
"secure-ram-size" : "0x10000",
8864+
"non-secure-rom-start" : "0x1003C000",
8865+
"non-secure-rom-size" : "0x44000",
8866+
"non-secure-ram-start" : "0x30010000",
8867+
"non-secure-ram-size" : "0x8000"
88688868
}
88698869
},
88708870
"NU_PFM_M2351_S": {
@@ -8887,13 +8887,13 @@
88878887
"delivery_dir": "TARGET_NUVOTON/TARGET_M2351/TARGET_M23_NS/TARGET_NU_PFM_M2351_NS/TARGET_NU_PREBUILD_SECURE",
88888888
"overrides": {
88898889
"secure-rom-start" : "0x0",
8890-
"secure-rom-size" : "0x40000",
8890+
"secure-rom-size" : "0x3C000",
88918891
"secure-ram-start" : "0x20000000",
8892-
"secure-ram-size" : "0x8000",
8893-
"non-secure-rom-start" : "0x10040000",
8894-
"non-secure-rom-size" : "0x40000",
8895-
"non-secure-ram-start" : "0x30008000",
8896-
"non-secure-ram-size" : "0x10000"
8892+
"secure-ram-size" : "0x10000",
8893+
"non-secure-rom-start" : "0x1003C000",
8894+
"non-secure-rom-size" : "0x44000",
8895+
"non-secure-ram-start" : "0x30010000",
8896+
"non-secure-ram-size" : "0x8000"
88978897
}
88988898
},
88998899
"NUMAKER_M252KG": {

0 commit comments

Comments
 (0)