Moving ResponseId enum for the DISCOVERY EDBG protocol out of the command frame class header.

This commit is contained in:
Nav
2022-03-01 20:18:45 +00:00
parent 0fba3f6d3c
commit 8c3d49df79
11 changed files with 27 additions and 35 deletions

View File

@@ -53,6 +53,7 @@ namespace Bloom::DebugToolDrivers
std::string AtmelIce::getSerialNumber() {
using namespace CommandFrames::Discovery;
using ResponseFrames::Discovery::ResponseId;
auto response = this->getEdbgInterface().sendAvrCommandFrameAndWaitForResponseFrame(
Query(QueryContext::SERIAL_NUMBER)

View File

@@ -45,6 +45,7 @@ namespace Bloom::DebugToolDrivers
std::string CuriosityNano::getSerialNumber() {
using namespace CommandFrames::Discovery;
using ResponseFrames::Discovery::ResponseId;
auto response = this->getEdbgInterface().sendAvrCommandFrameAndWaitForResponseFrame(
Query(QueryContext::SERIAL_NUMBER)

View File

@@ -46,6 +46,7 @@ namespace Bloom::DebugToolDrivers
std::string MplabPickit4::getSerialNumber() {
using namespace CommandFrames::Discovery;
using ResponseFrames::Discovery::ResponseId;
auto response = this->getEdbgInterface().sendAvrCommandFrameAndWaitForResponseFrame(
Query(QueryContext::SERIAL_NUMBER)

View File

@@ -45,6 +45,7 @@ namespace Bloom::DebugToolDrivers
std::string MplabSnap::getSerialNumber() {
using namespace CommandFrames::Discovery;
using ResponseFrames::Discovery::ResponseId;
auto response = this->getEdbgInterface().sendAvrCommandFrameAndWaitForResponseFrame(
Query(QueryContext::SERIAL_NUMBER)

View File

@@ -51,6 +51,7 @@ namespace Bloom::DebugToolDrivers
std::string PowerDebugger::getSerialNumber() {
using namespace CommandFrames::Discovery;
using ResponseFrames::Discovery::ResponseId;
auto response = this->getEdbgInterface().sendAvrCommandFrameAndWaitForResponseFrame(
Query(QueryContext::SERIAL_NUMBER)

View File

@@ -45,6 +45,7 @@ namespace Bloom::DebugToolDrivers
std::string XplainedMini::getSerialNumber() {
using namespace CommandFrames::Discovery;
using ResponseFrames::Discovery::ResponseId;
auto response = this->getEdbgInterface().sendAvrCommandFrameAndWaitForResponseFrame(
Query(QueryContext::SERIAL_NUMBER)

View File

@@ -45,6 +45,7 @@ namespace Bloom::DebugToolDrivers
std::string XplainedNano::getSerialNumber() {
using namespace CommandFrames::Discovery;
using ResponseFrames::Discovery::ResponseId;
auto response = this->getEdbgInterface().sendAvrCommandFrameAndWaitForResponseFrame(
Query(QueryContext::SERIAL_NUMBER)

View File

@@ -54,6 +54,7 @@ namespace Bloom::DebugToolDrivers
std::string XplainedPro::getSerialNumber() {
using namespace CommandFrames::Discovery;
using ResponseFrames::Discovery::ResponseId;
auto response = this->getEdbgInterface().sendAvrCommandFrameAndWaitForResponseFrame(
Query(QueryContext::SERIAL_NUMBER)