Added new EDBG ISP implementation to Curiosity Nano debug tool
This commit is contained in:
@@ -31,6 +31,8 @@ namespace Bloom::DebugToolDrivers
|
|||||||
}
|
}
|
||||||
|
|
||||||
this->edbgAvr8Interface = std::make_unique<EdbgAvr8Interface>(this->edbgInterface);
|
this->edbgAvr8Interface = std::make_unique<EdbgAvr8Interface>(this->edbgInterface);
|
||||||
|
this->edbgAvrIspInterface = std::make_unique<EdbgAvrIspInterface>(this->edbgInterface);
|
||||||
|
|
||||||
this->setInitialised(true);
|
this->setInitialised(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -10,6 +10,7 @@
|
|||||||
#include "src/DebugToolDrivers/Protocols/CMSIS-DAP/CmsisDapInterface.hpp"
|
#include "src/DebugToolDrivers/Protocols/CMSIS-DAP/CmsisDapInterface.hpp"
|
||||||
#include "src/DebugToolDrivers/Protocols/CMSIS-DAP/VendorSpecific/EDBG/EdbgInterface.hpp"
|
#include "src/DebugToolDrivers/Protocols/CMSIS-DAP/VendorSpecific/EDBG/EdbgInterface.hpp"
|
||||||
#include "src/DebugToolDrivers/Protocols/CMSIS-DAP/VendorSpecific/EDBG/AVR/EdbgAvr8Interface.hpp"
|
#include "src/DebugToolDrivers/Protocols/CMSIS-DAP/VendorSpecific/EDBG/AVR/EdbgAvr8Interface.hpp"
|
||||||
|
#include "src/DebugToolDrivers/Protocols/CMSIS-DAP/VendorSpecific/EDBG/AVR/EdbgAvrIspInterface.hpp"
|
||||||
#include "src/DebugToolDrivers/Protocols/CMSIS-DAP/VendorSpecific/EDBG/AVR/CommandFrames/AvrCommandFrames.hpp"
|
#include "src/DebugToolDrivers/Protocols/CMSIS-DAP/VendorSpecific/EDBG/AVR/CommandFrames/AvrCommandFrames.hpp"
|
||||||
|
|
||||||
namespace Bloom::DebugToolDrivers
|
namespace Bloom::DebugToolDrivers
|
||||||
@@ -44,6 +45,10 @@ namespace Bloom::DebugToolDrivers
|
|||||||
return this->edbgAvr8Interface.get();
|
return this->edbgAvr8Interface.get();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
TargetInterfaces::Microchip::Avr::AvrIspInterface* getAvrIspInterface() override {
|
||||||
|
return this->edbgAvrIspInterface.get();
|
||||||
|
}
|
||||||
|
|
||||||
std::string getName() override {
|
std::string getName() override {
|
||||||
return "Curiosity Nano";
|
return "Curiosity Nano";
|
||||||
};
|
};
|
||||||
@@ -68,6 +73,7 @@ namespace Bloom::DebugToolDrivers
|
|||||||
private:
|
private:
|
||||||
Protocols::CmsisDap::Edbg::EdbgInterface edbgInterface = Protocols::CmsisDap::Edbg::EdbgInterface();
|
Protocols::CmsisDap::Edbg::EdbgInterface edbgInterface = Protocols::CmsisDap::Edbg::EdbgInterface();
|
||||||
std::unique_ptr<Protocols::CmsisDap::Edbg::Avr::EdbgAvr8Interface> edbgAvr8Interface = nullptr;
|
std::unique_ptr<Protocols::CmsisDap::Edbg::Avr::EdbgAvr8Interface> edbgAvr8Interface = nullptr;
|
||||||
|
std::unique_ptr<Protocols::CmsisDap::Edbg::Avr::EdbgAvrIspInterface> edbgAvrIspInterface = nullptr;
|
||||||
|
|
||||||
bool sessionStarted = false;
|
bool sessionStarted = false;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user