From ac7a0c86abae979aa6ef8296e79b7b1f7a2db628 Mon Sep 17 00:00:00 2001 From: Alex Tsitsiura Date: Thu, 28 Sep 2023 14:34:19 +0300 Subject: [PATCH 1/2] [Telink] Disable not used shell modules --- config/telink/chip-module/Kconfig.defaults | 44 ++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/config/telink/chip-module/Kconfig.defaults b/config/telink/chip-module/Kconfig.defaults index d8312e18c62f3e..c0fe47567fdf53 100644 --- a/config/telink/chip-module/Kconfig.defaults +++ b/config/telink/chip-module/Kconfig.defaults @@ -47,6 +47,9 @@ endif config SHELL default y if CHIP_LIB_SHELL +config SHELL_STACK_SIZE + default 1024 + config PTHREAD_IPC bool default n @@ -261,4 +264,45 @@ config OPENTHREAD_EXTERNAL_HEAP config GETOPT_LONG default y +# Disable not used shell modules + +config SHELL_WILDCARD + default n + +config SHELL_VT100_COLORS + default n + +config SHELL_STATS + default n + +config KERNEL_SHELL + default n + +config SENSOR_SHELL + default n + +config DEVICE_SHELL + default n + +config DATE_SHELL + default n + +config DEVMEM_SHELL + default n + +config MCUBOOT_SHELL + default n + +config FLASH_SHELL + default n + +config HWINFO_SHELL + default n + +config PWM_SHELL + default n + +config OPENTHREAD_SHELL + default n + endif From ffc40e8ca6aa799c42aa04d4aabe8288050dc974 Mon Sep 17 00:00:00 2001 From: Alex Tsitsiura Date: Fri, 29 Sep 2023 12:58:11 +0300 Subject: [PATCH 2/2] [Telink] restore default shell stack size after tests with light-switch --- config/telink/chip-module/Kconfig.defaults | 3 --- 1 file changed, 3 deletions(-) diff --git a/config/telink/chip-module/Kconfig.defaults b/config/telink/chip-module/Kconfig.defaults index c0fe47567fdf53..9933e961ffbfb5 100644 --- a/config/telink/chip-module/Kconfig.defaults +++ b/config/telink/chip-module/Kconfig.defaults @@ -47,9 +47,6 @@ endif config SHELL default y if CHIP_LIB_SHELL -config SHELL_STACK_SIZE - default 1024 - config PTHREAD_IPC bool default n