Tidying
This commit is contained in:
@@ -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))
|
||||||
{}
|
{}
|
||||||
|
|||||||
@@ -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());
|
||||||
|
|||||||
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user