Skip to content

Commit

Permalink
changed 5k stack for main task
Browse files Browse the repository at this point in the history
  • Loading branch information
Thirsrin committed Aug 24, 2023
1 parent ca028bd commit 5a8b2b1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
4 changes: 2 additions & 2 deletions examples/platform/silabs/FreeRTOSConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -227,9 +227,9 @@ See http://www.FreeRTOS.org/RTOS-Cortex-M3-M4.html. */
#endif // DIC
#else // SL_WIFI
#if SL_CONFIG_OPENTHREAD_LIB == 1
#define configTOTAL_HEAP_SIZE ((size_t)(28 * 1024))
#define configTOTAL_HEAP_SIZE ((size_t)(29 * 1024))
#else
#define configTOTAL_HEAP_SIZE ((size_t)(26 * 1024))
#define configTOTAL_HEAP_SIZE ((size_t)(27 * 1024))
#endif // SL_CONFIG_OPENTHREAD_LIB
#endif // configTOTAL_HEAP_SIZE
#endif // configTOTAL_HEAP_SIZE
Expand Down
7 changes: 2 additions & 5 deletions examples/platform/silabs/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,8 @@
/**********************************************************
* Defines
*********************************************************/
#ifdef SL_WIFI
#define MAIN_TASK_STACK_SIZE (1024 * 8)
#else
#define MAIN_TASK_STACK_SIZE (1024)
#endif

#define MAIN_TASK_STACK_SIZE (1024 * 5)
#define MAIN_TASK_PRIORITY (configMAX_PRIORITIES - 1)

using namespace ::chip;
Expand Down

0 comments on commit 5a8b2b1

Please sign in to comment.