2019-04-03 10:28:26 -04:00
|
|
|
menu "Example Configuration"
|
|
|
|
|
2019-05-09 10:43:06 -04:00
|
|
|
config EXAMPLE_FIRMWARE_UPGRADE_URL
|
2019-05-22 05:56:10 -04:00
|
|
|
string "Firmware Upgrade URL"
|
2021-07-05 02:33:56 -04:00
|
|
|
default "https://192.168.2.106:8070/hello_world.bin"
|
2019-04-03 10:28:26 -04:00
|
|
|
help
|
2019-05-22 05:56:10 -04:00
|
|
|
URL of server which hosts the firmware image.
|
|
|
|
|
2019-12-09 09:23:05 -05:00
|
|
|
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 02:56:27 -05:00
|
|
|
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 10:28:26 -04:00
|
|
|
endmenu
|