update Kconfig, add RT_HOOK_USING_FUNC_PTR

This commit is contained in:
guozhanxin 2022-01-05 13:58:11 +08:00 committed by Bernard Xiong
parent 576457b6f0
commit 0e5dd7d1ab
1 changed files with 5 additions and 0 deletions

View File

@ -84,6 +84,11 @@ config RT_USING_HOOK
help help
Enable the hook function when system running, such as idle thread hook, Enable the hook function when system running, such as idle thread hook,
thread context switch etc. thread context switch etc.
if RT_USING_HOOK
config RT_HOOK_USING_FUNC_PTR
bool "Using function pointers as system hook"
default y
endif
config RT_USING_IDLE_HOOK config RT_USING_IDLE_HOOK
bool "Enable IDLE Task hook" bool "Enable IDLE Task hook"