mirror of
https://gitlab.com/fabinfra/fabhardware/fabpel.git
synced 2025-03-13 07:01:45 +01:00
93 lines
2.3 KiB
Plaintext
93 lines
2.3 KiB
Plaintext
|
menu "FabLight Configuration"
|
||
|
|
||
|
config WIFI_SSID
|
||
|
string "WiFi SSID"
|
||
|
default "myssid"
|
||
|
help
|
||
|
SSID (network name) for the example to connect to.
|
||
|
|
||
|
config WIFI_PASSWORD
|
||
|
string "WiFi Password"
|
||
|
default "mypassword"
|
||
|
help
|
||
|
WiFi password (WPA or WPA2) for the example to use.
|
||
|
|
||
|
choice WIFI_SCAN_METHOD
|
||
|
prompt "scan method"
|
||
|
default WIFI_FAST_SCAN
|
||
|
help
|
||
|
scan method for the esp32 to use
|
||
|
|
||
|
config WIFI_FAST_SCAN
|
||
|
bool "fast"
|
||
|
config WIFI_ALL_CHANNEL_SCAN
|
||
|
bool "all"
|
||
|
endchoice
|
||
|
|
||
|
config BROKER_URI
|
||
|
string "Broker URL"
|
||
|
default "mqtts://mqtt.eclipseprojects.io:8883"
|
||
|
help
|
||
|
URL of an mqtt broker which this example connects to.
|
||
|
|
||
|
config BROKER_CERTIFICATE_OVERRIDE
|
||
|
string "Broker certificate override"
|
||
|
default ""
|
||
|
help
|
||
|
Please leave empty if broker certificate included from a textfile; otherwise fill in a base64 part of PEM
|
||
|
format certificate
|
||
|
|
||
|
config BROKER_CERTIFICATE_OVERRIDDEN
|
||
|
bool
|
||
|
default y if BROKER_CERTIFICATE_OVERRIDE != ""
|
||
|
|
||
|
config FABLIGHT_ID
|
||
|
int "FabLight ID"
|
||
|
default 1
|
||
|
help
|
||
|
Numerical ID of the FabLight device
|
||
|
|
||
|
config SEGMENT_COUNT
|
||
|
int "Segment count"
|
||
|
default 3
|
||
|
help
|
||
|
Number of different addressable segments
|
||
|
|
||
|
config SEGMENT_SIZE
|
||
|
int "Segment size"
|
||
|
default 2
|
||
|
help
|
||
|
Number of LEDs per segment
|
||
|
|
||
|
config PATTERN_TIME
|
||
|
int "Pattern time"
|
||
|
default 3000
|
||
|
help
|
||
|
Timebase for the patterns in milliseconds
|
||
|
|
||
|
config BLINK_COUNT
|
||
|
int "Blink count"
|
||
|
default 6
|
||
|
help
|
||
|
Number of blinks per pattern
|
||
|
|
||
|
config PIN_BUZZER
|
||
|
int "Buzzer pin"
|
||
|
default 21
|
||
|
help
|
||
|
GPIO pin number for the buzzer
|
||
|
|
||
|
config PIN_DEBUG_LED
|
||
|
int "Debug LED pin"
|
||
|
default 48
|
||
|
help
|
||
|
GPIO pin number for the debug LED
|
||
|
|
||
|
config PIN_SEGMENT_DATA
|
||
|
int "Segment data pin"
|
||
|
default 17
|
||
|
help
|
||
|
GPIO pin number for the segment data pin
|
||
|
|
||
|
endmenu
|