Blame | Last modification | View Log | RSS feed
#
#
#
caption "Hartik4 (Lego) version 4.0pre1 - Configuration"
#file pippo.h
#dasf
#sdf
#sdf
#fd
#endfile
#
# Menu principale
#
menu main
title "Configuration Menu"
submenu "Makefile & Compiler " compiler
submenu "Low Level Layer " lowlevel
submenu "Generic Kernel Layer " kernel
submenu "Module Parameters " modules
submenu "POSIX constants & limits" posix
submenu "Drivers " drivers
submenu "File system " filesystem
submenu "Examples & tests " tests
endmenu
menu compiler
title "Makefile & Compiler options"
choice "Processor"
"i386/i486" CONFIG_CPU_I386
"pentium/K5" CONFIG_CPU_PENTIUM
"pentium II/K6/K6-2" CONFIG_CPU_PENTIUMII
endchoice
choice "Compiler"
"gcc" CONFIG_COMPILER_GCC
endchoice
switch CONFIG_COMPILER_GCC
case "y"
submenu " GCC compiler options" gcc_options
case "n"
endswitch
choice "Assembler"
"gcc" CONFIG_ASSEMBLER_GCC
endchoice
choice "Linker"
"ld" CONFIG_LINKER_LD
endchoice
switch CONFIG_LINKER_LD
case "y"
choice " Base text address"
"0x140000 no smartdrv, low memory" CONFIG_LD_NOSMARTDRV
"0x540000 smartdrv up to 4Mb" CONFIG_LD_4SMARTDRV
"0x940000 smartdrv up to 8Mb" CONFIG_LD_8SMARTDRV
endchoice
case "n"
endswitch
choice "Library manager"
"ar" CONFIG_LIBRARY_AR
endchoice
separator
choice "Host OS"
"MS-DOS" CONFIG_OS_MSDOS
"Linux" CONFIG_OS_LINUX
"Winbug 9x" CONFIG_OS_WIN
endchoice
#
# MS-DOS options
#
switch CONFIG_OS_MSDOS
case "y"
bool " use redir.exe" CONFIG_REDIR
choice " File management commands"
"DOS - like (copy, del, ...)" CONFIG_SYS_COPY
"Unix - like (cp, rm, ...)" CONFIG_SYS_CP
endchoice
case "n"
endswitch
#
# Linux options
#
#
# Win options
#
switch CONFIG_OS_WIN
case "y"
bool " Disinstall Windows before compiling LEGO" CONFIG_JOKE0
case "n"
endswitch
endmenu
menu lowlevel
range "Max number of tasks" TSSMax 1 256 100
range "cprintf() buffer size" MAX_CPRINT_BUF 16 1024 512
endmenu
menu kernel
range "Max number of exit functions" MAX_EXITFUNC 10 100 20
range "Default stack size (bytes)" STACK_SIZE 1024 65536 4096
range "JET entries per task" JET_TABLE_DIM 1 1024 20
range "Max task name characters (+1)" MAX_TASKNAME 2 255 20
separator
range "Max number of cancellation points" MAX_CANCPOINTS 10 1024 20
range "Max n. of signal interruptable points" MAX_SIGINTPOINTS 10 1024 20
endmenu
menu modules
range "Max number of Scheduling levels" MAX_SCHED_LEVEL 1 256 16
range "Max number of Resource levels" MAX_RES_LEVEL 1 256 8
separator
range "Max sched. level name characters (+1)" MAX_LEVELNAME 2 255 20
range "Max res. level name characters (+1)" MAX_MODULENAME 2 255 20
separator
range "Max number of init functions" MAX_INITFUNC 10 100 20
endmenu
menu posix
range "DELAYTIMER_MAX" DELAYTIMER_MAX 32 2147483648 32
range "MQ_OPEN_MAX" MQ_OPEN_MAX 8 1024 8
range "MQ_PRIO_MAX" MQ_PRIO_MAX 32 2147483648 32
range "PTHREAD_DESTRUCTOR_ITERATIONS" PTHREAD_DESTRUCTOR_ITERATIONS 4 128 4
range "PTHREAD_KEYS_MAX" PTHREAD_KEYS_MAX 128 1024 128
range "PTHREAD_STACK_MIN" PTHREAD_STACK_MIN 0 65536 4096
range "SEM_NSEMS_MAX" SEM_NSEMS_MAX 256 65536 256
range "SIGQUEUE_MAX" SIGQUEUE_MAX 32 1024 32
range "TIMER_MAX" TIMER_MAX 32 1024 32
#define NGROUPS_MAX _POSIX_NGROUPS_MAX
#define AIO_LISTIO_MAX _POSIX_AIO_LISTIO_MAX
#define AIO_MAX _POSIX_AIO_MAX
#define AIO_PRIO_DELTA_MAX 0
#define ARG_MAX _POSIX_ARG_MAX
#define CHILD_MAX _POSIX_CHILD_MAX
#define LOGIN_NAME_MAX _POSIX_LOGIN_NAME_MAX
#define OPEN_MAX _POSIX_OPEN_MAX
#define PAGESIZE 1
#define STREAM_MAX _POSIX_STREAM_MAX
#define TTY_NAME_MAX _POSIX_TTY_NAME_MAX
#define TZNAME_MAX _POSIX_TZNAME_MAX
#define LINK_MAX _POSIX_LINK_MAX
#define MAX_CANON _POSIX_MAX_CANON
#define MAX_INPUT _POSIX_MAX_INPUT
#define NAME_MAX _POSIX_NAME_MAX
#define PATH_MAX _POSIX_PATH_MAX
#define PIPE_BUF _POSIX_PIPE_BUF
#define SSIZE_MAX _POSIX_SSIZE_MAX
#define _POSIX_CLOCKRES_MIN 20000000L
endmenu
menu drivers
endmenu
menu filesystem
endmenu
menu tests
choice "Default kernel configuration"
"EDF+CBS+RR, NOP, NPP, PI, PC, SRP" CONFIG_TESTS_INIT_H3PIPS
"Posix" CONFIG_TESTS_INIT_POSIX
"None (built into the application)" CONFIG_TESTS_INIT_NONE
endchoice
separator
choice "RT clock (INT 0) programming"
"Periodic" CONFIG_TESTS_INIT_RTCLOCK_PERIODIC
"One shot" CONFIG_TESTS_INIT_RTCLOCK_ONESHOT
endchoice
switch CONFIG_TESTS_INIT_RTCLOCK_PERIODIC
case "y"
range " Default system tick (x100us)" CONFIG_TESTS_SYSTICK 1 200 3
case "n"
endswitch
range "RR Default timeslice (x100us)" CONFIG_TESTS_RRSLICE 10 2000 25
separator
bool "check when compiling test[1|2|3|9|B].c (mandatory)" __TEST1__
bool "check when compiling testG.c (optional)" TESTG
endmenu
menu gcc_options
title "GCC compiler options"
bool "-Wimplicit-function-declaration" CONFIG_GCC_W_IMPLICIT
bool "-Wall" CONFIG_GCC_W_ALL
endmenu