Subversion Repositories shark

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 pj 1
#
2
#
3
#
4
 
5
caption "Hartik4 (Lego) version 4.0pre1 - Configuration"
6
 
7
#file pippo.h
8
#dasf
9
#sdf
10
#sdf
11
#fd
12
#endfile
13
 
14
#
15
# Menu principale
16
#
17
 
18
menu main
19
title "Configuration Menu"
20
submenu "Makefile & Compiler     " compiler
21
submenu "Low Level Layer         " lowlevel
22
submenu "Generic Kernel Layer    " kernel
23
submenu "Module Parameters       " modules
24
submenu "POSIX constants & limits" posix
25
submenu "Drivers                 " drivers
26
submenu "File system             " filesystem
27
submenu "Examples & tests        " tests
28
endmenu
29
 
30
 
31
 
32
menu compiler
33
title "Makefile & Compiler options"
34
 
35
choice "Processor"
36
  "i386/i486"          CONFIG_CPU_I386
37
  "pentium/K5"         CONFIG_CPU_PENTIUM
38
  "pentium II/K6/K6-2" CONFIG_CPU_PENTIUMII
39
endchoice
40
 
41
choice "Compiler"
42
  "gcc"                CONFIG_COMPILER_GCC
43
endchoice
44
switch CONFIG_COMPILER_GCC
45
case "y"
46
  submenu "    GCC compiler options" gcc_options
47
case "n"
48
endswitch
49
 
50
choice "Assembler"
51
  "gcc"                CONFIG_ASSEMBLER_GCC
52
endchoice
53
 
54
choice "Linker"
55
  "ld"                 CONFIG_LINKER_LD
56
endchoice
57
switch CONFIG_LINKER_LD
58
case "y"
59
  choice "    Base text address"
60
    "0x140000 no smartdrv, low memory"  CONFIG_LD_NOSMARTDRV
61
    "0x540000 smartdrv up to 4Mb"       CONFIG_LD_4SMARTDRV
62
    "0x940000 smartdrv up to 8Mb"       CONFIG_LD_8SMARTDRV
63
  endchoice
64
case "n"
65
endswitch
66
 
67
choice "Library manager"
68
  "ar"                 CONFIG_LIBRARY_AR
69
endchoice
70
 
71
separator
72
 
73
choice "Host OS"
74
  "MS-DOS"    CONFIG_OS_MSDOS
75
  "Linux"     CONFIG_OS_LINUX
76
  "Winbug 9x" CONFIG_OS_WIN
77
endchoice
78
 
79
#
80
# MS-DOS options
81
#
82
switch CONFIG_OS_MSDOS
83
case "y"
84
  bool "    use redir.exe"   CONFIG_REDIR
85
 
86
  choice "    File management commands"
87
    "DOS  - like (copy, del, ...)" CONFIG_SYS_COPY
88
    "Unix - like (cp, rm, ...)"    CONFIG_SYS_CP
89
  endchoice
90
case "n"
91
endswitch
92
 
93
#
94
# Linux options
95
#
96
 
97
#
98
# Win options
99
#
100
switch CONFIG_OS_WIN
101
case "y"
102
  bool "    Disinstall Windows before compiling LEGO"   CONFIG_JOKE0
103
case "n"
104
endswitch
105
 
106
 
107
 
108
endmenu
109
 
110
menu lowlevel
111
range "Max number of tasks"                   TSSMax            1   256  100
112
range "cprintf() buffer size"                 MAX_CPRINT_BUF   16  1024  512
113
endmenu
114
 
115
menu kernel
116
range "Max number of exit functions"          MAX_EXITFUNC     10   100   20
117
range "Default stack size (bytes)"            STACK_SIZE     1024 65536 4096
118
range "JET entries per task"                  JET_TABLE_DIM     1  1024   20
119
range "Max task name characters (+1)"         MAX_TASKNAME      2   255   20
120
separator
121
range "Max number of cancellation points"     MAX_CANCPOINTS   10  1024   20
122
range "Max n. of signal interruptable points" MAX_SIGINTPOINTS 10  1024   20
123
endmenu
124
 
125
menu modules
126
range "Max number of Scheduling levels"       MAX_SCHED_LEVEL   1   256   16
127
range "Max number of Resource levels"         MAX_RES_LEVEL     1   256    8
128
separator
129
range "Max sched. level name characters (+1)" MAX_LEVELNAME     2   255   20
130
range "Max res. level name characters (+1)"   MAX_MODULENAME    2   255   20
131
separator
132
range "Max number of init functions"          MAX_INITFUNC     10   100   20
133
endmenu
134
 
