Ignoring AVR8 registers that are not in the data address space

This commit is contained in:
Nav
2021-08-30 22:31:44 +01:00
parent 9d9f429fba
commit df1f3958c0
3 changed files with 11 additions and 1 deletions

View File

@@ -173,6 +173,10 @@ RegisterGroup TargetDescriptionFile::generateRegisterGroupFromXml(const QDomElem
registerGroup.moduleName = xmlElement.attribute("name-in-module").toLower().toStdString();
}
if (xmlElement.hasAttribute("address-space")) {
registerGroup.addressSpaceId = xmlElement.attribute("address-space").toLower().toStdString();
}
if (xmlElement.hasAttribute("offset")) {
registerGroup.offset = xmlElement.attribute("offset").toInt(nullptr, 16);
}