Initial pass at a RiscVDebugInterface and implementation (for WCH-Link debug tools)

This commit is contained in:
Nav
2023-11-21 21:40:40 +00:00
parent 516892f7eb
commit 826da3e921
10 changed files with 382 additions and 7 deletions

View File

@@ -4,6 +4,8 @@
namespace DebugToolDrivers::Wch
{
using WchTargetId = std::uint32_t;
enum class WchLinkVariant: std::uint8_t
{
LINK_CH549,
@@ -11,4 +13,11 @@ namespace DebugToolDrivers::Wch
LINK_S_CH32V203,
UNKNOWN,
};
enum class WchLinkTargetClockSpeed: std::uint8_t
{
CLK_400_KHZ,
CLK_4000_KHZ,
CLK_6000_KHZ,
};
}