Choose PCSRC or CSRC compilation for harvard cpus
[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     "CORE_CPU": "",
19     "SCRIPT_DIR": "",
20     "HW_DIR": "",
21     "DRV_DIR": "",
22     "C_FLAGS": [],
23     "CPPA_FLAGS" : [],
24     "CPP_FLAGS" : [],
25     "LD_FLAGS" : [],
26     "CPPA_SRC" : [],
27     "SUPPORTED_DRV" : [],
28     "PC_SRC" : [],
29     "CPU_DESC" : []
30 }
31
32 TOOLCHAIN_ITEMS = ("ld", "as")
33
34 CPU_DEFINITION = "*.cdef"
35
36 GCC_NAME = "*gcc*"
37
38 MODULE_CONFIGURATION = "cfg_*.h"
39
40 UI_LOCATION = "ui"
41
42 EXTENSION_FILTER = (
43     ".c",
44     ".cpp",
45     ".cxx",
46     ".h",
47     ".c++",
48     ".mk",
49     "Makefile",
50 )
51
52 MODULE_DEFINITION = {
53     "module_name": "module_name",
54     "module_configuration": "module_configuration",
55     "module_depends": "module_depends",
56     "module_harvard": "module_harvard",
57 }