projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Parse the filename for find the cpu name
[bertos.git]
/
wizard
/
bertos_utils.py
diff --git
a/wizard/bertos_utils.py
b/wizard/bertos_utils.py
index b927ec48e1e46906c77b730a0f2e7f5fafef638d..0f0dc709bcd5e4041509fedd0a7d8a258479769b 100644
(file)
--- 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