Files
BloomPatched/src/DebugToolDrivers/Wch/WchLinkToolConfig.hpp

21 lines
586 B
C++
Raw Normal View History

#pragma once
#include <yaml-cpp/yaml.h>
#include "src/ProjectConfig.hpp"
2025-02-02 13:32:25 +00:00
#include "src/DebugToolDrivers/Protocols/RiscVDebug/DebugTranslatorConfig.hpp"
namespace DebugToolDrivers::Wch
{
/**
* Extending the generic DebugToolConfig struct to accommodate WCH-Link configuration parameters.
*/
struct WchLinkToolConfig: public DebugToolConfig
{
bool exitIapMode = true;
2025-02-02 13:32:25 +00:00
::DebugToolDrivers::Protocols::RiscVDebug::DebugTranslatorConfig riscVDebugTranslatorConfig = {};
explicit WchLinkToolConfig(const DebugToolConfig& toolConfig);
};
}