The BT Link Layer needs to get runtime in a timely manner to keep connections alive and handle other time-critical tasks. This is achieved by adding a separate thread for it with a meta-IRQ priority, which means it can preempt other threads. The driver also has an RX thread that passes HCI messages from the controller to the host stack. This can be a lower priority cooperative thread, as it doesn't have strict timing requirements. Signed-off-by: Kalle Kietäväinen <kalle.kietavainen@silabs.com>
25 lines
634 B
Text
25 lines
634 B
Text
# SPDX-License-Identifier: Apache-2.0
|
|
# Copyright (c) 2017 Christian Taedcke
|
|
|
|
rsource "*/Kconfig.defconfig"
|
|
|
|
if SOC_FAMILY_SILABS_S0 || SOC_FAMILY_SILABS_S1 || SOC_FAMILY_SILABS_S2
|
|
|
|
config SOC_GECKO_EMU
|
|
default y
|
|
select SOC_GECKO_CORE
|
|
depends on PM
|
|
|
|
config CORTEX_M_SYSTICK
|
|
default n if GECKO_BURTC_TIMER
|
|
|
|
# With sl_power_manager, pm_state_set()'s stack footrpting is noticeably
|
|
# large, especially with logs enabled. Since it is called from IDLE task,
|
|
# its stack size has to be increased
|
|
config IDLE_STACK_SIZE
|
|
default 512 if SOC_GECKO_PM_BACKEND_PMGR
|
|
|
|
configdefault NUM_METAIRQ_PRIORITIES
|
|
default 1 if BT_SILABS_EFR32
|
|
|
|
endif
|