Skip to content

Commit

Permalink
[SL-UP] Raise TimerTask to the highest prio (project-chip#254) (proje…
Browse files Browse the repository at this point in the history
  • Loading branch information
jmartinez-silabs authored Jan 31, 2025
1 parent 58c6789 commit 48ca754
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions examples/platform/silabs/FreeRTOSConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -174,11 +174,8 @@ extern uint32_t SystemCoreClock;

/* Software timer related definitions. */
#define configUSE_TIMERS (1)
#ifdef SLI_SI917
// Keep the timerTask at the highest prio as some of our stacks tasks leverage eventing with timers.
#define configTIMER_TASK_PRIORITY (55) /* Highest priority */
#else
#define configTIMER_TASK_PRIORITY (40) /* Highest priority */
#endif // SLI_SI917
#define configTIMER_QUEUE_LENGTH (10)
#define configTIMER_TASK_STACK_DEPTH (1024)

Expand Down Expand Up @@ -313,7 +310,7 @@ standard names. */
/* Thread local storage pointers used by the SDK */

#ifndef configNUM_USER_THREAD_LOCAL_STORAGE_POINTERS
#define configNUM_USER_THREAD_LOCAL_STORAGE_POINTERS 2
#define configNUM_USER_THREAD_LOCAL_STORAGE_POINTERS 0
#endif

#ifndef configNUM_SDK_THREAD_LOCAL_STORAGE_POINTERS
Expand Down

0 comments on commit 48ca754

Please sign in to comment.