Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: export/uvision/__init__.py
- Revision:
- 41:2a77626a4c21
- Parent:
- 40:7d3fa6b99b2b
- Child:
- 43:2a7da56ebd24
--- a/export/uvision/__init__.py Tue Oct 10 16:56:30 2017 -0500
+++ b/export/uvision/__init__.py Wed Oct 25 14:46:50 2017 -0500
@@ -222,7 +222,8 @@
'include_paths': '; '.join(self.resources.inc_dirs).encode('utf-8'),
'device': DeviceUvision(self.target),
}
- self.generated_files.append(ctx['linker_script'])
+ if ctx['linker_script'] is not self.resources.linker_script:
+ self.generated_files.append(ctx['linker_script'])
core = ctx['device'].core
ctx['cputype'] = core.rstrip("FD")
if core.endswith("FD"):
