Added eraseProgramMemorySection() function to Avr8 debug interface - to erase XMEGA program memory sections when necessary
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
#include "src/Targets/Microchip/AVR/TargetSignature.hpp"
|
||||
#include "src/Targets/Microchip/AVR/AVR8/Family.hpp"
|
||||
#include "src/Targets/Microchip/AVR/AVR8/PhysicalInterface.hpp"
|
||||
#include "src/Targets/Microchip/AVR/AVR8/ProgramMemorySection.hpp"
|
||||
#include "src/Targets/Microchip/AVR/AVR8/TargetParameters.hpp"
|
||||
|
||||
#include "src/Targets/TargetState.hpp"
|
||||
@@ -194,6 +195,13 @@ namespace Bloom::DebugToolDrivers::TargetInterfaces::Microchip::Avr::Avr8
|
||||
const Targets::TargetMemoryBuffer& buffer
|
||||
) = 0;
|
||||
|
||||
/**
|
||||
* Should erase a particular program memory section.
|
||||
*
|
||||
* @param section
|
||||
*/
|
||||
virtual void eraseProgramMemorySection(Targets::Microchip::Avr::Avr8Bit::ProgramMemorySection section) = 0;
|
||||
|
||||
/**
|
||||
* Should obtain the current target state.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user