@@ -17,6 +17,7 @@ static constexpr const char* YAML_ACCESS = "access";
1717static constexpr const char * YAML_ACCESSPORTS = " accessports" ;
1818static constexpr const char * YAML_ALGORITHM = " algorithm" ;
1919static constexpr const char * YAML_ALIAS = " alias" ;
20+ static constexpr const char * YAML_ALIAS_NAME = " alias-name" ;
2021static constexpr const char * YAML_ADDPATH = " add-path" ;
2122static constexpr const char * YAML_ADDPATH_ASM = " add-path-asm" ;
2223static constexpr const char * YAML_ADDRESS = " address" ;
@@ -78,13 +79,15 @@ static constexpr const char* YAML_CREATED_BY = "created-by";
7879static constexpr const char * YAML_CREATED_FOR = " created-for" ;
7980static constexpr const char * YAML_DATAPATCH = " datapatch" ;
8081static constexpr const char * YAML_DEBUG = " debug" ;
82+ static constexpr const char * YAML_DEBUG_ADAPTERS = " debug-adapters" ;
8183static constexpr const char * YAML_DEBUG_SEQUENCES = " debug-sequences" ;
8284static constexpr const char * YAML_DEBUG_VARS = " debug-vars" ;
8385static constexpr const char * YAML_DEBUG_TOPOLOGY = " debug-topology" ;
8486static constexpr const char * YAML_DEBUGGER = " debugger" ;
8587static constexpr const char * YAML_DEBUGPORTS = " debugports" ;
8688static constexpr const char * YAML_DBGCONF = " dbgconf" ;
8789static constexpr const char * YAML_DEFAULT = " default" ;
90+ static constexpr const char * YAML_DEFAULTS = " defaults" ;
8891static constexpr const char * YAML_DEFINE = " define" ;
8992static constexpr const char * YAML_DEFINE_ASM = " define-asm" ;
9093static constexpr const char * YAML_DELPATH = " del-path" ;
@@ -111,6 +114,7 @@ static constexpr const char* YAML_FORCONTEXT = "for-context";
111114static constexpr const char * YAML_FORDEVICE = " for-device" ;
112115static constexpr const char * YAML_FORPROJECTPART = " for-project-part" ;
113116static constexpr const char * YAML_FPU = " fpu" ;
117+ static constexpr const char * YAML_GDBSERVER = " gdbserver" ;
114118static constexpr const char * YAML_GENERATED_BY = " generated-by" ;
115119static constexpr const char * YAML_GENERATOR = " generator" ;
116120static constexpr const char * YAML_GENERATORS = " generators" ;
@@ -175,6 +179,7 @@ static constexpr const char* YAML_PACKS_MISSING = "packs-missing";
175179static constexpr const char * YAML_PACKS_UNUSED = " packs-unused" ;
176180static constexpr const char * YAML_PATH = " path" ;
177181static constexpr const char * YAML_PNAME = " pname" ;
182+ static constexpr const char * YAML_PORT = " port" ;
178183static constexpr const char * YAML_PUNITS = " punits" ;
179184static constexpr const char * YAML_PUNIT = " punit" ;
180185static constexpr const char * YAML_PROCESSORS = " processors" ;
@@ -223,6 +228,7 @@ static constexpr const char* YAML_TARGETSEL = "targetsel";
223228static constexpr const char * YAML_TARGET_SET = " target-set" ;
224229static constexpr const char * YAML_TARGETTYPE = " target-type" ;
225230static constexpr const char * YAML_TARGETTYPES = " target-types" ;
231+ static constexpr const char * YAML_TEMPLATE = " template" ;
226232static constexpr const char * YAML_TIMEOUT = " timeout" ;
227233static constexpr const char * YAML_TRUSTZONE = " trustzone" ;
228234static constexpr const char * YAML_TITLE = " title" ;
@@ -298,6 +304,14 @@ class ProjMgrYamlParser {
298304 */
299305 bool ParseCbuildSet (const std::string& input, CbuildSetItem& cbuildSet, bool checkSchema);
300306
307+ /* *
308+ * @brief parse debug-adapters file
309+ * @param input path to debug-adapters.yml file
310+ * @param reference to store parsed debug-adapters item
311+ * @param checkSchema false to skip schema validation
312+ * @return true if executed successfully
313+ */
314+ bool ParseDebugAdapters (const std::string& input, DebugAdaptersItem& adapters, bool checkSchema);
301315
302316protected:
303317 bool ParseCbuildPack (const std::string& input, CbuildPackItem& cbuildPack, bool checkSchema);
@@ -336,6 +350,7 @@ class ProjMgrYamlParser {
336350 bool ParseTypePair (std::vector<std::string>& vec, std::vector<TypePair>& typeVec);
337351 bool ParseLinker (const YAML::Node& parent, const std::string& file, std::vector<LinkerItem>& linker);
338352 void ParseRte (const YAML::Node& parent, std::string& rteBaseDir);
353+ void ParseDebugDefaults (const YAML::Node& parent, const std::string& file, DebugAdapterDefaultsItem& defaults);
339354 bool GetTypes (const std::string& type, std::string& buildType, std::string& targetType, std::string& pattern);
340355 bool ValidateCdefault (const std::string& input, const YAML::Node& root);
341356 bool ValidateCsolution (const std::string& input, const YAML::Node& root);
0 commit comments