From eaa34ef2af9a055e7fb1d865819d58982c2fcaff Mon Sep 17 00:00:00 2001 From: Nav Date: Sun, 29 May 2022 18:35:44 +0100 Subject: [PATCH] Removed flash memory write restriction for AVR GDB write memory command packet --- src/DebugServer/Gdb/AvrGdb/CommandPackets/WriteMemory.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/DebugServer/Gdb/AvrGdb/CommandPackets/WriteMemory.cpp b/src/DebugServer/Gdb/AvrGdb/CommandPackets/WriteMemory.cpp index c6449b82..abcdd954 100644 --- a/src/DebugServer/Gdb/AvrGdb/CommandPackets/WriteMemory.cpp +++ b/src/DebugServer/Gdb/AvrGdb/CommandPackets/WriteMemory.cpp @@ -78,12 +78,6 @@ namespace Bloom::DebugServer::Gdb::AvrGdb::CommandPackets throw Exception("Target does not support the requested memory type."); } - if (this->memoryType == Targets::TargetMemoryType::FLASH) { - throw Exception( - "GDB client requested a flash memory write - This is not currently supported by Bloom." - ); - } - if (this->buffer.size() == 0) { debugSession.connection.writePacket(OkResponsePacket()); return;