X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=wizard%2Fbertos_utils.py;h=47fa4b6b8572315b8c11e3bb53888bd7029bb82a;hb=e80b8410edc8e74e94662722194d1cfddbb19ec5;hp=b872cf1501986baacbdd101199241a1b712d2cfc;hpb=5caada91ff327558e599950dcf058d516ed88cb7;p=bertos.git diff --git a/wizard/bertos_utils.py b/wizard/bertos_utils.py index b872cf15..47fa4b6b 100644 --- a/wizard/bertos_utils.py +++ b/wizard/bertos_utils.py @@ -56,6 +56,8 @@ def createBertosProject(projectInfo): string = open(sourcesDir + "/" + key, "r").read() for parameter, infos in value.items(): value = infos["value"] + if "type" in infos["informations"] and infos["informations"]["type"] == "autoenabled": + value = "1" if "unsigned" in infos["informations"].keys() and infos["informations"]["unsigned"]: value += "U" if "long" in infos["informations"].keys() and infos["informations"]["long"]: