projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lm3s1968: RIT128x96x4 OLED display driver.
[bertos.git]
/
wizard
/
const.py
diff --git
a/wizard/const.py
b/wizard/const.py
index c397b3b8efce6a48eed0ba874348a33d086bbc9b..3b6add0de74d5c77592669bc6e55c27a4d5911bf 100644
(file)
--- a/
wizard/const.py
+++ b/
wizard/const.py
@@
-33,6
+33,16
@@
# Author: Lorenzo Berni <duplo@develer.com>
#
# Author: Lorenzo Berni <duplo@develer.com>
#
+import os, sys
+
+_tmp = sys.argv[0]
+if os.path.islink(_tmp):
+ _tmp = os.readlink(_tmp)
+DATA_DIR = os.path.dirname(os.path.abspath(_tmp))
+del _tmp
+
+PREDEFINED_BOARDS_DIR = 'predefined_boards'
+
CPU_DEF = {
"CPU_NAME": "",
"CPU_DIR": "",
CPU_DEF = {
"CPU_NAME": "",
"CPU_DIR": "",
@@
-65,6
+75,8
@@
EXTENSION_FILTER = (
".cxx",
".h",
".c++",
".cxx",
".h",
".c++",
+ ".ld",
+ ".S",
".mk",
"Makefile",
)
".mk",
"Makefile",
)