diff options
| author | armink <[email protected]> | 2018-07-12 18:37:51 +0800 |
|---|---|---|
| committer | armink <[email protected]> | 2018-07-13 10:02:27 +0800 |
| commit | e9c165034e7b3e69f61aea89a662e3e448e5c49f (patch) | |
| tree | ca21d463c1406194fc7ba6bbc6aaab27e413c285 /src/Kconfig | |
| parent | 60435316ac40c84faa734333870068ba9522e6b2 (diff) | |
[kernel][idle] Add idle hook list.
Diffstat (limited to 'src/Kconfig')
| -rw-r--r-- | src/Kconfig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/Kconfig b/src/Kconfig index 89f709478b..dc27e162f0 100644 --- a/src/Kconfig +++ b/src/Kconfig @@ -75,6 +75,15 @@ config RT_USING_HOOK Enable the hook function when system running, such as idle thread hook, thread context switch etc. + if RT_USING_HOOK + config RT_IDEL_HOOK_LIST_SIZE + int "The max size of idel hook list" + default 4 + range 1 16 + help + The system has a hook list. This is the hook list size. + endif + config IDLE_THREAD_STACK_SIZE int "The stack size of idle thread" default 256 |
