Tools: Support injecting param meta, do not generate code for these

This commit is contained in:
Lorenz Meier
2015-11-09 09:31:43 +01:00
parent a6ba6eb2e4
commit 56d67c6f6c
4 changed files with 161 additions and 4 deletions
+3 -2
View File
@@ -29,7 +29,7 @@ start_name = ""
end_name = ""
for group in root:
if group.tag == "group":
if group.tag == "group" and "no_code_generation" not in group.attrib:
header += """
/*****************************************************************
* %s
@@ -62,7 +62,8 @@ struct px4_parameters_t px4_parameters = {
"""
i=0
for group in root:
if group.tag == "group":
if group.tag == "group" and "no_code_generation" not in group.attrib:
src += """
/*****************************************************************
* %s