chore: Add sdkconfig.sample with placeholders, gitignore sdkconfig

Prevents WiFi credentials from being committed. Copy sdkconfig.sample
to sdkconfig and fill in SSID/password before building.
This commit is contained in:
user
2026-02-04 15:37:08 +01:00
parent 18933ea778
commit 0c1a0ccc7f
2 changed files with 4 additions and 2 deletions

1
.gitignore vendored
View File

@@ -1,6 +1,7 @@
build/
managed_components/
dependencies.lock
sdkconfig
sdkconfig.old
*.pyc
__pycache__/

View File

@@ -436,6 +436,7 @@ CONFIG_PARTITION_TABLE_MD5=y
#
CONFIG_CSI_UDP_TARGET_IP="192.168.129.11"
CONFIG_CSI_UDP_TARGET_PORT=5500
CONFIG_CSI_CMD_PORT=5501
# end of CSI UDP Configuration
#
@@ -448,8 +449,8 @@ CONFIG_ENV_GPIO_OUT_RANGE_MAX=33
CONFIG_EXAMPLE_CONNECT_WIFI=y
# CONFIG_EXAMPLE_WIFI_SSID_PWD_FROM_STDIN is not set
CONFIG_EXAMPLE_PROVIDE_WIFI_CONSOLE_CMD=y
CONFIG_EXAMPLE_WIFI_SSID="myssid"
CONFIG_EXAMPLE_WIFI_PASSWORD="mypassword"
CONFIG_EXAMPLE_WIFI_SSID="your-ssid-here"
CONFIG_EXAMPLE_WIFI_PASSWORD="your-password-here"
CONFIG_EXAMPLE_WIFI_CONN_MAX_RETRY=6
# CONFIG_EXAMPLE_WIFI_SCAN_METHOD_FAST is not set
CONFIG_EXAMPLE_WIFI_SCAN_METHOD_ALL_CHANNEL=y