canfestival/canfestival.py
changeset 1738 d2e979738700
parent 1737 a39c2918c015
child 1739 ec153828ded2
equal deleted inserted replaced
1737:a39c2918c015 1738:d2e979738700
    75                 "var_name": "%s_%4.4x_%2.2x" % ("_".join(name.split()), index, subindex),
    75                 "var_name": "%s_%4.4x_%2.2x" % ("_".join(name.split()), index, subindex),
    76                 "location": "%s%s" % (SizeConversion[size], ".".join(map(str, current_location +
    76                 "location": "%s%s" % (SizeConversion[size], ".".join(map(str, current_location +
    77                                                                                 (index, subindex)))),
    77                                                                                 (index, subindex)))),
    78                 "description": "",
    78                 "description": "",
    79                 "children": []})
    79                 "children": []})
    80     return  {"name": name,
    80     return {"name": name,
    81              "type": LOCATION_CONFNODE,
    81             "type": LOCATION_CONFNODE,
    82              "location": ".".join([str(i) for i in current_location]) + ".x",
    82             "location": ".".join([str(i) for i in current_location]) + ".x",
    83              "children": entries
    83             "children": entries
    84     }
    84     }
    85 
    85 
    86 #--------------------------------------------------
    86 #--------------------------------------------------
    87 #                    SLAVE
    87 #                    SLAVE
    88 #--------------------------------------------------
    88 #--------------------------------------------------