Files
ESP-Scope/main/Kconfig
en a4133f3836
Some checks failed
Release Firmware / build (boards/default.h, 9, 2, esp32, esp32) (push) Failing after 5m55s
Release Firmware / build (boards/xiao_esp32c6.h, 0, 8, xiao-esp32c6, esp32c6) (push) Failing after 34s
Release Firmware / release (push) Has been skipped
add WiFi SSID/password and NVS erase options to menuconfig
2026-07-03 15:48:19 +08:00

54 lines
1.6 KiB
Plaintext

menu "espScope Configuration"
config LED_BUILTIN
int "LED IO Pin"
default 2
help
LED IO pin
config BSP_CONFIG_GPIO
int "Factory Reset Pin (GPIO)"
default 9
help
GPIO pin number to hold low on boot to erase NVS (Factory Reset).
Default is 9 (BOOT button on Seeed XIAO ESP32C6).
config BOARD_SPECIFIC_INIT
string "Name of file containing any board specific initialisation"
default "boards/default.h"
help
If your board requires some specific initialization C code, place it in
a file called "./boards/<your board name>.h" and set this to "./boards/your board name.h"
Default is boards/default.h which is empty.
config WIFI_ERASE_NVS
bool "Erase NVS WiFi config on boot"
default n
help
Enable to erase stored WiFi credentials from NVS at every boot.
Useful when you want to always use the credentials set in
menuconfig instead of previously saved ones.
config WIFI_CONFIGURE
bool "Configure WiFi credentials"
default n
help
Enable to set WiFi SSID and Password in menuconfig.
If disabled (default), device boots in SoftAP mode
for over-the-air provisioning.
config WIFI_SSID
string "WiFi SSID"
depends on WIFI_CONFIGURE
default ""
help
WiFi SSID for Station mode.
config WIFI_PASSWORD
string "WiFi Password"
depends on WIFI_CONFIGURE
default ""
help
WiFi password for the configured SSID.
endmenu