projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Coding style fixes.
[bertos.git]
/
wizard
/
const.py
diff --git
a/wizard/const.py
b/wizard/const.py
index fd72ee81565c2fca70a711802f2b12bfcf63230b..3b6add0de74d5c77592669bc6e55c27a4d5911bf 100644
(file)
--- a/
wizard/const.py
+++ b/
wizard/const.py
@@
-33,33
+33,30
@@
# 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": "",
"DEFINITION_PATH": "",
"TOOLCHAIN": "",
"CPU_TAGS": [],
CPU_DEF = {
"CPU_NAME": "",
"CPU_DIR": "",
"DEFINITION_PATH": "",
"TOOLCHAIN": "",
"CPU_TAGS": [],
- "CPU_FLAG_NAME": "",
- "CORE_CPU": "",
- "SCRIPT_DIR": "",
- "HW_DIR": "",
- "DRV_DIR": "",
- "C_FLAGS": [],
- "CPPA_FLAGS" : [],
- "CPP_FLAGS" : [],
- "CPPA_FLAGS": [],
- "CXX_FLAGS": [],
- "AS_FLAGS": [],
- "AR_FLAGS": [],
- "LD_FLAGS" : [],
"CPPA_SRC" : [],
"CXX_SRC": [],
"ASRC": [],
"C_SRC": [],
"CPPA_SRC" : [],
"CXX_SRC": [],
"ASRC": [],
"C_SRC": [],
- "SUPPORTED_DRV" : [],
"PC_SRC" : [],
"CPU_DESC" : [],
"PC_SRC" : [],
"CPU_DESC" : [],
- "CPU_DEFAULT_FREQ": "1000000"
+ "CPU_DEFAULT_FREQ": "1000000",
+ "GDB_INIT_SCRIPT": "",
}
TOOLCHAIN_ITEMS = ("ld", "as")
}
TOOLCHAIN_ITEMS = ("ld", "as")
@@
-78,6
+75,8
@@
EXTENSION_FILTER = (
".cxx",
".h",
".c++",
".cxx",
".h",
".c++",
+ ".ld",
+ ".S",
".mk",
"Makefile",
)
".mk",
"Makefile",
)
@@
-95,4
+94,6
@@
MODULE_DEFINITION = {
"module_harvard": "module_harvard",
"module_hw": "module_hw",
"module_supports": "module_supports",
"module_harvard": "module_harvard",
"module_hw": "module_hw",
"module_supports": "module_supports",
-}
\ No newline at end of file
+}
+
+MK_PARAM_ID = "MK_"