Deduplicate MBED_ROM_xxxx defines on IAR linker command line

pull/10157/head
Jimmy Brisson 2019-03-19 09:17:52 -05:00
parent 54602f55ba
commit 0bb3031ef2
1 changed files with 0 additions and 4 deletions

View File

@ -929,15 +929,11 @@ class mbedToolchain:
flags2params = {}
if self.target.is_PSA_non_secure_target:
flags2params = {
"MBED_ROM_START": "target.non-secure-rom-start",
"MBED_ROM_SIZE": "target.non-secure-rom-size",
"MBED_RAM_START": "target.non-secure-ram-start",
"MBED_RAM_SIZE": "target.non-secure-ram-size"
}
if self.target.is_PSA_secure_target:
flags2params = {
"MBED_ROM_START": "target.secure-rom-start",
"MBED_ROM_SIZE": "target.secure-rom-size",
"MBED_RAM_START": "target.secure-ram-start",
"MBED_RAM_SIZE": "target.secure-ram-size",
"MBED_PUBLIC_RAM_START": "target.public-ram-start",