This commit is contained in:
Nav
2022-06-04 15:20:37 +01:00
parent e8b39122ad
commit b3af06654c
3 changed files with 4 additions and 5 deletions

View File

@@ -9,7 +9,6 @@
#include "src/Application.hpp" #include "src/Application.hpp"
#include "src/Logger/Logger.hpp" #include "src/Logger/Logger.hpp"
#include "src/Exceptions/Exception.hpp"
namespace Bloom::DebugServer::Gdb::CommandPackets namespace Bloom::DebugServer::Gdb::CommandPackets
{ {
@@ -17,8 +16,6 @@ namespace Bloom::DebugServer::Gdb::CommandPackets
using ResponsePackets::ResponsePacket; using ResponsePackets::ResponsePacket;
using Exceptions::Exception;
TargetInfoMachine::TargetInfoMachine(Monitor&& monitorPacket) TargetInfoMachine::TargetInfoMachine(Monitor&& monitorPacket)
: Monitor(std::move(monitorPacket)) : Monitor(std::move(monitorPacket))
{} {}

View File

@@ -1785,7 +1785,7 @@ namespace Bloom::DebugToolDrivers::Protocols::CmsisDap::Edbg::Avr
} }
void EdbgAvr8Interface::refreshTargetState() { void EdbgAvr8Interface::refreshTargetState() {
auto avrEvent = this->getAvrEvent(); const auto avrEvent = this->getAvrEvent();
if (avrEvent != nullptr && avrEvent->getEventId() == AvrEventId::AVR8_BREAK_EVENT) { if (avrEvent != nullptr && avrEvent->getEventId() == AvrEventId::AVR8_BREAK_EVENT) {
auto* breakEvent = dynamic_cast<BreakEvent*>(avrEvent.get()); auto* breakEvent = dynamic_cast<BreakEvent*>(avrEvent.get());

View File

@@ -1,8 +1,10 @@
#pragma once #pragma once
#include <cstdint>
namespace Bloom::Targets::Microchip::Avr::Avr8Bit namespace Bloom::Targets::Microchip::Avr::Avr8Bit
{ {
enum class PhysicalInterface: int enum class PhysicalInterface: std::uint8_t
{ {
JTAG, JTAG,
DEBUG_WIRE, DEBUG_WIRE,