Skip to content

Commit 66fd93b

Browse files
theotherjimmyadbridge
authored andcommitted
Deduplicate MBED_ROM_xxxx defines on IAR linker command line
1 parent b18dbc7 commit 66fd93b

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
@@ -927,15 +927,11 @@ def add_linker_defines(self):
927927
flags2params = {}
928928
if self.target.is_PSA_non_secure_target:
929929
flags2params = {
930-
"MBED_ROM_START": "target.non-secure-rom-start",
931-
"MBED_ROM_SIZE": "target.non-secure-rom-size",
932930
"MBED_RAM_START": "target.non-secure-ram-start",
933931
"MBED_RAM_SIZE": "target.non-secure-ram-size"
934932
}
935933
if self.target.is_PSA_secure_target:
936934
flags2params = {
937-
"MBED_ROM_START": "target.secure-rom-start",
938-
"MBED_ROM_SIZE": "target.secure-rom-size",
939935
"MBED_RAM_START": "target.secure-ram-start",
940936
"MBED_RAM_SIZE": "target.secure-ram-size",
941937
"MBED_PUBLIC_RAM_START": "target.public-ram-start",

0 commit comments

Comments
 (0)