135
menu posix
136
range "DELAYTIMER_MAX"                        DELAYTIMER_MAX 32 2147483648 32
137
range "MQ_OPEN_MAX"                           MQ_OPEN_MAX       8  1024    8
138
range "MQ_PRIO_MAX"                           MQ_PRIO_MAX    32 2147483648 32
139
range "PTHREAD_DESTRUCTOR_ITERATIONS"         PTHREAD_DESTRUCTOR_ITERATIONS 4 128 4
140
range "PTHREAD_KEYS_MAX"                      PTHREAD_KEYS_MAX 128 1024  128
141
range "PTHREAD_STACK_MIN"                     PTHREAD_STACK_MIN 0 65536 4096
142
range "SEM_NSEMS_MAX"                         SEM_NSEMS_MAX   256 65536  256
143
range "SIGQUEUE_MAX"                          SIGQUEUE_MAX     32  1024   32
144
range "TIMER_MAX"                             TIMER_MAX        32  1024   32
145
 
146
#define NGROUPS_MAX                             _POSIX_NGROUPS_MAX
147
#define AIO_LISTIO_MAX                          _POSIX_AIO_LISTIO_MAX
148
#define AIO_MAX                                 _POSIX_AIO_MAX
149
#define AIO_PRIO_DELTA_MAX                      0
150
#define ARG_MAX                                 _POSIX_ARG_MAX
151
#define CHILD_MAX                               _POSIX_CHILD_MAX
152
#define LOGIN_NAME_MAX                          _POSIX_LOGIN_NAME_MAX
153
#define OPEN_MAX                                _POSIX_OPEN_MAX
154
#define PAGESIZE                                1
155
#define STREAM_MAX                              _POSIX_STREAM_MAX
156
#define TTY_NAME_MAX                            _POSIX_TTY_NAME_MAX
157
#define TZNAME_MAX                              _POSIX_TZNAME_MAX
158
#define LINK_MAX                                _POSIX_LINK_MAX
159
#define MAX_CANON                               _POSIX_MAX_CANON
160
#define MAX_INPUT                               _POSIX_MAX_INPUT
161
#define NAME_MAX                                _POSIX_NAME_MAX
162
#define PATH_MAX                                _POSIX_PATH_MAX
163
#define PIPE_BUF                                _POSIX_PIPE_BUF
164
#define SSIZE_MAX                               _POSIX_SSIZE_MAX
165
#define _POSIX_CLOCKRES_MIN                     20000000L
166
endmenu
167
 
168
menu drivers
169
endmenu
170
 
171
menu filesystem
172
endmenu
173
 
174
menu tests
175
choice "Default kernel configuration"
176
  "EDF+CBS+RR, NOP, NPP, PI, PC, SRP"    CONFIG_TESTS_INIT_H3PIPS
177
  "Posix"                                CONFIG_TESTS_INIT_POSIX
178
  "None (built into the application)"    CONFIG_TESTS_INIT_NONE
179
endchoice
180
 
181
separator
182
choice "RT clock (INT 0) programming"
183
  "Periodic"                             CONFIG_TESTS_INIT_RTCLOCK_PERIODIC
184
  "One shot"                             CONFIG_TESTS_INIT_RTCLOCK_ONESHOT
185
endchoice
186
 
187
switch CONFIG_TESTS_INIT_RTCLOCK_PERIODIC
188
case "y"
189
  range "    Default system tick (x100us)"     CONFIG_TESTS_SYSTICK 1 200 3
190
case "n"
191
endswitch
192
 
193
range "RR Default timeslice (x100us)"    CONFIG_TESTS_RRSLICE 10 2000 25
194
 
195
separator
196
 
197
bool "check when compiling test[1|2|3|9|B].c (mandatory)"  __TEST1__
198
bool "check when compiling testG.c (optional)" TESTG
199
endmenu
200
 
201
 
202
 
203
menu gcc_options
204
title "GCC compiler options"
205
bool "-Wimplicit-function-declaration" CONFIG_GCC_W_IMPLICIT
206
bool "-Wall"                           CONFIG_GCC_W_ALL
207
endmenu
208
 
209