summaryrefslogtreecommitdiff
path: root/src/Kconfig
diff options
context:
space:
mode:
authorWayne Lin <[email protected]>2022-01-10 12:36:11 +0800
committerWayne Lin <[email protected]>2022-01-10 12:36:11 +0800
commit715eecd3eb6cfbbc95aba4fdf932db2e1a7698fb (patch)
tree111003eb53eaa4a789729792a622d2abfd602031 /src/Kconfig
parent6d2a7d00db2808f26b96efaebfa3aa18b6fd47b8 (diff)
parent5206f6504018d1e1978e1c547f6a5b782d505be5 (diff)
Merge branch 'master' of https://github.com/RT-Thread/rt-thread into nuvoton
# Conflicts: # bsp/nuvoton/nk-980iot/.config # bsp/nuvoton/nk-n9h30/.config # bsp/nuvoton/nk-rtu980/.config # bsp/nuvoton/numaker-iot-m487/.config # bsp/nuvoton/numaker-m2354/.config # bsp/nuvoton/numaker-pfm-m487/.config
Diffstat (limited to 'src/Kconfig')
-rw-r--r--src/Kconfig15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/Kconfig b/src/Kconfig
index 7c22752ed0..69edd20641 100644
--- a/src/Kconfig
+++ b/src/Kconfig
@@ -84,6 +84,11 @@ config RT_USING_HOOK
help
Enable the hook function when system running, such as idle thread hook,
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
bool "Enable IDLE Task hook"
@@ -130,6 +135,16 @@ menu "kservice optimization"
bool "Enable kservice to use standard C library"
default n
+ if RT_KSERVICE_USING_STDLIB
+ config RT_KSERVICE_USING_STDLIB_MEMCPY
+ bool "Use memcpy to replace rt_memcpy (faster, but not safe)"
+ default n
+
+ config RT_KSERVICE_USING_STDLIB_MEMSET
+ bool "Use memset to replace rt_memset (faster, but not safe)"
+ default n
+ endif
+
config RT_KSERVICE_USING_TINY_SIZE
bool "Enable kservice to use tiny size"
default n