fireflies/Kconfig
2025-10-30 01:17:31 +00:00

76 lines
1.7 KiB
Text

# birdsong fireflies lighting system
# Kconfig options
#
# Copyright (c) 2025 eden ariel and ember ana
# SPDX-License-Identifier: EUPL-1.2
menu "fireflies lighting system"
config FIREFLIES
bool "enable fireflies lighting system"
select REGENBOGENBAUM
default n
help
default n is for multi-image builds, enable to use!
config FIREFLIES_ARGB
bool "led strip support"
depends on LED_STRIP
default y if
help
use fireflies to control addressable RGB LEDs with the Zephyr LED strip API
config FIREFLIES_LED_API
bool "led api output"
depends on LED
default y
help
enable Zephyr LED API support
config FIREFLIES_DEFAULT_SYS_BRI
hex "default brightness for system scaling"
range 0x0 0xFF
default 0x86
help
default system brightness (all values scaled based on this)
config FIREFLIES_BACKSTAGE_STACK_SIZE
int "fireflies backstage stack size"
default 2048
help
stack size for fx engine and paint tasks
config FIREFLIES_BACKSTAGE_PRIO
int "fireflies backstage queue priority"
default 7
help
priority for fx engine and paint tasks
config FIREFLIES_FX_DEFAULT_BPM
int "default bpm"
range 50 300
default 150
help
default bpm to use for internal fx
config FIREFLIES_SETTINGS_STORAGE
bool "enable settings storage for fireflies"
depends on SETTINGS
default y
help
settings will be stored using the Zephyr settings API if enabled
config FIREFLIES_SETTINGS_DELAY_WRITE_MSEC
int "milliseconds to delay settings write"
default 180000
help
delays writes with a timer to prevent flash wear while adjusting settings
config FIREFLIES_SHELL
bool "shell integration for fireflies"
depends on SHELL
default y
help
provides shell integration for blinky lights
endmenu # "fireflies lighting system"