Removed flash memory write restriction for AVR GDB write memory command packet

This commit is contained in:
Nav
2022-05-29 18:35:44 +01:00
parent 71fe9e66fe
commit eaa34ef2af

View File

@@ -78,12 +78,6 @@ namespace Bloom::DebugServer::Gdb::AvrGdb::CommandPackets
throw Exception("Target does not support the requested memory type."); 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) { if (this->buffer.size() == 0) {
debugSession.connection.writePacket(OkResponsePacket()); debugSession.connection.writePacket(OkResponsePacket());
return; return;