Fixed another regression in the AVR8 target driver

Breakpoints were being cleared after the OCDEN fuse bit had been cleared.
This commit is contained in:
Nav
2025-02-22 19:48:39 +00:00
parent 153dfebca9
commit cfb83b4358
2 changed files with 1 additions and 2 deletions

View File

@@ -255,8 +255,6 @@ namespace DebugToolDrivers::Microchip::Protocols::Edbg::Avr
void EdbgAvr8Interface::deactivate() {
if (this->targetAttached) {
this->clearAllBreakpoints();
if (
this->session.targetConfig.physicalInterface == TargetPhysicalInterface::DEBUG_WIRE
&& this->session.targetConfig.disableDebugWireOnDeactivate

View File

@@ -236,6 +236,7 @@ namespace Targets::Microchip::Avr8
}
this->stop();
this->avr8DebugInterface->clearAllBreakpoints();
if (
this->targetConfig.physicalInterface == TargetPhysicalInterface::JTAG