From 410fdf04dc5131d299824e9674bcee1e181a35a0 Mon Sep 17 00:00:00 2001 From: Mathieu Kardous Date: Wed, 20 Apr 2022 12:47:25 -0400 Subject: [PATCH 1/2] increase idle task stack --- 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 +- 7 files changed, 7 insertions(+), 7 deletions(-) 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) From ed4239c5878f64932fc4d18c7da92117941aec7f Mon Sep 17 00:00:00 2001 From: Mathieu Kardous Date: Wed, 20 Apr 2022 12:57:54 -0400 Subject: [PATCH 2/2] update idle stack --- examples/light-switch-app/efr32/include/FreeRTOSConfig.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)