Marek Fiala
2c814ef2fa
feat(tools): Enforce utf-8 encoding with open() function
2024-12-27 17:12:21 +08:00
nilesh.kale
ea6e6cfcbd
feat: enabled configurable session resumption support in ota examples
...
This commit added config option to enable session ticket support
while performing ota. This helps in optimizing latency while
downloading ota over multiple HTTP requests.
closes https://github.com/espressif/esp-idf/issues/14783
2024-11-27 14:20:47 +05:30
Konstantin Kondrashov
4ace94342a
Merge branch 'ci/fix_pytest_otatool' into 'master'
...
fix(examples): Fix closing port in pytest_otatool
Closes IDFCI-2540
See merge request espressif/esp-idf!35117
2024-11-26 08:50:22 +08:00
Konstantin Kondrashov
724ed52209
fix(examples): Fix closing port in pytest_otatool
2024-11-22 07:32:25 +02:00
Frantisek Hrbata
1c92945f59
change(examples): switch examples to use a minimal build
...
Currently, several example dependencies rely on the fact that all
registered components are added to the build, along with components
specified in common requirements. This results in longer build times
because even unused components must be built. Switch all examples to use
idf_minimal_build to compile only the components actually required by
the example.
Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2024-11-20 20:14:40 +01:00
Frantisek Hrbata
ad15109daa
change(examples): explicitly specify component dependencies for examples
...
Currently, several examples do not explicitly state their component
dependencies, relying instead on the default behavior that includes all
registered components and commonly required ones in the build.
Explicitly adding component dependencies can reduce build time when
set(COMPONENTS main) is used.
Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2024-11-20 14:11:24 +01:00
Konstantin Kondrashov
97d150d69a
feat(app_update): OTA update bootloader, partition_table and other partitions
...
Passive app partition can be used as the staging partition where a new image is loaded.
Then copy it to the final partition.
Closes: https://github.com/espressif/esp-idf/issues/14195
Closes: https://github.com/espressif/esp-idf/issues/13824
2024-11-07 13:48:51 +02:00
Konstantin Kondrashov
949fc7f2c9
fix(examples): Fix pytest_otatool for C2
...
Test for C2 has to be run with flash_4mb
2024-10-29 11:59:52 +02:00
Mahavir Jain
44c6e49000
Merge branch 'feat/enable_otatool_support_for_c61' into 'master'
...
feat(ota): Added support of otatool for esp32c61
Closes IDF-11309
See merge request espressif/esp-idf!34072
2024-10-15 02:10:59 +08:00
hrushikesh.bhosale
66ebdd0b32
feat(ota): Added support of otatool for esp32c61
...
Enabled the test for esp32c61 for otatool
2024-10-10 14:48:16 +05:30
Konstantin Kondrashov
0592bb6888
fix(examples): Fix flash_enc_wifi test in pytest_simple_ota
2024-10-09 12:39:43 +03:00
Mahavir Jain
1e4ebabe9b
Merge branch 'feat/enable_ota_examples_for_c61' into 'master'
...
feat(ota): Enable support for OTA examples for c61
Closes IDF-10915
See merge request espressif/esp-idf!33270
2024-09-27 12:38:09 +08:00
hrushikesh.bhosale
7db2dfce67
feat(ota): Enable support for OTA examples for c61
...
Tested OTA examples on esp32c61 and added their support in their
corresponding README.mds
2024-09-26 11:28:41 +05:30
Konstantin Kondrashov
d11b958209
refactor(examples): Refactoring and clean up OTA tests
2024-09-25 09:45:08 +03:00
Mahavir Jain
02da65314b
Merge branch 'feat/adding_test_case_anti_rollback_and_flash_encryption' into 'master'
...
feat(ota): Added test for checking flash encryption and anti-rollback enabled
Closes IDF-9200
See merge request espressif/esp-idf!32951
2024-09-02 14:04:45 +08:00
hrushikesh.bhosale
99f0e1b526
feat(ota): Added test for checking flash encryption and anti-rollback enabled
...
Added test to check if flash encryption and anti-rollback enbaled
together. Added marked pytest.mark.flash_encryption to advanced OTA
test.
2024-08-30 14:11:33 +05:30
Mahavir Jain
44327e6887
Merge branch 'feat/enable_ota_example_for_c5' into 'master'
...
feat(ota): Checked the support of OTA for esp32c5
See merge request espressif/esp-idf!32673
2024-08-21 15:24:16 +08:00
hrushikesh.bhosale
ed4166a64c
feat(ota): Checked the support of OTA for esp32c5
...
Checked the support of OTA features for esp32c5, tested
examples and added the support in README.md file. Even
added the support in systems .build-test-rules.yml
2024-08-21 11:45:41 +05:30
nilesh.kale
214974b038
fix: update https server starting instructions in ota README
...
This commit updates sequence for methods of starting HTTPS servers
in ota README file.
2024-08-14 15:45:23 +05:30
zhanghaipeng
3e98408b92
docs(ble/bluedroid): Optimize documentation for BLE connection parameter updates
2024-08-06 11:17:46 +08:00
wanlei
3cf069c7d8
feat(esp32c61): disable unsupported build test
2024-07-16 16:06:19 +08:00
nilesh.kale
55bbd9c95a
feat: add config option under partition menu to support large size ota
...
This commit adds one more config option under partition table menu
to support large size image during ota
This also updates the default config for simple ota example.
2024-07-12 14:49:16 +05:30
laokaiyao
cb22b8aaf7
ci(esp32c5): enable c5 target test
2024-07-02 16:45:49 +08:00
Konstantin Kondrashov
668886842f
feat(all): Remove usage old log macros
2024-05-15 15:25:30 +08:00
nilesh.kale
553a117894
fix: Refactored script for initiating Python-based HTTPS server
...
This commit refactors the script responsible for starting a Python-based HTTPS server
to align with the latest Python version's requirements and best practices.
Closes https://github.com/espressif/esp-idf/issues/13575
2024-04-30 10:04:56 +05:30
Harshit Malpani
b7a8e6102f
docs: Update pre_encrypted_ota example README
...
Update pre_encrytped_ota example README to clarify the difference
between Flash Encryption and Pre-encrypted OTA
2024-04-23 12:15:19 +05:30
zhiweijian
b9a1756202
fix(ble/bluedroid): Remove BLE functions discard declaration
...
fix(nt/bluedroid): Split the device name set functions
feat(bt/bluedroid): added APIs to get/set device name on BT GAP side
change(bt/common): Marked some APIs in device module as deprecated
1. esp_bt_dev_set_device_name
2. esp_bt_dev_get_device_name
change(bt/bluedroid): use BT GAP APIs to set/get device name in bluetooth classic examples
change(bt/bluedroid): use BT/BLE GAP APIs to set/get device name in coexist examples
2024-04-18 15:53:54 +08:00
zhiweijian
5725595d84
fix(ble/bluedroid): Remove esp_bluedroid_init() discard declaration
2024-04-18 15:53:30 +08:00
laokaiyao
65b1fd33d3
ci(esp32c5mp): disable the unsupported tests
2024-04-07 12:13:29 +08:00
Harshit Malpani
31d30e7eb7
ci: Fix pre_encrypted_ota example failure in CI
2024-03-08 14:49:24 +05:30
Mahavir Jain
0c47128627
Merge branch 'contrib/github_pr_13132' into 'master'
...
[SECURITY] [docs] Add warning about integrity of pre_encrypted_ota (GitHub PR)
Closes IDFGH-12071
See merge request espressif/esp-idf!29384
2024-03-04 11:42:08 +08:00
redfast00
836516b409
docs(esp32): add warning about authenticity of pre-encrypted ota
2024-02-29 10:40:36 +00:00
Harshit Malpani
e02801caad
ci: Fix otatool example failure in CI for ESP32-C2
2024-02-29 14:09:36 +05:30
Harshit Malpani
19104b430f
ci: fix ESP32-P4 build failures in CI
2024-02-26 22:59:01 +08:00
Harshit Malpani
2df1ba8535
docs: Update App Utils programming guide docs for ESP32P4
...
Re-enable protocol and ota examples for ESP32P4
2024-02-23 12:33:11 +05:30
Mahavir Jain
f9cb559dfe
Merge branch 'bugfix/update_ota_docs_and_solve_pytest_error' into 'master'
...
fix: fixed issue faced while starting python server and updated ota readme
See merge request espressif/esp-idf!27918
2024-02-08 23:32:32 +08:00
nilesh.kale
318038a746
fix: fixed issue faced while starting python server and updated ota readme
...
openssl server does not support for range request mechanism.
Consequently, it does not support partial download feature.
So, removing commands and steps required for staring openssl server.
Also, updated pytest file to avoid unnecssary issues while starting server.
2024-02-06 12:12:24 +05:30
nilesh.kale
3da0aa2d82
fix(esp_https_ota): fix incorrectly reference of API esp_https_ota_get_img_desc()
...
esp_https_ota_get_img_desc() is incorrectly referred to as esp_https_ota_read_img_desc()
in some error messages.So, this MR updates related references
Closes https://github.com/espressif/esp-idf/issues/13065
2024-02-05 13:55:42 +05:30
Chen Yudong
a72d5f4b41
ci: update protocol/ethernet pytest markers
2024-02-01 22:47:18 +08:00
Li Shuai
28835624d9
fix(example): fixed app partition is too small for binary size
2024-01-11 10:42:38 +08:00
Wang Meng Yang
4c8f6c5458
Merge branch 'feat/add_get_device_name_api' into 'master'
...
feat(bt/bluedroid): Added API to get local device name
Closes BT-3526
See merge request espressif/esp-idf!27667
2023-12-27 10:37:33 +08:00
zhanghaipeng
ed036e0ebe
fix(bt/bluedroid): Fix prepare write for BLE example
2023-12-21 10:59:26 +08:00
Jin Cheng
a3f68aef8a
feat(bt/bluedroid): Added API to get local device name
2023-12-15 19:30:12 +08:00
Jin Cheng
fc174f5811
feat(bt/bluedroid): Added mode to use BlueDroid host only without Bluetooth Controller
2023-10-30 00:52:26 +00:00
nilesh.kale
44cbb8bb24
fix: fix preencrypted ota failed with pytest server and partial http enabled
2023-10-11 15:22:24 +05:30
Ivan Grokhotkov
6d87100a70
feat(examples): add local components via idf_component.yml
...
Specifying all the dependencies (managed and local) in the manifest
makes it easier for users to see every component the example
depends on.
2023-09-19 10:38:24 +02:00
liqigan
0df585dc35
feat(bt/bluedroid): Add new version of API for Bluedroid host stack initialization
2023-08-31 12:28:38 +00:00
Chen Yudong
4601d383a1
ci(fix): example test advanced_https_ota_example_bluedroid_gatts
2023-08-23 14:01:12 +08:00
Harshit Malpani
dd6229e5cb
ci: Add ota_example test with TLS 1.3
2023-08-16 11:26:59 +05:30
nilesh.kale
99db66676c
fix: Fixed wrong filename in ota example readme
2023-08-08 11:23:45 +05:30