From 37377fb988e8cae8048a4bc4ee04024c17cc7be7 Mon Sep 17 00:00:00 2001 From: Nav Date: Sat, 18 Jan 2025 18:46:00 +0000 Subject: [PATCH] Tidying --- src/DebugServer/Gdb/AvrGdb/AvrGdbRsp.cpp | 2 +- src/Targets/RiscV/Wch/WchRiscV.cpp | 7 +- .../RiscV/Wch/CH32V003.xml | 513 +++++++++--------- .../RiscV/Wch/CH32X035.xml | 512 ++++++++--------- 4 files changed, 516 insertions(+), 518 deletions(-) diff --git a/src/DebugServer/Gdb/AvrGdb/AvrGdbRsp.cpp b/src/DebugServer/Gdb/AvrGdb/AvrGdbRsp.cpp index f67378e6..14696622 100644 --- a/src/DebugServer/Gdb/AvrGdb/AvrGdbRsp.cpp +++ b/src/DebugServer/Gdb/AvrGdb/AvrGdbRsp.cpp @@ -44,7 +44,7 @@ namespace DebugServer::Gdb::AvrGdb {} std::string AvrGdbRsp::getName() const { - return "AVR GDB Remote Serial Protocol Server"; + return "AVR GDB RSP Server"; } std::unique_ptr AvrGdbRsp::rawPacketToCommandPacket( diff --git a/src/Targets/RiscV/Wch/WchRiscV.cpp b/src/Targets/RiscV/Wch/WchRiscV.cpp index 6f926c32..f4ead5d7 100644 --- a/src/Targets/RiscV/Wch/WchRiscV.cpp +++ b/src/Targets/RiscV/Wch/WchRiscV.cpp @@ -360,10 +360,9 @@ namespace Targets::RiscV::Wch */ const auto deAliasedAddress = this->deAliasMappedAddress(programCounter, actualAliasedSegment); Logger::warning( - "The mapped program memory segment is currently aliasing a foreign segment (`" - + actualAliasedSegment.key + "`) - the program counter (0x" - + StringService::toHex(programCounter) + ") has been de-aliased to 0x" - + StringService::toHex(deAliasedAddress) + "The mapped program memory segment is currently aliasing the `" + actualAliasedSegment.key + + "` segment - the program counter (0x" + StringService::toHex(programCounter) + + ") has been de-aliased to 0x" + StringService::toHex(deAliasedAddress) ); return deAliasedAddress; } diff --git a/src/Targets/TargetDescriptionFiles/RiscV/Wch/CH32V003.xml b/src/Targets/TargetDescriptionFiles/RiscV/Wch/CH32V003.xml index dca7762a..3dc50e40 100644 --- a/src/Targets/TargetDescriptionFiles/RiscV/Wch/CH32V003.xml +++ b/src/Targets/TargetDescriptionFiles/RiscV/Wch/CH32V003.xml @@ -656,388 +656,388 @@ - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + @@ -2046,7 +2046,6 @@ - diff --git a/src/Targets/TargetDescriptionFiles/RiscV/Wch/CH32X035.xml b/src/Targets/TargetDescriptionFiles/RiscV/Wch/CH32X035.xml index 6da41ce9..c2c5668e 100644 --- a/src/Targets/TargetDescriptionFiles/RiscV/Wch/CH32X035.xml +++ b/src/Targets/TargetDescriptionFiles/RiscV/Wch/CH32X035.xml @@ -1497,388 +1497,388 @@ - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + +