Initial pass at a RiscVDebugInterface and implementation (for WCH-Link debug tools)
This commit is contained in:
@@ -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,
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user