Implemented eraseMemory() member function in AVR8 class

This commit is contained in:
Nav
2022-12-11 18:18:39 +00:00
parent 190d734ca3
commit 83c273a22b
3 changed files with 36 additions and 1 deletions

View File

@@ -258,7 +258,18 @@ namespace Bloom::Targets
* @param startAddress
* @param buffer
*/
virtual void writeMemory(TargetMemoryType memoryType, TargetMemoryAddress startAddress, const TargetMemoryBuffer& buffer) = 0;
virtual void writeMemory(
TargetMemoryType memoryType,
TargetMemoryAddress startAddress,
const TargetMemoryBuffer& buffer
) = 0;
/**
* Should erase the entire address range of a given memory type.
*
* @param memoryType
*/
virtual void eraseMemory(TargetMemoryType memoryType) = 0;
/**
* Should return the current state of the target.