Removed flash memory write restriction for AVR GDB write memory command packet
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user