EDBG target power management interface for Xplained Nano debug tool

This commit is contained in:
Nav
2022-03-16 17:38:52 +00:00
parent 80e5678ddf
commit 78b96ed277
2 changed files with 17 additions and 0 deletions

View File

@@ -8,6 +8,8 @@ namespace Bloom::DebugToolDrivers
using namespace Protocols::CmsisDap::Edbg::Avr;
using namespace Bloom::Exceptions;
using Protocols::CmsisDap::Edbg::EdbgTargetPowerManagementInterface;
void XplainedNano::init() {
UsbDevice::init();
@@ -30,6 +32,10 @@ namespace Bloom::DebugToolDrivers
this->startSession();
}
this->targetPowerManagementInterface = std::make_unique<EdbgTargetPowerManagementInterface>(
this->edbgInterface
);
this->edbgAvr8Interface = std::make_unique<EdbgAvr8Interface>(this->edbgInterface);
this->setInitialised(true);
}