From d2b67de6ded5fa500dc27ea63e12e8f49b50c0ca Mon Sep 17 00:00:00 2001 From: mkardous-silabs <84793247+mkardous-silabs@users.noreply.github.com> Date: Wed, 20 Apr 2022 16:24:10 -0400 Subject: [PATCH] [EFR32] Fix idle task overflow (#17560) * increase idle task stack * update idle stack --- examples/light-switch-app/efr32/include/FreeRTOSConfig.h | 2 +- examples/lighting-app/efr32/include/FreeRTOSConfig.h | 2 +- examples/lock-app/efr32/include/FreeRTOSConfig.h | 2 +- examples/ota-requestor-app/efr32/include/FreeRTOSConfig.h | 2 +- examples/persistent-storage/efr32/include/FreeRTOSConfig.h | 2 +- examples/pigweed-app/efr32/include/FreeRTOSConfig.h | 2 +- examples/shell/efr32/include/FreeRTOSConfig.h | 2 +- examples/window-app/efr32/include/FreeRTOSConfig.h | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/examples/light-switch-app/efr32/include/FreeRTOSConfig.h b/examples/light-switch-app/efr32/include/FreeRTOSConfig.h index f8d2c6a1500057..54d7b544fda0ff 100644 --- a/examples/light-switch-app/efr32/include/FreeRTOSConfig.h +++ b/examples/light-switch-app/efr32/include/FreeRTOSConfig.h @@ -178,7 +178,7 @@ See http://www.FreeRTOS.org/RTOS-Cortex-M3-M4.html. */ #define configUSE_PORT_OPTIMISED_TASK_SELECTION (0) #define configUSE_TICKLESS_IDLE_SIMPLE_DEBUG (1) /* See into vPortSuppressTicksAndSleep source code for explanation */ #define configMAX_PRIORITIES (56) -#define configMINIMAL_STACK_SIZE (140) /* Number of words to use for Idle and Timer stacks */ +#define configMINIMAL_STACK_SIZE (320) /* Number of words to use for Idle and Timer stacks */ #define configMAX_TASK_NAME_LEN (10) #define configUSE_16_BIT_TICKS (0) #define configIDLE_SHOULD_YIELD (1) diff --git a/examples/lighting-app/efr32/include/FreeRTOSConfig.h b/examples/lighting-app/efr32/include/FreeRTOSConfig.h index f8d2c6a1500057..54d7b544fda0ff 100644 --- a/examples/lighting-app/efr32/include/FreeRTOSConfig.h +++ b/examples/lighting-app/efr32/include/FreeRTOSConfig.h @@ -178,7 +178,7 @@ See http://www.FreeRTOS.org/RTOS-Cortex-M3-M4.html. */ #define configUSE_PORT_OPTIMISED_TASK_SELECTION (0) #define configUSE_TICKLESS_IDLE_SIMPLE_DEBUG (1) /* See into vPortSuppressTicksAndSleep source code for explanation */ #define configMAX_PRIORITIES (56) -#define configMINIMAL_STACK_SIZE (140) /* Number of words to use for Idle and Timer stacks */ +#define configMINIMAL_STACK_SIZE (320) /* Number of words to use for Idle and Timer stacks */ #define configMAX_TASK_NAME_LEN (10) #define configUSE_16_BIT_TICKS (0) #define configIDLE_SHOULD_YIELD (1) diff --git a/examples/lock-app/efr32/include/FreeRTOSConfig.h b/examples/lock-app/efr32/include/FreeRTOSConfig.h index 5c803ef4b2ae5f..a747d9a8b413ca 100644 --- a/examples/lock-app/efr32/include/FreeRTOSConfig.h +++ b/examples/lock-app/efr32/include/FreeRTOSConfig.h @@ -178,7 +178,7 @@ See http://www.FreeRTOS.org/RTOS-Cortex-M3-M4.html. */ #define configUSE_PORT_OPTIMISED_TASK_SELECTION (0) #define configUSE_TICKLESS_IDLE_SIMPLE_DEBUG (1) /* See into vPortSuppressTicksAndSleep source code for explanation */ #define configMAX_PRIORITIES (56) -#define configMINIMAL_STACK_SIZE (140) /* Number of words to use for Idle and Timer stacks */ +#define configMINIMAL_STACK_SIZE (320) /* Number of words to use for Idle and Timer stacks */ #define configMAX_TASK_NAME_LEN (10) #define configUSE_16_BIT_TICKS (0) #define configIDLE_SHOULD_YIELD (1) diff --git a/examples/ota-requestor-app/efr32/include/FreeRTOSConfig.h b/examples/ota-requestor-app/efr32/include/FreeRTOSConfig.h index 3d241f9a24ce0e..d53523b8dfd3bd 100644 --- a/examples/ota-requestor-app/efr32/include/FreeRTOSConfig.h +++ b/examples/ota-requestor-app/efr32/include/FreeRTOSConfig.h @@ -222,7 +222,7 @@ See http://www.FreeRTOS.org/RTOS-Cortex-M3-M4.html. */ #define configUSE_PORT_OPTIMISED_TASK_SELECTION (0) #define configUSE_TICKLESS_IDLE_SIMPLE_DEBUG (1) /* See into vPortSuppressTicksAndSleep source code for explanation */ #define configMAX_PRIORITIES (56) -#define configMINIMAL_STACK_SIZE (140) /* Number of words to use for Idle and Timer stacks */ +#define configMINIMAL_STACK_SIZE (320) /* Number of words to use for Idle and Timer stacks */ #define configMAX_TASK_NAME_LEN (10) #define configUSE_16_BIT_TICKS (0) #define configIDLE_SHOULD_YIELD (1) diff --git a/examples/persistent-storage/efr32/include/FreeRTOSConfig.h b/examples/persistent-storage/efr32/include/FreeRTOSConfig.h index 3b407f244d8d3e..3cfcff06588010 100644 --- a/examples/persistent-storage/efr32/include/FreeRTOSConfig.h +++ b/examples/persistent-storage/efr32/include/FreeRTOSConfig.h @@ -222,7 +222,7 @@ See http://www.FreeRTOS.org/RTOS-Cortex-M3-M4.html. */ #define configUSE_PORT_OPTIMISED_TASK_SELECTION (0) #define configUSE_TICKLESS_IDLE_SIMPLE_DEBUG (1) /* See into vPortSuppressTicksAndSleep source code for explanation */ #define configMAX_PRIORITIES (56) -#define configMINIMAL_STACK_SIZE (140) /* Number of words to use for Idle and Timer stacks */ +#define configMINIMAL_STACK_SIZE (320) /* Number of words to use for Idle and Timer stacks */ #define configMAX_TASK_NAME_LEN (10) #define configUSE_16_BIT_TICKS (0) #define configIDLE_SHOULD_YIELD (1) diff --git a/examples/pigweed-app/efr32/include/FreeRTOSConfig.h b/examples/pigweed-app/efr32/include/FreeRTOSConfig.h index 9bdc185ecffad9..6fc0a22c04a459 100644 --- a/examples/pigweed-app/efr32/include/FreeRTOSConfig.h +++ b/examples/pigweed-app/efr32/include/FreeRTOSConfig.h @@ -222,7 +222,7 @@ See http://www.FreeRTOS.org/RTOS-Cortex-M3-M4.html. */ #define configUSE_PORT_OPTIMISED_TASK_SELECTION (0) #define configUSE_TICKLESS_IDLE_SIMPLE_DEBUG (1) /* See into vPortSuppressTicksAndSleep source code for explanation */ #define configMAX_PRIORITIES (56) -#define configMINIMAL_STACK_SIZE (140) /* Number of words to use for Idle and Timer stacks */ +#define configMINIMAL_STACK_SIZE (320) /* Number of words to use for Idle and Timer stacks */ #define configMAX_TASK_NAME_LEN (10) #define configUSE_16_BIT_TICKS (0) #define configIDLE_SHOULD_YIELD (1) diff --git a/examples/shell/efr32/include/FreeRTOSConfig.h b/examples/shell/efr32/include/FreeRTOSConfig.h index 3b407f244d8d3e..3cfcff06588010 100644 --- a/examples/shell/efr32/include/FreeRTOSConfig.h +++ b/examples/shell/efr32/include/FreeRTOSConfig.h @@ -222,7 +222,7 @@ See http://www.FreeRTOS.org/RTOS-Cortex-M3-M4.html. */ #define configUSE_PORT_OPTIMISED_TASK_SELECTION (0) #define configUSE_TICKLESS_IDLE_SIMPLE_DEBUG (1) /* See into vPortSuppressTicksAndSleep source code for explanation */ #define configMAX_PRIORITIES (56) -#define configMINIMAL_STACK_SIZE (140) /* Number of words to use for Idle and Timer stacks */ +#define configMINIMAL_STACK_SIZE (320) /* Number of words to use for Idle and Timer stacks */ #define configMAX_TASK_NAME_LEN (10) #define configUSE_16_BIT_TICKS (0) #define configIDLE_SHOULD_YIELD (1) diff --git a/examples/window-app/efr32/include/FreeRTOSConfig.h b/examples/window-app/efr32/include/FreeRTOSConfig.h index af0b8ace973680..7d53432789f5b5 100644 --- a/examples/window-app/efr32/include/FreeRTOSConfig.h +++ b/examples/window-app/efr32/include/FreeRTOSConfig.h @@ -178,7 +178,7 @@ See http://www.FreeRTOS.org/RTOS-Cortex-M3-M4.html. */ #define configUSE_PORT_OPTIMISED_TASK_SELECTION (0) #define configUSE_TICKLESS_IDLE_SIMPLE_DEBUG (1) /* See into vPortSuppressTicksAndSleep source code for explanation */ #define configMAX_PRIORITIES (56) -#define configMINIMAL_STACK_SIZE (140) /* Number of words to use for Idle and Timer stacks */ +#define configMINIMAL_STACK_SIZE (320) /* Number of words to use for Idle and Timer stacks */ #define configMAX_TASK_NAME_LEN (10) #define configUSE_16_BIT_TICKS (0) #define configIDLE_SHOULD_YIELD (1)