Skip to content

Commit 0bb3031

Browse files
committed
Deduplicate MBED_ROM_xxxx defines on IAR linker command line
1 parent 54602f5 commit 0bb3031

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

tools/toolchains/mbed_toolchain.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -929,15 +929,11 @@ def add_linker_defines(self):
929929
flags2params = {}
930930
if self.target.is_PSA_non_secure_target:
931931
flags2params = {
932-
"MBED_ROM_START": "target.non-secure-rom-start",
933-
"MBED_ROM_SIZE": "target.non-secure-rom-size",
934932
"MBED_RAM_START": "target.non-secure-ram-start",
935933
"MBED_RAM_SIZE": "target.non-secure-ram-size"
936934
}
937935
if self.target.is_PSA_secure_target:
938936
flags2params = {
939-
"MBED_ROM_START": "target.secure-rom-start",
940-
"MBED_ROM_SIZE": "target.secure-rom-size",
941937
"MBED_RAM_START": "target.secure-ram-start",
942938
"MBED_RAM_SIZE": "target.secure-ram-size",
943939
"MBED_PUBLIC_RAM_START": "target.public-ram-start",

0 commit comments

Comments
 (0)