2024-10-06 23:32:36 +01:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include <yaml-cpp/yaml.h>
|
|
|
|
|
|
|
|
|
|
#include "src/ProjectConfig.hpp"
|
|
|
|
|
#include "src/DebugToolDrivers/Protocols/RiscVDebugSpec/DebugTranslatorConfig.hpp"
|
|
|
|
|
|
|
|
|
|
namespace DebugToolDrivers::Wch
|
|
|
|
|
{
|
|
|
|
|
/**
|
|
|
|
|
* Extending the generic DebugToolConfig struct to accommodate WCH-Link configuration parameters.
|
|
|
|
|
*/
|
|
|
|
|
struct WchLinkToolConfig: public DebugToolConfig
|
|
|
|
|
{
|
|
|
|
|
public:
|
2024-11-24 19:32:00 +00:00
|
|
|
::DebugToolDrivers::Protocols::RiscVDebugSpec::DebugTranslatorConfig riscVDebugTranslatorConfig = {};
|
2024-10-06 23:32:36 +01:00
|
|
|
|
|
|
|
|
explicit WchLinkToolConfig(const DebugToolConfig& toolConfig);
|
|
|
|
|
};
|
|
|
|
|
}
|