Skip to content

Commit 48ca754

Browse files
[SL-UP] Raise TimerTask to the highest prio (#254) (project-chip#37276)
1 parent 58c6789 commit 48ca754

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

examples/platform/silabs/FreeRTOSConfig.h

+2-5
Original file line numberDiff line numberDiff line change
@@ -174,11 +174,8 @@ extern uint32_t SystemCoreClock;
174174

175175
/* Software timer related definitions. */
176176
#define configUSE_TIMERS (1)
177-
#ifdef SLI_SI917
177+
// Keep the timerTask at the highest prio as some of our stacks tasks leverage eventing with timers.
178178
#define configTIMER_TASK_PRIORITY (55) /* Highest priority */
179-
#else
180-
#define configTIMER_TASK_PRIORITY (40) /* Highest priority */
181-
#endif // SLI_SI917
182179
#define configTIMER_QUEUE_LENGTH (10)
183180
#define configTIMER_TASK_STACK_DEPTH (1024)
184181

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

315312
#ifndef configNUM_USER_THREAD_LOCAL_STORAGE_POINTERS
316-
#define configNUM_USER_THREAD_LOCAL_STORAGE_POINTERS 2
313+
#define configNUM_USER_THREAD_LOCAL_STORAGE_POINTERS 0
317314
#endif
318315

319316
#ifndef configNUM_SDK_THREAD_LOCAL_STORAGE_POINTERS

0 commit comments

Comments
 (0)