Tidying
This commit is contained in:
@@ -327,6 +327,9 @@ namespace DebugToolDrivers::Microchip::Protocols::Edbg::Avr
|
||||
*
|
||||
* So it appears we cannot use that command for UPDI sessions. For this reason, we will just read the
|
||||
* signature from memory via the signature memory segment.
|
||||
*
|
||||
* TODO: We're assuming the signature memory segment will always reside in the `data` address space, for
|
||||
* UPDI targets. Review.
|
||||
*/
|
||||
const auto signatureMemory = this->readMemory(
|
||||
Avr8MemoryType::SRAM,
|
||||
|
||||
@@ -323,11 +323,7 @@ namespace Targets::Microchip::Avr8
|
||||
);
|
||||
}
|
||||
|
||||
/*
|
||||
* The debug interface may have its own access restrictions for registers.
|
||||
*
|
||||
* We must amend the register descriptors with the appropriate restrictions.
|
||||
*/
|
||||
// The debug interface may have its own access restrictions for registers.
|
||||
for (auto& [peripheralKey, peripheral] : descriptor.peripheralDescriptorsByKey) {
|
||||
for (auto& [groupKey, registerGroup] : peripheral.registerGroupDescriptorsByKey) {
|
||||
this->applyDebugInterfaceRegisterAccessRestrictions(
|
||||
|
||||
Reference in New Issue
Block a user