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/cmsis/__init__.py
- Revision:
- 36:96847d42f010
- Parent:
- 31:8ea194f6145b
- Child:
- 40:7d3fa6b99b2b
diff -r da9c89f8be7d -r 96847d42f010 export/cmsis/__init__.py
--- a/export/cmsis/__init__.py Wed Feb 15 13:53:18 2017 -0600
+++ b/export/cmsis/__init__.py Thu Jun 22 11:12:28 2017 -0500
@@ -121,7 +121,7 @@
new_srcs = []
for f in list(files):
spl = f.name.split(sep)
- if len(spl)==2:
+ if len(spl) <= 2:
file_element = Element('file',
attrib={
'category':f.type,
@@ -148,8 +148,4 @@
'device': DeviceCMSIS(self.target),
'date': ''
}
- # TODO: find how to keep prettyxml from adding xml version to this blob
- #dom = parseString(ctx['project_files'])
- #ctx['project_files'] = dom.toprettyxml(indent="\t")
-
self.gen_file('cmsis/cpdsc.tmpl', ctx, 'project.cpdsc')