equal
deleted
inserted
replaced
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 #-------------------------------------------------- |