X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=wizard%2Fbertos_utils.py;h=0f0dc709bcd5e4041509fedd0a7d8a258479769b;hb=89d8669f1af6548342b6137479da16fdc71917ba;hp=b927ec48e1e46906c77b730a0f2e7f5fafef638d;hpb=0676a7451f0fd727af3c17350f6abbde825b4e3b;p=bertos.git diff --git a/wizard/bertos_utils.py b/wizard/bertos_utils.py index b927ec48..0f0dc709 100644 --- a/wizard/bertos_utils.py +++ b/wizard/bertos_utils.py @@ -38,5 +38,6 @@ def loadCpuInfos(path): execfile(directory + "/" + filename, {}, D) D["include"] = include include(definition[0], D) + D["CPU_NAME"] = definition[0].split(".")[0] cpuInfos.append(D) return cpuInfos