62 lines
No EOL
1.2 KiB
Text
62 lines
No EOL
1.2 KiB
Text
# birdsong hardware support Kconfig
|
|
# Copyright (c) 2025 eden ariel and the birdsong team
|
|
|
|
# SPDX-License-Identifier: EUPL-1.2
|
|
|
|
if LVGL
|
|
|
|
configdefault LV_Z_FLUSH_THREAD_PRIORITY
|
|
default 5
|
|
configdefault LV_Z_FLUSH_THREAD
|
|
default y
|
|
|
|
endif # LVGL
|
|
|
|
if BT
|
|
configdefault BT_MAX_CONN
|
|
default 5
|
|
configdefault BT_MAX_PAIRED
|
|
default 5
|
|
|
|
choice BT_CTLR_TX_PWR
|
|
default BT_CTLR_TX_PWR_PLUS_3 if SOC_COMPATIBLE_NRF53X
|
|
default BT_CTLR_TX_PWR_PLUS_4 if SOC_COMPATIBLE_NRF52X
|
|
endchoice # BT_CTLR_TX_PWR
|
|
endif # BT
|
|
|
|
if BIRDSONG_HW_APP_SUPPORT
|
|
|
|
choice SCHED_ALGORITHM
|
|
default SCHED_SCALABLE
|
|
endchoice # SCHED_ALGORITHM
|
|
choice INPUT_MODE
|
|
default INPUT_MODE_THREAD
|
|
endchoice # INPUT_MODE
|
|
|
|
configdefault MAIN_STACK_SIZE
|
|
default 4096
|
|
configdefault SYSTEM_WORKQUEUE_STACK_SIZE
|
|
default 4096
|
|
|
|
endif # BIRDSONG_HW_APP_SUPPORT
|
|
|
|
if BIRDSONG_HW_ZMK
|
|
|
|
config ZMK_IDLE_TIMEOUT
|
|
int
|
|
default 180000
|
|
config ZMK_IDLE_SLEEP_TIMEOUT
|
|
int
|
|
default 1080000
|
|
|
|
endif # BIRDSONG_HW_ZMK
|
|
|
|
choice SETTINGS_BACKEND
|
|
default SETTINGS_ZMS if ZMS
|
|
endchoice # SETTINGS_BACKEND
|
|
|
|
if !MCUBOOT
|
|
choice MCUBOOT_BOOTLOADER_MODE
|
|
default MCUBOOT_BOOTLOADER_MODE_SINGLE_APP
|
|
endchoice # MCUBOOT_BOOTLOADER_MODE
|
|
endif # !MCUBOOT |