Reset target after GDB programming session

This commit is contained in:
Nav
2022-09-17 20:15:53 +01:00
parent 18fb3b56ce
commit 8e9d114343

View File

@@ -38,6 +38,9 @@ namespace Bloom::DebugServer::Gdb::AvrGdb::CommandPackets
}
targetControllerConsole.disableProgrammingMode();
Logger::debug("Resetting target");
targetControllerConsole.resetTarget();
Logger::info("Target reset");
debugSession.connection.writePacket(OkResponsePacket());