同步操作将从 OneOS/OneOS 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
menu "Kernel"config OS_BOARD_SUPPORT_SMPbooldefault nchoiceprompt "The max size of kernel object name"default OS_NAME_MAX_15config OS_NAME_MAX_7bool "7"config OS_NAME_MAX_15bool "15"config OS_NAME_MAX_31bool "31"endchoiceconfig OS_NAME_MAXintdefault 7 if OS_NAME_MAX_7default 15 if OS_NAME_MAX_15default 31 if OS_NAME_MAX_31menu "SMP"depends on OS_BOARD_SUPPORT_SMPconfig OS_USING_SMPbool "Enable SMP"default nconfig OS_SMP_MAX_CPUSint "Enable SMP max cpus"depends on OS_USING_SMPrange 1 4default 4choiceprompt "SMP Schedule Strategy"default OS_SCHED_STRATEGY_SKIP_IPI_SETdepends on OS_USING_SMPconfig OS_SCHED_STRATEGY_SKIP_IPI_SETbool "os sched strategy by skipping ipi alread set"if OS_SCHED_STRATEGY_SKIP_IPI_SETconfig OS_SCHED_SECONDARY_FOUNDbool "Enable sched secondary found."default yhelpThe current task (the task is still ready) is preempted to find a CPU to run againendifconfig OS_SCHED_STRATEGY_ALL_IPI_SETbool "os sched strategy by setting all suitable ipis"endchoiceendmenumenu "Task"choiceprompt "The max level value of priority of task"default OS_TASK_PRIORITY_32config OS_TASK_PRIORITY_8bool "8"config OS_TASK_PRIORITY_16bool "16"config OS_TASK_PRIORITY_32bool "32"config OS_TASK_PRIORITY_64bool "64"config OS_TASK_PRIORITY_128bool "128"config OS_TASK_PRIORITY_256bool "256"endchoiceconfig OS_TASK_PRIORITY_MAXintdefault 8 if OS_TASK_PRIORITY_8default 16 if OS_TASK_PRIORITY_16default 32 if OS_TASK_PRIORITY_32default 64 if OS_TASK_PRIORITY_64default 128 if OS_TASK_PRIORITY_128default 256 if OS_TASK_PRIORITY_256config OS_TICK_PER_SECONDint "Tick frequency(Hz)"range 10 1000default 100helpSystem's tick frequency(Hz).config OS_SCHEDULE_TIME_SLICEint "Task time slice(unit: tick)"range 1 100default 10config OS_SYS_TASK_STACK_SIZEint "The stack size of sys task"default 2048config OS_IDLE_TASK_STACK_SIZEint "The stack size of idle task"default 512config OS_RECYCLE_TASK_STACK_SIZEint "The stack size of recycle task"default 512endmenumenu "Timer"config OS_USING_KERNEL_TIMERbool "Enable kernel timer"default yhelpThe kernel timerif OS_USING_KERNEL_TIMERchoiceprompt "Select the kernel timer solution"default OS_USING_HASH_BUCKET_TIMERconfig OS_USING_HASH_BUCKET_TIMERbool "Hash bucket timer"if OS_USING_HASH_BUCKET_TIMERconfig OS_TIMER_TASK_STACK_SIZEint "The stack size of timer task"default 512config OS_HASH_BUCKET_TIMER_POWERint "The timer list power"range 0 5default 3helpThe timer list power indicate the number of timer buckets.For example: 0-->1 1-->2 2-->4 3-->8 4-->16 5-->32.config OS_HASH_BUCKET_TIMER_SORTbool "Software timers in each hash bucket are sorted"default nendifconfig OS_USING_SINGLE_LIST_TIMERbool "Single list timer"if OS_USING_SINGLE_LIST_TIMERconfig OS_HARD_SINGLE_LIST_TIMERbool "Enable hard timer(tick sched)"default nconfig OS_SOFT_SINGLE_LIST_TIMERbool "Enable soft timer(task sched)"default yif OS_SOFT_SINGLE_LIST_TIMERconfig OS_TIMER_TASK_STACK_SIZEint "The stack size of timer task"default 512endifendifendchoiceendifendmenumenu "Log"config OS_USING_KERNEL_DEBUGbool "Enable kernel log"depends on OS_DEBUGdefault yif OS_USING_KERNEL_DEBUGchoiceprompt "The global log level of kernel"default KLOG_GLOBAL_LEVEL_WARNINGconfig KLOG_GLOBAL_LEVEL_ERRORbool "Error"config KLOG_GLOBAL_LEVEL_WARNINGbool "Warning"config KLOG_GLOBAL_LEVEL_INFObool "Infomation"config KLOG_GLOBAL_LEVEL_DEBUGbool "Debug"endchoiceconfig KLOG_GLOBAL_LEVELintdefault 0 if KLOG_GLOBAL_LEVEL_ERRORdefault 1 if KLOG_GLOBAL_LEVEL_WARNINGdefault 2 if KLOG_GLOBAL_LEVEL_INFOdefault 3 if KLOG_GLOBAL_LEVEL_DEBUGconfig KLOG_USING_COLORbool "Enable color log"default yhelpThe log will has different color by levelconfig KLOG_WITH_FUNC_LINEbool "Enable kernel log with function name and line number"default yendifendmenumenu "Debug"menu "Check"config OS_USING_OVERFLOW_CHECKbool "Using stack overflow checking"default yhelpEnable task stack overflow checking. The stack overflow is checking wheneach task switch.config OS_USING_INTERRUPT_STACK_OVERFLOW_CHECKbool "Using interrupt stack overflow checking"default nhelpEnable interrupt stack overflow checking. The interrupt stack overflow is checking wheneach interrupt exit.config OS_USING_TASK_HOOKbool "Using task hook"default nhelpAllows user to register hooks with task module.config OS_USING_ASSERTbool "Enable global assert"depends on OS_DEBUGdefault yconfig OS_USING_KERNEL_LOCK_CHECKbool "Enable kernel lock check"depends on OS_DEBUGselect OS_USING_ASSERTdefault yconfig OS_USING_SAFETY_MECHANISMbool "Enable function safety mechanism"select OS_USING_ASSERTselect OS_USING_OVERFLOW_CHECKdefault nendmenu # checkmenu "CPU monitor"config OS_USING_CPU_MONITORbool "Monitor CPU usage"select OS_USING_TASK_HOOKselect OS_TASK_SWITCH_NOTIFYdefault nhelpMonitor CPU usage over a period of time.endmenu # CPU monitorsource "$OS_ROOT/kernel/source/debug/mem_monitor/Kconfig"menu "Stack trace"config STACK_TRACE_ENbool "Stack back trace enable"default nif STACK_TRACE_ENconfig EXC_DUMP_STACKbool "back trace dump stack"default nconfig TASK_STACK_OVERFLOW_STACK_SIZEint "The stack overflow back trace size"default 256config CALL_BACK_TRACE_MAX_DEPTHint "The stack back trace max depth"default 10endifendmenu # stack traceendmenumenu "IPC"menu "IPC Trace & Hook"config OS_USING_IPC_TRACEbool "Enable IPC Trace"default nselect OS_USING_IPC_HOOKconfig OS_IPC_TRACE_ITEM_NUMint "Maximum IPC Trace item"depends on OS_USING_IPC_TRACEdefault 10config OS_USING_IPC_HOOKbool "Enable IPC Hook"default nendmenu # IPC Trace & Hookmenu "Event"config OS_USING_EVENTbool "Enable event flag"default yendmenu # Eventmenu "Mailbox"config OS_USING_MAILBOXbool "Enable mailbox"default yendmenu # mailboxmenu "Message queue"config OS_USING_MESSAGEQUEUEbool "Enable message queue"default yendmenu # MQmenu "Mutex"config OS_USING_MUTEXbool "Enable mutex"default yendmenu # mutexmenu "Workqueue"config OS_USING_WORKQUEUEbool "Enable workqueue"depends on OS_USING_KERNEL_TIMERdefault yif OS_USING_WORKQUEUEconfig OS_USING_SYSTEM_WORKQUEUEbool "Enable system workqueue"default yif OS_USING_SYSTEM_WORKQUEUEconfig OS_SYSTEM_WORKQUEUE_STACK_SIZEint "System workqueue task stack size"default 2048config OS_SYSTEM_WORKQUEUE_PRIORITYint "System workqueue task priority level"default 0endifendifendmenu # workqueuemenu "Semaphore"config OS_USING_SEMAPHOREbool "Enable semaphore"default yconfig OS_SEM_WAIT_HOOKbool "Enable semaphore wait hook"depends on OS_USING_SEMAPHOREdefault nconfig OS_SEM_POST_HOOKbool "Enable semaphore post hook"depends on OS_USING_SEMAPHOREdefault nconfig OS_USING_SEM_TRACEbool "Enable Semaphore Trace"default ndepends on OS_USING_IPC_TRACEdepends on OS_USING_SEMAPHOREdepends on OS_USING_IPC_HOOKselect OS_SEM_WAIT_HOOKselect OS_SEM_POST_HOOKhelpWhether Enable Semaphore Traceconfig OS_SEM_TRACE_NUMint "Supported Maximum Semaphore Trace Number"depends on OS_USING_SEM_TRACEdefault 5endmenu # semaphoremenu "Spinlock"config OS_USING_SPINLOCK_CHECKbool "Enable spinlock check"default nendmenu # Spinlockendmenu # IPCmenu "Memory"menu "Memory-Heap"config OS_USING_HEAPbool "Enable Memory-Heap"default yhelpIndependent memory heap, Support combine multi memory together as one memory.The system memory heap is used for os_malloc/os_free.config OS_USING_ALG_FIRSTFITbool "Enable FIRSTFIT memory algorithm"default yhelpThis algorithm is suitable for all kinds of memory. For small memory, suggest choose this algorithm first.config OS_USING_ALG_BUDDYbool "Enable BUDDY memory algorithm"default nhelpThis algorithm is only suitable for large memory.if OS_USING_ALG_BUDDYconfig OS_ALG_BUDDY_MAX_BLOCK_SIZEint "Max block size when use buddy algorithm to alloc memory."range 512 1048576default 8192helpthe max block size when use allocte API to get a mem, should be the exponent of 2,for example 2048, 4096, 8192, ..., 524288.The max actual alloc size is OS_ALG_BUDDY_MAX_BLOCK_SIZE - BLK_HEAD_SIZEendifif OS_USING_ALG_FIRSTFIT || OS_USING_ALG_BUDDYconfig OS_USING_MEM_TRACEbool "Enable memory trace"default nhelpWhen enable OS_USING_MEM_TRACE with shell, developer can call cmd memtraceendifendmenu # Memory-Heapmenu "Memory-Pool"config OS_USING_MEM_POOLbool "Enable Memory-Pool"default yhelpSupport fixed-size-blocks alloctionif OS_USING_MEM_POOLconfig OS_USING_MP_CHECK_TAGbool "Enable Memory-Pool check tag"default nhelpwhen free memory, will check memory block tag.endifendmenu # Memory-Poolendmenu # Memoryendmenu
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。