IAR: Fix for #7662, only massage the error decode URL for the IAR .xcl file.

pull/8163/head
TTornblom 2018-09-06 12:16:15 +02:00 committed by Cruz Monrreal II
parent fd02bbb3dd
commit fb7c802a8c
2 changed files with 2 additions and 2 deletions

View File

@ -72,7 +72,7 @@
},
"error-decode-http-url-str": {
"help": "HTTP URL string for ARM Mbed-OS Error Decode microsite",
"value": "\"\\nFor more info, visit: https:/\\/armmbed.github.io/mbedos-error/?error=0x%08X\""
"value": "\"\\nFor more info, visit: https://armmbed.github.io/mbedos-error/?error=0x%08X\""
}
},
"target_overrides": {

View File

@ -167,7 +167,7 @@ class IAR(mbedToolchain):
opts = ['-D%s' % d for d in defines]
if for_asm:
config_macros = self.config.get_config_data_macros()
macros_cmd = ['"-D%s"' % d.replace('"', '') for d in config_macros]
macros_cmd = ['"-D%s"' % d.replace('"', '').replace('//','/\/') for d in config_macros]
if self.RESPONSE_FILES:
via_file = self.make_option_file(
macros_cmd, "asm_macros_{}.xcl")