Make BWizard generic: now it can be used for both creating and editing projects
[bertos.git] / wizard / const.py
index 31b1c7cbbb95b3d1445f061ef0a0e88db1f33f98..454a76e44d3eb36362b3ca005d95ce00d435fde9 100644 (file)
@@ -14,7 +14,7 @@ CPU_DEF = {
     "CPU_DIR": "",
     "DEFINITION_PATH": "",
     "TOOLCHAIN": "",
-    "CPU_TAGS": "",
+    "CPU_TAGS": [],
     "CORE_CPU": "",
     "SCRIPT_DIR": "",
     "HW_DIR": "",
@@ -29,10 +29,29 @@ CPU_DEF = {
     "CPU_DESC" : []
 }
 
+TOOLCHAIN_ITEMS = ("ld", "as")
+
 CPU_DEFINITION = "*.cdef"
 
 GCC_NAME = "*gcc*"
 
 MODULE_CONFIGURATION = "cfg_*.h"
 
-UI_LOCATION = "ui"
\ No newline at end of file
+UI_LOCATION = "ui"
+
+EXTENSION_FILTER = (
+    ".c",
+    ".cpp",
+    ".cxx",
+    ".h",
+    ".c++",
+    ".mk",
+    "Makefile",
+)
+
+MODULE_DEFINITION = {
+    "module_name": "module_name",
+    "module_configuration": "module_configuration",
+    "module_depends": "module_depends",
+    "module_harvard": "module_harvard",
+}
\ No newline at end of file