mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
032a041395
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.4 KiB
Plaintext
43 lines
1.4 KiB
Plaintext
menu "Example Configuration"
|
|
|
|
config EXAMPLE_FIRMWARE_UPG_URL
|
|
string "Firmware Upgrade URL"
|
|
default "https://192.168.2.106:8070/hello-world.bin"
|
|
help
|
|
URL of server which hosts the firmware image.
|
|
|
|
config EXAMPLE_FIRMWARE_UPGRADE_URL_FROM_STDIN
|
|
bool
|
|
default y if EXAMPLE_FIRMWARE_UPG_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_GPIO_DIAGNOSTIC
|
|
int "Number of the GPIO input for diagnostic"
|
|
range 0 39
|
|
default 4
|
|
help
|
|
Used to demonstrate how a rollback works.
|
|
The selected GPIO will be configured as an input with internal pull-up enabled.
|
|
To trigger a rollback, this GPIO must be pulled low while the message
|
|
`Diagnostics (5 sec)...` which will be on first boot.
|
|
If GPIO is not pulled low then the operable of the app will be confirmed.
|
|
|
|
config EXAMPLE_OTA_RECV_TIMEOUT
|
|
int "OTA Receive Timeout"
|
|
default 5000
|
|
help
|
|
Maximum time for reception
|
|
|
|
endmenu
|