######################### # This is aversive2 configuration menu GENERAL prompt "General configuration" config MATH_LIB prompt "Include Math lib" default n choice GENERAL_PRINTF_TYPE prompt "Printf type" default "standard" ---help--- Choose printf style. The minimal printf cannot handle floats. The advanced printf can, but it requires the math lib. Disable it if you don't use printf, you'll win some prog space. choiceconfig GENERAL_PRINTF_NONE prompt "none" choiceconfig GENERAL_PRINTF_MINIMAL prompt "minimal" choiceconfig GENERAL_PRINTF_STANDARD prompt "standard" choiceconfig GENERAL_PRINTF_ADVANCED prompt "advanced" endchoice # GENERAL_PRINTF_TYPE intconfig QUARTZ prompt "Quartz Frequency (Hz)" default 12000000 ---help--- Choose the speed of your target device. This frequency is specified in Hertz. strconfig EXTRA_CFLAGS prompt "Extra CFLAGS" default "" ---help--- These flags will be added when compiling sources. endmenu # GENERAL ######################### config MODULES prompt "Enable modules" default y ---help--- Enable modules ######################### if MODULES menu BASE prompt "Basic modules" ---help--- Contains basic modules config BASE_CIRBUF prompt 'Circular buffer' default y ---help--- This module provides a circular buffer implementation (fifo or lifo). config BASE_CIRBUF_LARGE prompt 'Large circular buffer' requires BASE_CIRBUF default n ---help--- Allow buffer larger than 127 menuconfig BASE_SCHEDULER prompt "Scheduler" ---help--- The 'scheduler' module is NOT a scheduler in the same way than in a multitask kernel. This module allow to schedule functions in the future (only a call, or periodical call). If CONFIG_MODULE_SCHEDULER_USE_TIMERS option is not enabled, the functions are called from TIMER0 interrupt, else you can choose which timer to use. This module is able to handle priority between events. config BASE_SCHEDULER_STATS prompt "Enable debug statistics" config BASE_SCHEDULER_CREATE_CONFIG prompt "Create Default scheduler config" choice BASE_SCHEDULER_MODE prompt "Scheduler mode" ---help--- Use either the hardware/timer module, the timer0 or a manual call for the to call the scheduler. The generic timer module support many archs and timers. If you don't enable it, you must use TIMER0 overflow interrupt, and only some AVR are supported, or you should can call the scheduler manually. In this case, the SCHEDULER_UNIT macro has to be defined in configuration file. choiceconfig BASE_SCHEDULER_MODE_MANUAL prompt "manual" choiceconfig BASE_SCHEDULER_MODE_USE_TIMERS prompt "timer_module" requires HW_TIMER choiceconfig BASE_SCHEDULER_MODE_USE_TIMER0 prompt "use_timer0" endchoice # BASE_SCHEDULER_MODE endmenuconfig # BASE_SCHEDULER endmenu # BASE ######################### source Kconfig2 endif # MODULES #########################