example_test.py is added to test advanced_https_ota_example and native ota_example. Closes https://github.com/espressif/esp-idf/issues/4394
43 lines
1.2 KiB
Text
43 lines
1.2 KiB
Text
menu "Example 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.
|
|
|
|
config FIRMWARE_UPGRADE_URL
|
|
string "firmware upgrade url endpoint"
|
|
default "https://192.168.0.3:8070/hello-world.bin"
|
|
help
|
|
URL of server which hosts the firmware
|
|
image.
|
|
config EXAMPLE_FIRMWARE_UPGRADE_URL_FROM_STDIN
|
|
bool
|
|
default y if FIRMWARE_UPGRADE_URL = "FROM_STDIN"
|
|
|
|
config EXAMPLE_SKIP_COMMON_NAME_CHECK
|
|
bool "Skip server certificate CN fieldcheck"
|
|
default n
|
|
help
|
|
This allows you to skip the validation of OTA server certificate CN field.
|
|
|
|
config EXAMPLE_SKIP_VERSION_CHECK
|
|
bool "Skip firmware version check"
|
|
default n
|
|
help
|
|
This allows you to skip the firmware version check.
|
|
|
|
config EXAMPLE_OTA_RECV_TIMEOUT
|
|
int "OTA Receive Timeout"
|
|
default 5000
|
|
help
|
|
Maximum time for reception
|
|
|
|
endmenu
|