2019-04-03 19:58:26 +05:30
|
|
|
menu "Example Configuration"
|
|
|
|
|
2019-05-09 16:43:06 +02:00
|
|
|
config EXAMPLE_FIRMWARE_UPGRADE_URL
|
2019-05-22 17:56:10 +08:00
|
|
|
string "Firmware Upgrade URL"
|
2021-07-05 14:33:56 +08:00
|
|
|
default "https://192.168.2.106:8070/hello_world.bin"
|
2019-04-03 19:58:26 +05:30
|
|
|
help
|
2019-05-22 17:56:10 +08:00
|
|
|
URL of server which hosts the firmware image.
|
|
|
|
|
2019-12-09 19:53:05 +05:30
|
|
|
config EXAMPLE_FIRMWARE_UPGRADE_URL_FROM_STDIN
|
|
|
|
bool
|
|
|
|
default y if EXAMPLE_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
|
|
|
|
|
2021-02-02 13:26:27 +05:30
|
|
|
config EXAMPLE_ENABLE_PARTIAL_HTTP_DOWNLOAD
|
|
|
|
bool "Enable partial HTTP download"
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
This enables use of Range header in esp_https_ota component.
|
|
|
|
Firmware image will be downloaded over multiple HTTP requests.
|
|
|
|
|
|
|
|
config EXAMPLE_HTTP_REQUEST_SIZE
|
|
|
|
int "HTTP request size"
|
|
|
|
default MBEDTLS_SSL_IN_CONTENT_LEN
|
|
|
|
depends on EXAMPLE_ENABLE_PARTIAL_HTTP_DOWNLOAD
|
|
|
|
help
|
|
|
|
This options specifies HTTP request size. Number of bytes specified
|
|
|
|
in this option will be downloaded in single HTTP request.
|
2019-04-03 19:58:26 +05:30
|
|
|
endmenu
|