diff options
| author | Bernard Xiong <[email protected]> | 2018-07-14 15:20:59 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2018-07-14 15:20:59 +0800 |
| commit | b0dbdf428965bde01e3464978fec79e99ac4d55e (patch) | |
| tree | ccc54659bb42c180d1ab6d80d0b740e3045eee1c /src/Kconfig | |
| parent | bb5c3da74fcc585e9c6c7ec59c7d3533cbffa198 (diff) | |
| parent | d37c289b56fa1ea61c1371be9ea45ed71f63a663 (diff) | |
Merge pull request #1621 from armink/fix_idle_hook
[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 |
