board/main/Kconfig.projbuild

149 lines
3.4 KiB
Plaintext

menu "Display Ambient Light Configuration"
config NUMBER_OF_LEDS
int "Number of LEDs in the light strip"
range 1 65535
default 8
help
Number of LEDs in the light strip.
Used to define buffer bytes length.
endmenu
menu "Wi-Fi Configuration"
config WIFI_SSID
string "WiFi SSID"
default "Ivan"
help
SSID (network name) for the example to connect to.
config WIFI_PASSWORD
string "WiFi Password"
default "ivanli.cc"
help
WiFi password (WPA or WPA2) for the example to use.
config WIFI_MAXIMUM_RETRY
int "Maximum retry"
default 5
help
Set the Maximum retry to avoid station reconnecting to the AP unlimited when the AP is really inexistent.
choice WIFI_SCAN_AUTH_MODE_THRESHOLD
prompt "WiFi Scan auth mode threshold"
default ESP_WIFI_AUTH_OPEN
help
The weakest authmode to accept in the scan mode.
config WIFI_AUTH_OPEN
bool "OPEN"
config WIFI_AUTH_WEP
bool "WEP"
config WIFI_AUTH_WPA_PSK
bool "WPA PSK"
config WIFI_AUTH_WPA2_PSK
bool "WPA2 PSK"
config WIFI_AUTH_WPA_WPA2_PSK
bool "WPA/WPA2 PSK"
config WIFI_AUTH_WPA3_PSK
bool "WPA3 PSK"
config WIFI_AUTH_WPA2_WPA3_PSK
bool "WPA2/WPA3 PSK"
config WIFI_AUTH_WAPI_PSK
bool "WAPI PSK"
endchoice
endmenu
menu "MQTT Configuration"
config MQTT_BROKER_URL
string "Broker URL"
default "mqtt://mqtt.eclipseprojects.io"
help
URL of the broker to connect to
endmenu
menu "Encoder Configuration"
config ENCODER_0_CLK_PORT_IO
int "encoder 0 clock IO"
range 0 7
default 1
help
Encoder 0 clock io on PCA9555 port 1
config ENCODER_0_DT_PORT_IO
int "encoder 0 data IO"
range 0 7
default 2
help
Encoder 0 clock data
config ENCODER_0_SW_PORT_IO
int "encoder 0 switch IO"
range 0 7
default 0
help
Encoder 0 switch io on PCA9555 port 1
config ENCODER_1_CLK_PORT_IO
int "encoder 1 clock IO"
range 0 7
default 4
help
Encoder 1 clock io on PCA9555 port 1
config ENCODER_1_DT_PORT_IO
int "encoder 1 data IO"
range 0 7
default 5
help
Encoder 1 clock data
config ENCODER_1_SW_PORT_IO
int "encoder 1 switch IO"
range 0 7
default 3
help
Encoder 1 switch io on PCA9555 port 1
endmenu
menu "I2C Configuration"
config I2C_SCL
int "I2C SCL GPIO"
range 0 32
default 5
help
I2C SCL GPIO
config I2C_SDA
int "I2C SDA GPIO"
range 0 32
default 4
help
I2C SDA GPIO
config I2C_NUM
int "I2C NUM"
range 0 1
default 0
help
I2C NUM
endmenu
menu "UART Configuration"
config UART_TX
int "UART TX GPIO"
range 0 32
default 21
help
UART TX GPIO
config UART_RX
int "UART RX GPIO"
range 0 32
default 20
help
UART RX GPIO
config UART_NUM
int "UART NUM"
range 0 1
default 0
help
UART NUM
endmenu