Added postInit() function to debug tool interface, for outputting any debug-tool-specific info after initialisation.

Removed `getFirmwareVersionString()` function
This commit is contained in:
Nav
2024-07-23 21:44:15 +01:00
parent dd80c254a2
commit 8f7c3bc1be
6 changed files with 21 additions and 22 deletions

View File

@@ -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();