Updated DebugTool interface and implemented getRiscVDebugInterface() for WCH-Link debug tools

This commit is contained in:
Nav
2023-11-21 22:04:27 +00:00
parent 826da3e921
commit 9e223f9f9f
2 changed files with 22 additions and 2 deletions

View File

@@ -32,6 +32,10 @@ namespace DebugToolDrivers::Wch
std::string getFirmwareVersionString() override;
DebugToolDrivers::TargetInterfaces::RiscV::RiscVDebugInterface* getRiscVDebugInterface() override {
return this->wchLinkInterface.get();
}
protected:
WchLinkVariant variant;