Update to new kernel config; use cpu_relax().
[bertos.git] / wizard / const.py
index 0e4ea3cae6fdb654a58014d006f34e88a9a26879..454a76e44d3eb36362b3ca005d95ce00d435fde9 100644 (file)
 #
 
 CPU_DEF = {
-    "TOOLCHAIN": [],
+    "CPU_NAME": "",
+    "CPU_DIR": "",
+    "DEFINITION_PATH": "",
+    "TOOLCHAIN": "",
+    "CPU_TAGS": [],
     "CORE_CPU": "",
     "SCRIPT_DIR": "",
     "HW_DIR": "",
     "DRV_DIR": "",
+    "C_FLAGS": [],
     "CPPA_FLAGS" : [],
     "CPP_FLAGS" : [],
     "LD_FLAGS" : [],
@@ -24,8 +29,29 @@ CPU_DEF = {
     "CPU_DESC" : []
 }
 
+TOOLCHAIN_ITEMS = ("ld", "as")
+
 CPU_DEFINITION = "*.cdef"
 
 GCC_NAME = "*gcc*"
 
-MODULE_CONFIGURATION = "cfg_*.h"
\ No newline at end of file
+MODULE_CONFIGURATION = "cfg_*.h"
+
+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