From 647b6bc3e1e6b628927dcf1aa9b84cc08d50a2eb Mon Sep 17 00:00:00 2001 From: Nav Date: Sat, 25 Sep 2021 23:27:53 +0100 Subject: [PATCH] Consistent config parameter case convention. Left the camel-case version for backwards compatibility. --- resources/bloom.template.json | 2 +- .../CMSIS-DAP/VendorSpecific/EDBG/AVR/EdbgAvr8Interface.hpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/resources/bloom.template.json b/resources/bloom.template.json index 39295086..53a6c9ed 100644 --- a/resources/bloom.template.json +++ b/resources/bloom.template.json @@ -8,7 +8,7 @@ "target": { "name": "avr8", - "physicalInterface": "debugWire" + "physicalInterface": "debug-wire" }, "debugServer": { diff --git a/src/DebugToolDrivers/Protocols/CMSIS-DAP/VendorSpecific/EDBG/AVR/EdbgAvr8Interface.hpp b/src/DebugToolDrivers/Protocols/CMSIS-DAP/VendorSpecific/EDBG/AVR/EdbgAvr8Interface.hpp index a73b9cca..647ab7aa 100644 --- a/src/DebugToolDrivers/Protocols/CMSIS-DAP/VendorSpecific/EDBG/AVR/EdbgAvr8Interface.hpp +++ b/src/DebugToolDrivers/Protocols/CMSIS-DAP/VendorSpecific/EDBG/AVR/EdbgAvr8Interface.hpp @@ -126,6 +126,7 @@ namespace Bloom::DebugToolDrivers::Protocols::CmsisDap::Edbg::Avr return std::map({ {"debugwire", PhysicalInterface::DEBUG_WIRE}, + {"debug-wire", PhysicalInterface::DEBUG_WIRE}, {"pdi", PhysicalInterface::PDI}, {"jtag", PhysicalInterface::JTAG}, {"updi", PhysicalInterface::UPDI},