Refactored Insight GUI to accommodate the many changes made to Bloom's internals

Also lots of tidying.
This commit is contained in:
Nav
2024-12-24 18:27:59 +00:00
parent 28e0a6d9e4
commit 7fe5b88dd8
195 changed files with 3449 additions and 3171 deletions

View File

@@ -93,6 +93,10 @@ InsightConfig::InsightConfig(const YAML::Node& insightNode) {
if (insightNode["shutdown_on_close"]) {
this->shutdownOnClose = insightNode["shutdown_on_close"].as<bool>(this->shutdownOnClose);
}
if (insightNode["default_variant_key"]) {
this->defaultVariantKey = insightNode["default_variant_key"].as<std::string>();
}
}
EnvironmentConfig::EnvironmentConfig(std::string name, const YAML::Node& environmentNode)
@@ -191,7 +195,10 @@ TargetConfig::TargetConfig(const YAML::Node& targetNode) {
this->physicalInterface = physicalInterfaceIt->second;
if (targetNode["variantName"]) {
this->variantName = StringService::asciiToLower(targetNode["variantName"].as<std::string>());
Logger::warning(
"The 'variantName' target configuration parameter was removed in v2.0.0. Please use the "
"'default_variant_key' insight configuration parameter."
);
}
if (targetNode["hardware_breakpoints"]) {