Added Microchip namespace to EDBG debug tool classes
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
#include "AtmelIce.hpp"
|
#include "AtmelIce.hpp"
|
||||||
|
|
||||||
namespace DebugToolDrivers
|
namespace DebugToolDrivers::Microchip
|
||||||
{
|
{
|
||||||
AtmelIce::AtmelIce()
|
AtmelIce::AtmelIce()
|
||||||
: EdbgDevice(
|
: EdbgDevice(
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
#include "src/DebugToolDrivers/Microchip/EdbgDevice.hpp"
|
#include "src/DebugToolDrivers/Microchip/EdbgDevice.hpp"
|
||||||
|
|
||||||
namespace DebugToolDrivers
|
namespace DebugToolDrivers::Microchip
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* The Atmel-ICE device is an EDBG (Embedded Debugger) device.
|
* The Atmel-ICE device is an EDBG (Embedded Debugger) device.
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#include "CuriosityNano.hpp"
|
#include "CuriosityNano.hpp"
|
||||||
|
|
||||||
namespace DebugToolDrivers
|
namespace DebugToolDrivers::Microchip
|
||||||
{
|
{
|
||||||
CuriosityNano::CuriosityNano()
|
CuriosityNano::CuriosityNano()
|
||||||
: EdbgDevice(
|
: EdbgDevice(
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
#include "src/DebugToolDrivers/Microchip/EdbgDevice.hpp"
|
#include "src/DebugToolDrivers/Microchip/EdbgDevice.hpp"
|
||||||
|
|
||||||
namespace DebugToolDrivers
|
namespace DebugToolDrivers::Microchip
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* The Curiosity Nano is an evaluation board featuring an on-board debugger. The debugger is EDBG-based.
|
* The Curiosity Nano is an evaluation board featuring an on-board debugger. The debugger is EDBG-based.
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
#include "src/TargetController/Exceptions/DeviceFailure.hpp"
|
#include "src/TargetController/Exceptions/DeviceFailure.hpp"
|
||||||
#include "src/TargetController/Exceptions/DeviceInitializationFailure.hpp"
|
#include "src/TargetController/Exceptions/DeviceInitializationFailure.hpp"
|
||||||
|
|
||||||
namespace DebugToolDrivers
|
namespace DebugToolDrivers::Microchip
|
||||||
{
|
{
|
||||||
using namespace Microchip::Protocols::Edbg::Avr;
|
using namespace Microchip::Protocols::Edbg::Avr;
|
||||||
|
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
#include "Protocols/EDBG/AVR/EdbgAvrIspInterface.hpp"
|
#include "Protocols/EDBG/AVR/EdbgAvrIspInterface.hpp"
|
||||||
#include "Protocols/EDBG/EdbgTargetPowerManagementInterface.hpp"
|
#include "Protocols/EDBG/EdbgTargetPowerManagementInterface.hpp"
|
||||||
|
|
||||||
namespace DebugToolDrivers
|
namespace DebugToolDrivers::Microchip
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Microchip EDBG (Embedded Debugger) devices implement the CMSIS-DAP interface. As well as the CMSIS-DAP protocol,
|
* Microchip EDBG (Embedded Debugger) devices implement the CMSIS-DAP interface. As well as the CMSIS-DAP protocol,
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#include "JtagIce3.hpp"
|
#include "JtagIce3.hpp"
|
||||||
|
|
||||||
namespace DebugToolDrivers
|
namespace DebugToolDrivers::Microchip
|
||||||
{
|
{
|
||||||
JtagIce3::JtagIce3()
|
JtagIce3::JtagIce3()
|
||||||
: EdbgDevice(
|
: EdbgDevice(
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
#include "src/DebugToolDrivers/Microchip/EdbgDevice.hpp"
|
#include "src/DebugToolDrivers/Microchip/EdbgDevice.hpp"
|
||||||
|
|
||||||
namespace DebugToolDrivers
|
namespace DebugToolDrivers::Microchip
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* The JTAGICE3, from firmware version 3.x+, is an EDBG device.
|
* The JTAGICE3, from firmware version 3.x+, is an EDBG device.
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
#include "src/TargetController/Exceptions/DeviceNotFound.hpp"
|
#include "src/TargetController/Exceptions/DeviceNotFound.hpp"
|
||||||
#include "src/Services/PathService.hpp"
|
#include "src/Services/PathService.hpp"
|
||||||
|
|
||||||
namespace DebugToolDrivers
|
namespace DebugToolDrivers::Microchip
|
||||||
{
|
{
|
||||||
MplabPickit4::MplabPickit4()
|
MplabPickit4::MplabPickit4()
|
||||||
: EdbgDevice(
|
: EdbgDevice(
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
#include "src/DebugToolDrivers/Microchip/EdbgDevice.hpp"
|
#include "src/DebugToolDrivers/Microchip/EdbgDevice.hpp"
|
||||||
|
|
||||||
namespace DebugToolDrivers
|
namespace DebugToolDrivers::Microchip
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Like the MPLAB Snap, the PICkit 4 is a hybrid device. It can present itself as an EDBG (Embedded Debugger)
|
* Like the MPLAB Snap, the PICkit 4 is a hybrid device. It can present itself as an EDBG (Embedded Debugger)
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
#include "src/TargetController/Exceptions/DeviceNotFound.hpp"
|
#include "src/TargetController/Exceptions/DeviceNotFound.hpp"
|
||||||
#include "src/Services/PathService.hpp"
|
#include "src/Services/PathService.hpp"
|
||||||
|
|
||||||
namespace DebugToolDrivers
|
namespace DebugToolDrivers::Microchip
|
||||||
{
|
{
|
||||||
MplabSnap::MplabSnap()
|
MplabSnap::MplabSnap()
|
||||||
: EdbgDevice(
|
: EdbgDevice(
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
#include "src/DebugToolDrivers/Microchip/EdbgDevice.hpp"
|
#include "src/DebugToolDrivers/Microchip/EdbgDevice.hpp"
|
||||||
|
|
||||||
namespace DebugToolDrivers
|
namespace DebugToolDrivers::Microchip
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* The MPLAB Snap device is a hybrid device - that is, it can present itself as an "MPLAB Snap ICD" device, as well
|
* The MPLAB Snap device is a hybrid device - that is, it can present itself as an "MPLAB Snap ICD" device, as well
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#include "PowerDebugger.hpp"
|
#include "PowerDebugger.hpp"
|
||||||
|
|
||||||
namespace DebugToolDrivers
|
namespace DebugToolDrivers::Microchip
|
||||||
{
|
{
|
||||||
PowerDebugger::PowerDebugger()
|
PowerDebugger::PowerDebugger()
|
||||||
: EdbgDevice(
|
: EdbgDevice(
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
#include "src/DebugToolDrivers/Microchip/EdbgDevice.hpp"
|
#include "src/DebugToolDrivers/Microchip/EdbgDevice.hpp"
|
||||||
|
|
||||||
namespace DebugToolDrivers
|
namespace DebugToolDrivers::Microchip
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* The Power Debugger device is very similar to the Atmel-ICE. It is an EDBG device.
|
* The Power Debugger device is very similar to the Atmel-ICE. It is an EDBG device.
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#include "XplainedMini.hpp"
|
#include "XplainedMini.hpp"
|
||||||
|
|
||||||
namespace DebugToolDrivers
|
namespace DebugToolDrivers::Microchip
|
||||||
{
|
{
|
||||||
XplainedMini::XplainedMini()
|
XplainedMini::XplainedMini()
|
||||||
: EdbgDevice(
|
: EdbgDevice(
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
#include "src/DebugToolDrivers/Microchip/EdbgDevice.hpp"
|
#include "src/DebugToolDrivers/Microchip/EdbgDevice.hpp"
|
||||||
|
|
||||||
namespace DebugToolDrivers
|
namespace DebugToolDrivers::Microchip
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* The Xplained Mini is an evaluation board featuring an on-board debugger. The debugger is EDBG-based.
|
* The Xplained Mini is an evaluation board featuring an on-board debugger. The debugger is EDBG-based.
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#include "XplainedNano.hpp"
|
#include "XplainedNano.hpp"
|
||||||
|
|
||||||
namespace DebugToolDrivers
|
namespace DebugToolDrivers::Microchip
|
||||||
{
|
{
|
||||||
XplainedNano::XplainedNano()
|
XplainedNano::XplainedNano()
|
||||||
: EdbgDevice(
|
: EdbgDevice(
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
#include "src/DebugToolDrivers/Microchip/EdbgDevice.hpp"
|
#include "src/DebugToolDrivers/Microchip/EdbgDevice.hpp"
|
||||||
|
|
||||||
namespace DebugToolDrivers
|
namespace DebugToolDrivers::Microchip
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* The Xplained Nano is an evaluation board featuring an on-board debugger. The debugger is EDBG-based.
|
* The Xplained Nano is an evaluation board featuring an on-board debugger. The debugger is EDBG-based.
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#include "XplainedPro.hpp"
|
#include "XplainedPro.hpp"
|
||||||
|
|
||||||
namespace DebugToolDrivers
|
namespace DebugToolDrivers::Microchip
|
||||||
{
|
{
|
||||||
XplainedPro::XplainedPro()
|
XplainedPro::XplainedPro()
|
||||||
: EdbgDevice(
|
: EdbgDevice(
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
#include "src/DebugToolDrivers/Microchip/EdbgDevice.hpp"
|
#include "src/DebugToolDrivers/Microchip/EdbgDevice.hpp"
|
||||||
|
|
||||||
namespace DebugToolDrivers
|
namespace DebugToolDrivers::Microchip
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* The Xplained Pro is an evaluation board featuring an on-board debugger. The debugger is EDBG-based.
|
* The Xplained Pro is an evaluation board featuring an on-board debugger. The debugger is EDBG-based.
|
||||||
|
|||||||
@@ -311,55 +311,55 @@ namespace TargetController
|
|||||||
{
|
{
|
||||||
"atmel-ice",
|
"atmel-ice",
|
||||||
[] {
|
[] {
|
||||||
return std::make_unique<DebugToolDrivers::AtmelIce>();
|
return std::make_unique<DebugToolDrivers::Microchip::AtmelIce>();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"power-debugger",
|
"power-debugger",
|
||||||
[] {
|
[] {
|
||||||
return std::make_unique<DebugToolDrivers::PowerDebugger>();
|
return std::make_unique<DebugToolDrivers::Microchip::PowerDebugger>();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"snap",
|
"snap",
|
||||||
[] {
|
[] {
|
||||||
return std::make_unique<DebugToolDrivers::MplabSnap>();
|
return std::make_unique<DebugToolDrivers::Microchip::MplabSnap>();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"pickit-4",
|
"pickit-4",
|
||||||
[] {
|
[] {
|
||||||
return std::make_unique<DebugToolDrivers::MplabPickit4>();
|
return std::make_unique<DebugToolDrivers::Microchip::MplabPickit4>();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"xplained-pro",
|
"xplained-pro",
|
||||||
[] {
|
[] {
|
||||||
return std::make_unique<DebugToolDrivers::XplainedPro>();
|
return std::make_unique<DebugToolDrivers::Microchip::XplainedPro>();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"xplained-mini",
|
"xplained-mini",
|
||||||
[] {
|
[] {
|
||||||
return std::make_unique<DebugToolDrivers::XplainedMini>();
|
return std::make_unique<DebugToolDrivers::Microchip::XplainedMini>();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"xplained-nano",
|
"xplained-nano",
|
||||||
[] {
|
[] {
|
||||||
return std::make_unique<DebugToolDrivers::XplainedNano>();
|
return std::make_unique<DebugToolDrivers::Microchip::XplainedNano>();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"curiosity-nano",
|
"curiosity-nano",
|
||||||
[] {
|
[] {
|
||||||
return std::make_unique<DebugToolDrivers::CuriosityNano>();
|
return std::make_unique<DebugToolDrivers::Microchip::CuriosityNano>();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"jtagice3",
|
"jtagice3",
|
||||||
[] {
|
[] {
|
||||||
return std::make_unique<DebugToolDrivers::JtagIce3>();
|
return std::make_unique<DebugToolDrivers::Microchip::JtagIce3>();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user