/*******************************************************************************
* @file
* @brief OpenThread RTOS configuration file.
*******************************************************************************
* # License
* Copyright 2024 Silicon Laboratories Inc. www.silabs.com
*******************************************************************************
*
* SPDX-License-Identifier: Zlib
*
* The licensor of this software is Silicon Laboratories Inc.
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising from the use of this software.
*
* Permission is granted to anyone to use this software for any purpose,
* including commercial applications, and to alter it and redistribute it
* freely, subject to the following restrictions:
*
* 1. The origin of this software must not be misrepresented; you must not
* claim that you wrote the original software. If you use this software
* in a product, an acknowledgment in the product documentation would be
* appreciated but is not required.
* 2. Altered source versions must be plainly marked as such, and must not be
* misrepresented as being the original software.
* 3. This notice may not be removed or altered from any source distribution.
*
******************************************************************************/
//-------- <<< Use Configuration Wizard in Context Menu >>> -----------------
//
// Priority Configuration for OpenThread RTOS Stack Task
// OpenThread stack task priority
// Default: 24 (CMSIS-RTOS2 osPriorityNormal)
// Defines OpenThread stack task priority. This must be a valid priority value
// from CMSIS-RTOS2 osPriority_t definition.
#define SL_OPENTHREAD_RTOS_STACK_TASK_PRIORITY (24)
//
// Priority Configuration for OpenThread App Task
// OpenThread task priority
// Default: 23 (CMSIS-RTOS2 osPriorityBelowNormal7)
// Defines OpenThread App task priority. This must be a valid priority value
// from CMSIS-RTOS2 osPriority_t definition.
#define SL_OPENTHREAD_RTOS_APP_TASK_PRIORITY (23)
//
// Priority Configuration for OpenThread RTOS Stack Task
// OpenThread serial task prority
// Default: 16 (CMSIS-RTOS2 osPriorityBelowNormal)
// Defines OpenThread serial task priority. This must be a valid priority value
// from CMSIS-RTOS2 osPriority_t definition.
#define SL_OPENTHREAD_RTOS_SERIAL_TASK_PRIORITY (16)
// OpenThread stack task stack size in bytes <1000-20000>
// Default: 4608
// Defines the stack size of the OpenThread RTOS stack task. The value is in bytes and
// and will be word aligned when it is applied at the task creation.
#ifndef SL_OPENTHREAD_STACK_TASK_MEM_SIZE
#if defined(_SILICON_LABS_32B_SERIES_3)
#define SL_OPENTHREAD_STACK_TASK_MEM_SIZE (6144)
#else
#define SL_OPENTHREAD_STACK_TASK_MEM_SIZE (4608)
#endif
#endif
// OpenThread app task stack size in bytes <1000-20000>
// Default: 4608
// Defines the stack size of the OpenThread RTOS app task. The value is in bytes and
// and will be word aligned when it is applied at the task creation.
#define SL_OPENTHREAD_APP_TASK_MEM_SIZE (4608)
// OpenThread serial task stack size in bytes <1000-20000>
// Default: 3072
// Defines the stack size of the OpenThread RTOS serial task. The value is in bytes and
// and will be word aligned when it is applied at the task creation.
#define SL_OPENTHREAD_SERIAL_TASK_MEM_SIZE (3072)
//
// Priority Configuration for OpenThread RTOS Stack Task
// OpenThread serial task prority
// Default: 16 (CMSIS-RTOS2 osPriorityBelowNormal)
// Defines OpenThread serial task priority. This must be a valid priority value
// from CMSIS-RTOS2 osPriority_t definition.
#define SL_OPENTHREAD_RTOS_SERIAL_TASK_PRIORITY (16)
//
// App Task
// Enable default App task
// Default: On
#define SL_OPENTHREAD_ENABLE_APP_TASK 0
//
// Serial task
// Enable Serial task
// Default: On
#define SL_OPENTHREAD_ENABLE_SERIAL_TASK (1)
//
// <<< end of configuration section >>>