Add asrc, csrc, cxxsrc, cppasrc taken from the cpu definition in the makefile
[bertos.git] / wizard / const.py
1 #!/usr/bin/env python
2 # encoding: utf-8
3 #
4 # Copyright 2008 Develer S.r.l. (http://www.develer.com/)
5 # All rights reserved.
6 #
7 # $Id:$
8 #
9 # Author: Lorenzo Berni <duplo@develer.com>
10 #
11
12 CPU_DEF = {
13     "CPU_NAME": "",
14     "CPU_DIR": "",
15     "DEFINITION_PATH": "",
16     "TOOLCHAIN": "",
17     "CPU_TAGS": [],
18     "CPU_FLAG_NAME": "",
19     "CORE_CPU": "",
20     "SCRIPT_DIR": "",
21     "HW_DIR": "",
22     "DRV_DIR": "",
23     "C_FLAGS": [],
24     "CPPA_FLAGS" : [],
25     "CPP_FLAGS" : [],
26     "CPPA_FLAGS": [],
27     "CXX_FLAGS": [],
28     "AS_FLAGS": [],
29     "AR_FLAGS": [],
30     "LD_FLAGS" : [],
31     "CPPA_SRC" : [],
32     "CXX_SRC": [],
33     "ASRC": [],
34     "C_SRC": [],
35     "SUPPORTED_DRV" : [],
36     "PC_SRC" : [],
37     "CPU_DESC" : []
38 }
39
40 TOOLCHAIN_ITEMS = ("ld", "as")
41
42 CPU_DEFINITION = "*.cdef"
43
44 GCC_NAME = "*gcc*"
45
46 MODULE_CONFIGURATION = "cfg_*.h"
47
48 UI_LOCATION = "ui"
49
50 EXTENSION_FILTER = (
51     ".c",
52     ".cpp",
53     ".cxx",
54     ".h",
55     ".c++",
56     ".mk",
57     "Makefile",
58 )
59
60 MODULE_DEFINITION = {
61     "module_name": "module_name",
62     "module_configuration": "module_configuration",
63     "module_depends": "module_depends",
64     "module_harvard": "module_harvard",
65 }