Konstantin Kondrashov
f339b3fc96
efuse(esp32): Deprecate esp_efuse_burn_new_values() & esp_efuse_write_random_key()
...
These functions were used only for esp32 in secure_boot and flash encryption.
Use idf efuse APIs instead of efuse regs.
2021-06-17 07:21:36 +08:00
Shubham Kulkarni
ab9e5d3ea4
advanced_https_ota: Remove check for CONFIG_BOOTLOADER_APP_ANTI_ROLLBACK for validating image.
...
Image should be validated even if CONFIG_BOOTLOADER_APP_ROLLBACK_ENABLE is enabled
2021-06-02 11:19:30 +00:00
Shubham Kulkarni
691e30e659
advanced_https_ota: Add example test for OTA with OpenSSL server with binary file aligned to 289 byte boundary
2021-04-21 20:57:58 +05:30
Chinmay Chhajed
3eaf78d462
advanced_https_ota: Added BLE GATTS code.
...
`advanced_https_ota` can run a minimal BLE GATT server while
downloading OTA update. Both NimBLE and Bluedroid stack can be used
here by configuring relevant options in menuconfig.
Signed-off-by: Chinmay Chhajed <chinmay.chhajed@espressif.com>
2021-04-20 15:34:53 +05:30
Shubham Kulkarni
0a395134d4
Split example_tests with Example_WIFI tag group into Example_OTA and Example_Protocols
2021-04-15 04:00:06 +00:00
Shubham Kulkarni
fb0beefefb
advanced_https_ota: Add example_test for partial HTTP download
2021-03-02 16:48:18 +05:30
Fu Hanxi
0146f258d7
style: format python files with isort and double-quote-string-fixer
2021-01-26 10:49:01 +08:00
yuanjm
7e17f64a2d
Make OTA example support keepalive
2021-01-22 06:56:28 +00:00
Shubham Kulkarni
4874f52d96
Update advanced_https_ota_example and native_ota_example to use esp_ota_abort in case of error
2020-12-03 14:49:55 +05:30
He Yin Ling
a908174c06
test: remove fake binary size check in example test:
...
the binary size check in example test was removed long time ago. Now we
have updated ttfw_idf to raise exception when performance standard is
not found. These fake performance check will be regarded as error.
Remove them now.
2020-11-24 17:53:33 +08:00
Chen Yu Dong
454edcc0a8
ci: all jobs use python3 by default
2020-11-19 03:27:58 +00:00
Shubham Kulkarni
cda61a87da
Update OTA example to demonstate anti_rollback feature
...
Add example_test for anti_rollback feature
2020-11-11 11:51:28 +00:00
Angus Gratton
66fb5a29bb
Whitespace: Automated whitespace fixes (large commit)
...
Apply the pre-commit hook whitespace fixes to all files in the repo.
(Line endings, blank lines at end of file, trailing whitespace)
2020-11-11 07:36:35 +00:00
Shubham Kulkarni
76860cc939
example_test.py: In ota example_test, open file in binary mode to avoid UnicodeDecodeError
2020-10-10 06:18:30 +00:00
Shubham Kulkarni
78356d1336
advanced_https_ota_example: Demonstrate use of init_complete_callback to set custom headers
2020-08-29 09:05:52 +00:00
Shubham Kulkarni
7d3618a86c
Update OTA README to mention advanced_https_ota example and add reference to API documentation of esp_https_ota component
...
Closes: https://github.com/espressif/esp-idf/issues/5487
2020-08-29 09:05:52 +00:00
Shubham Kulkarni
60fcf1bae6
Increase receive timeout in sdkconfig.ci to fix CI failures
2020-07-08 04:03:26 +00:00
Shubham Kulkarni
c287ca1363
example_test.py: Update OTA example tests to make it compatible with python3
2020-06-09 11:58:35 +00:00
Shubham Kulkarni
b1e29232ea
example_test.py: Override SimpleHTTPRequestHandler to catch broken pipe exception
2020-05-05 14:07:51 +05:30
Roland Dobai
15884eccf2
Add multi-target support for performance tests
2020-03-09 13:41:56 +01:00
Shubham Kulkarni
4d40f94168
OTA: Add fix in case of URL redirection and a test case of URL redirection
...
Closes https://github.com/espressif/esp-idf/issues/4780
2020-02-24 16:53:27 +05:30
Shubham Kulkarni
ba31458347
OTA: Fixed OTA with chunked servers and added example_test with chunked server
2020-02-05 11:56:37 +05:30
David Cermak
3f10c4af06
OTA: enable example builds for esp32s2 target
...
Closes IDF-1035
2020-01-29 15:20:42 +01:00
Shubham Kulkarni
032a041395
Bugfix for failing OTA example
...
example_test.py is added to test advanced_https_ota_example and native ota_example.
Closes https://github.com/espressif/esp-idf/issues/4394
2019-12-31 14:18:16 +05:30
David Cermak
31b2702387
esp_netif, examples: esp_netif_init() moved into ESP_ERROR_CHECK()
...
esp_netif_init() returns standard esp_err_t error code (unlike tcpip_adapter init), so shall be checked for the return value
Also to make the initialization code more consistent.
2019-12-17 09:07:49 +01:00
David Cermak
a49b934ef8
examples: protocol examples which use common connection component
...
updated to use esp_netif_init instead of tcpip_adapter in initialization code
2019-11-13 12:36:25 +01:00
Mahavir Jain
e1a6846ac3
examples/ota: disable WiFi power save mode for optimal performance
2019-11-04 12:15:19 +05:30
Mahavir Jain
de9549936d
examples: fix handle passed to esp_https_ota_is_complete_data_received
2019-11-04 12:15:19 +05:30
Angus Gratton
438d513a95
Merge branch 'master' into feature/esp32s2beta_merge
2019-09-16 16:18:48 +10:00
liu zhifu
003a9872b7
esp_wifi: wifi support new event mechanism
...
1. WiFi support new event mechanism
2. Update examples to use new event mechanism
2019-08-20 09:39:51 +00:00
Angus Gratton
6990a7cd54
Merge branch 'master' into feature/esp32s2beta_update
2019-08-19 15:03:43 +10:00
Hrudaynath Dhabe
53e7beb95b
esp_https_ota: Added error checking functionalities.
...
Current implimentation of esp_http_ota does not perform any error-checking in the data writing phase calls `esp_ota_get_next_update_partition()` irrespetive of the received state of the image. A few additional error checking mechanism have now been added inside the esp_https_ota which returns the control in case an invalid header is received and a wrapper to the function `esp_http_client_is_complete_data_received()` of `esp_http_client` has been added.
2019-08-15 21:10:00 +08:00
Angus Gratton
04ae56806c
Merge branch 'master' into feature/esp32s2beta_update
2019-08-08 15:26:58 +10:00
Angus Gratton
24d26fccde
Merge branch 'master' into feature/esp32s2beta_update
2019-08-08 13:44:24 +10:00
Anton Maklakov
afbaf74007
tools: Mass fixing of empty prototypes (for -Wstrict-prototypes)
2019-08-01 16:28:56 +07:00
Michael (XIAO Xufeng)
25ab8380c8
ci: support to build esp32s2beta simple examples
2019-07-08 09:16:06 +08:00
Renz Christian Bagaporo
6771eead80
examples: use new component registration api
2019-06-21 19:53:29 +08:00
suda-morris
1886d8d4ef
update ota examples to support both Wi-Fi and Ethernet
2019-05-22 17:56:10 +08:00
Roland Dobai
151f757912
Rename Kconfig options (examples)
2019-05-21 09:32:55 +02:00
Renz Christian Bagaporo
d214bb912f
examples: update with build system changes
2019-05-14 18:01:14 +08:00
Jitin George
64e3ab364e
examples/system/ota/advanced_https_ota: Add example for newly introduced APIs in esp_https_ota component
2019-05-02 12:29:29 +05:30