/***************************************************************************//**
* @file
* @brief Bluetooth RTOS configuration
*******************************************************************************
* # 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.
*
******************************************************************************/
#ifndef SL_BT_RTOS_CONFIG_S2_H
#define SL_BT_RTOS_CONFIG_S2_H
// <<< Use Configuration Wizard in Context Menu >>>
// Priority Configuration for Bluetooth RTOS Tasks
// Bluetooth link layer task priority
// Default: 52 (CMSIS-RTOS2 osPriorityRealtime4)
// Define the priority of the Bluetooth link layer task. This must be a valid
// priority value from CMSIS-RTOS2 osPriority_t definition. The link layer
// task must have the highest priority in these three Bluetooth RTOS tasks.
#define SL_BT_RTOS_LINK_LAYER_TASK_PRIORITY (52)
// Bluetooth link layer task stack size in bytes
// Default: 1000
// Define the stack size of the Bluetooth link layer task. The value is in bytes
// and will be word aligned when it is applied at the task creation.
#define SL_BT_RTOS_LINK_LAYER_TASK_STACK_SIZE (1000)
// Bluetooth host stack task priority
// Default: 51 (CMSIS-RTOS2 osPriorityRealtime3)
// Define the priority of the Bluetooth host stack task. This must be a
// valid priority value from CMSIS-RTOS2 osPriority_t definition.
#define SL_BT_RTOS_HOST_STACK_TASK_PRIORITY (51)
// Bluetooth host stack task stack size in bytes
// Default: 2000
// Define the stack size of the Bluetooth host stack task. The value is in bytes
// and will be word aligned when it is applied at the task creation.
#define SL_BT_RTOS_HOST_STACK_TASK_STACK_SIZE (2000)
// Bluetooth event handler task priority
// Default: 50 (CMSIS-RTOS2 osPriorityRealtime2)
// Define the priority of the Bluetooth event handler task. This must be a
// valid priority value from CMSIS-RTOS2 osPriority_t definition. The event
// handler task must have the lowest priority in these three Bluetooth RTOS tasks.
// The event task is not created and this configuration is unused if the
// Bluetooth Event System IPC component is included in the application
#define SL_BT_RTOS_EVENT_HANDLER_TASK_PRIORITY (50)
// Bluetooth event handler task stack size in bytes
// Default: 1000
// Define the stack size of the Bluetooth event handler task. The value is in bytes
// and will be word aligned when it is applied at the task creation.
// The event task is not created and this configuration is unused if the
// Bluetooth Event System IPC component is included in the application
#define SL_BT_RTOS_EVENT_HANDLER_STACK_SIZE 1536
// End Priority Configuration for Bluetooth RTOS Tasks
// <<< end of configuration section >>>
#endif // SL_BT_RTOS_CONFIG_S2_H