Moved AVR8 TDF data extraction into AVR8 TDF class.

This commit is contained in:
Nav
2021-07-06 20:07:41 +01:00
parent 196a280142
commit d8f53e4f9f
6 changed files with 589 additions and 590 deletions

View File

@@ -138,7 +138,7 @@ void EdbgAvr8Interface::setDebugWireAndJtagParameters() {
*
* It *doesn't* seem to apply to the SPMCR address.
*/
auto mappedIoStartAddress = this->targetParameters.mappedIoStartAddress.value_or(0);
auto mappedIoStartAddress = this->targetParameters.mappedIoSegmentStartAddress.value_or(0);
if (this->targetParameters.ocdDataRegister.has_value()) {
Logger::debug("Setting DEVICE_OCD_DATA_REGISTER AVR8 parameter");