board/main/Kconfig.projbuild

149 lines
3.3 KiB
Plaintext
Raw Normal View History

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_PIN
int "encoder 0 click GPIO"
2023-02-24 21:29:15 +08:00
range 0 32
default 2
help
Encoder 0 clock pin
config ENCODER_0_DT_PIN
int "encoder 0 data GPIO"
2023-02-24 21:29:15 +08:00
range 0 32
default 3
help
Encoder 0 clock data
config ENCODER_0_SW_PIN
int "encoder 0 switch GPIO"
2023-02-24 21:29:15 +08:00
range 0 32
default 4
help
Encoder 0 switch pin
config ENCODER_1_CLK_PIN
int "encoder 1 click GPIO"
2023-02-24 21:29:15 +08:00
range 0 32
default 5
help
Encoder 1 clock pin
config ENCODER_1_DT_PIN
int "encoder 1 data GPIO"
2023-02-24 21:29:15 +08:00
range 0 32
default 6
help
Encoder 1 clock data
config ENCODER_1_SW_PIN
int "encoder 1 switch GPIO"
2023-02-24 21:29:15 +08:00
range 0 32
default 7
help
Encoder 1 switch pin
endmenu
menu "I2C Configuration"
config I2C_SCL
int "I2C SCL GPIO"
2023-02-24 21:29:15 +08:00
range 0 32
default 8
help
I2C SCL GPIO
config I2C_SDA
int "I2C SDA GPIO"
2023-02-24 21:29:15 +08:00
range 0 32
default 10
help
I2C SDA GPIO
config I2C_NUM
int "I2C NUM"
range 0 1
default 0
help
I2C NUM
2023-02-24 21:29:15 +08:00
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