Merge pull request #10234 from theotherjimmy/update-cpm-index-0.2.4

Update flash algo default with CPM 0.2.4
pull/10267/head
Cruz Monrreal 2019-03-28 17:07:26 -05:00 committed by GitHub
commit 6fccfeb98e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3088 additions and 3088 deletions

File diff suppressed because it is too large Load Diff

View File

@ -93,7 +93,7 @@ class DeviceUvision(DeviceCMSIS):
if not info["default"]:
continue
name = info['file_name']
name_reg = "\w*/([\w_]+)\.flm"
name_reg = "\w*[/\\\\]([\w_]+)\.flm"
m = re.search(name_reg, name.lower())
fl_name = m.group(1) if m else None
name_flag = "-FF" + str(fl_count) + fl_name