summaryrefslogtreecommitdiff
path: root/src/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'src/Kconfig')
-rw-r--r--src/Kconfig9
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