Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions tools/projmgr/src/ProjMgrRunDebug.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -620,9 +620,13 @@ const string ProjMgrRunDebug::GetAccessAttributes(const RteItem* mem)

bool ProjMgrRunDebug::GetDebugAdapter(const string& name, const DebugAdaptersItem& adapters, DebugAdapterItem& match) {
for (const auto& adapter : adapters) {
if (name == adapter.name || find(adapter.alias.begin(), adapter.alias.end(), name) != adapter.alias.end()) {
match = adapter;
return true;
auto aliases = adapter.alias;
aliases.push_back(adapter.name);
for (const auto& alias : aliases) {
if (RteUtils::EqualNoCase(name, alias)) {
match = adapter;
return true;
}
}
}
return false;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ solution:
- set:
info: Info target-set
debugger:
name: ST-LINK
name: ST-Link
protocol: jtag
clock: 20000000
dbgconf: RTE/Device/RteTest1/RteTest1.dbgconf
Expand Down
Loading