Add proper support for Babble illuminator LEDS

This commit is contained in:
Lorow
2025-04-13 21:22:52 +02:00
parent 9db29f0a01
commit 2aec0aaacd
10 changed files with 502 additions and 2652 deletions

View File

@@ -10,16 +10,25 @@ menu "OpenIris basic configuration"
GPIO number (IOxx) to blink on and off the LED.
Some GPIOs are used for other purposes (flash connections, etc.) and cannot be used to blink.
config SUPPORTS_EXTERNAL_LED_CONTROL
bool "Tick if your board supports the control of external IR leds (Project Babble)"
default false
help
GPIO number (IOxx) to the pin controlling the LEDs found on Babble boards.
config LED_C_PIN
int "Pin number of the pin controlling the external leds (Project Babble)"
range ENV_GPIO_RANGE_MIN ENV_GPIO_OUT_RANGE_MAX
default 1
help
GPIO number (IOxx) to the pin controlling the LEDs found on Babble boards.
config BLINK_PERIOD
int "Blink period in ms"
range 10 3600000
default 1000
help
Define the blinking period in milliseconds.
config ILLUMINATOR_PIN
int "Project Babble Illuminator Pin Number"
default 1
config WIRED_MODE
bool "WIred mode"