Skip to content

Commit fb7c802

Browse files
TTornblomCruz Monrreal II
authored andcommitted
IAR: Fix for #7662, only massage the error decode URL for the IAR .xcl file.
1 parent fd02bbb commit fb7c802

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

platform/mbed_lib.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
},
7373
"error-decode-http-url-str": {
7474
"help": "HTTP URL string for ARM Mbed-OS Error Decode microsite",
75-
"value": "\"\\nFor more info, visit: https:/\\/armmbed.github.io/mbedos-error/?error=0x%08X\""
75+
"value": "\"\\nFor more info, visit: https://armmbed.github.io/mbedos-error/?error=0x%08X\""
7676
}
7777
},
7878
"target_overrides": {

tools/toolchains/iar.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ def get_compile_options(self, defines, includes, for_asm=False):
167167
opts = ['-D%s' % d for d in defines]
168168
if for_asm:
169169
config_macros = self.config.get_config_data_macros()
170-
macros_cmd = ['"-D%s"' % d.replace('"', '') for d in config_macros]
170+
macros_cmd = ['"-D%s"' % d.replace('"', '').replace('//','/\/') for d in config_macros]
171171
if self.RESPONSE_FILES:
172172
via_file = self.make_option_file(
173173
macros_cmd, "asm_macros_{}.xcl")

0 commit comments

Comments
 (0)