forked from qt-creator/qt-creator
BareMetal: Parse missed 'debug' element in *.pdsc file for UVSC provider
Some *.pdsc files contains 'debug' elements inside of 'device' items which are should be handled too. Change-Id: I4ec97dc29c8bbc204f17815183a6afaedcdd3619 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -321,6 +321,8 @@ void DeviceSelectionModel::parseDevice(QXmlStreamReader &in, DeviceSelectionItem
|
|||||||
const QStringRef elementName = in.name();
|
const QStringRef elementName = in.name();
|
||||||
if (elementName == "processor") {
|
if (elementName == "processor") {
|
||||||
fillCpu(in, child->cpu);
|
fillCpu(in, child->cpu);
|
||||||
|
} else if (elementName == "debug") {
|
||||||
|
fillSvd(in, child->svd);
|
||||||
} else if (elementName == "memory") {
|
} else if (elementName == "memory") {
|
||||||
fillMemories(in, child->memories);
|
fillMemories(in, child->memories);
|
||||||
} else if (elementName == "algorithm") {
|
} else if (elementName == "algorithm") {
|
||||||
|
Reference in New Issue
Block a user