From 7adfd47214e0fd1ace9cf889792969a7e7f2e965 Mon Sep 17 00:00:00 2001 From: Nav Date: Wed, 16 Mar 2022 17:09:18 +0000 Subject: [PATCH] New base class for EDBG Control protocol command frame --- .../EDBGControl/EdbgControlCommandFrame.hpp | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/DebugToolDrivers/Protocols/CMSIS-DAP/VendorSpecific/EDBG/AVR/CommandFrames/EDBGControl/EdbgControlCommandFrame.hpp diff --git a/src/DebugToolDrivers/Protocols/CMSIS-DAP/VendorSpecific/EDBG/AVR/CommandFrames/EDBGControl/EdbgControlCommandFrame.hpp b/src/DebugToolDrivers/Protocols/CMSIS-DAP/VendorSpecific/EDBG/AVR/CommandFrames/EDBGControl/EdbgControlCommandFrame.hpp new file mode 100644 index 00000000..18fcd3c7 --- /dev/null +++ b/src/DebugToolDrivers/Protocols/CMSIS-DAP/VendorSpecific/EDBG/AVR/CommandFrames/EDBGControl/EdbgControlCommandFrame.hpp @@ -0,0 +1,16 @@ +#pragma once + +#include "src/DebugToolDrivers/Protocols/CMSIS-DAP/VendorSpecific/EDBG/AVR/CommandFrames/AvrCommandFrame.hpp" +#include "src/DebugToolDrivers/Protocols/CMSIS-DAP/VendorSpecific/EDBG/AVR/ResponseFrames/EDBGControl/EdbgControlResponseFrame.hpp" + +namespace Bloom::DebugToolDrivers::Protocols::CmsisDap::Edbg::Avr::CommandFrames::EdbgControl +{ + template + class EdbgControlCommandFrame: public AvrCommandFrame + { + public: + using ExpectedResponseFrameType = ResponseFrames::EdbgControl::EdbgControlResponseFrame; + + EdbgControlCommandFrame(): AvrCommandFrame(ProtocolHandlerId::EDBG_CONTROL) {} + }; +}