mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-05-20 16:46:17 +08:00
22 lines
912 B
Plaintext
22 lines
912 B
Plaintext
menu "ESP HTTPS OTA"
|
|
|
|
config OTA_BUF_SIZE
|
|
int "Default OTA Buffer Size"
|
|
default 256
|
|
range 256 1460
|
|
help
|
|
Set OTA Buffer Size. The larger buffer size will read more size packet once and can reduce upgrade cost time.
|
|
This buffer size depends on CONFIG_HTTP_BUF_SIZE. If you want to enlarge ota buffer size, please also enlarge CONFIG_HTTP_BUF_SIZE.
|
|
OTA_BUF_SIZE equals to 1460 can save 40% upgrade time in contrast to OTA_BUF_SIZE which equals to 256.
|
|
|
|
config OTA_ALLOW_HTTP
|
|
bool "Allow HTTP for OTA (WARNING: ONLY FOR TESTING PURPOSE, READ HELP)"
|
|
default n
|
|
help
|
|
It is highly recommended to keep HTTPS (along with server certificate validation) enabled.
|
|
Enabling this option comes with potential risk of:
|
|
- Non-encrypted communication channel with server
|
|
- Accepting firmware upgrade image from server with fake identity
|
|
|
|
endmenu
|