EDBG target power management interface for Xplained Nano debug tool
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user