Added postInit() function to debug tool interface, for outputting any debug-tool-specific info after initialisation.
Removed `getFirmwareVersionString()` function
This commit is contained in:
@@ -83,6 +83,10 @@ namespace DebugToolDrivers::Microchip
|
||||
this->initialised = false;
|
||||
}
|
||||
|
||||
void EdbgDevice::postInit() {
|
||||
// TODO: Log firmware version of EDBG device
|
||||
}
|
||||
|
||||
bool EdbgDevice::isInitialised() const {
|
||||
return this->initialised;
|
||||
}
|
||||
@@ -105,11 +109,6 @@ namespace DebugToolDrivers::Microchip
|
||||
return std::string{data.begin(), data.end()};
|
||||
}
|
||||
|
||||
std::string EdbgDevice::getFirmwareVersionString() {
|
||||
// TODO: Implement this
|
||||
return "UNKNOWN";
|
||||
}
|
||||
|
||||
DebugToolDrivers::TargetInterfaces::TargetPowerManagementInterface* EdbgDevice::getTargetPowerManagementInterface()
|
||||
{
|
||||
return this->targetPowerManagementInterface.get();
|
||||
|
||||
Reference in New Issue
Block a user