Commit Graph

27082 Commits

Author SHA1 Message Date
Island
6db7b11d7e Merge branch 'doc/c2_5.0' into 'release/v5.0'
c2 5.0 doc, header files re-organized

See merge request espressif/esp-idf!25112
2023-08-01 23:11:33 +08:00
Rahul Tank
339dff07f3 Merge branch 'bugfix/remove_52_feature_macro' into 'release/v5.0'
fix(nimble): Update Menuconfig option to remove separate 5.2 feature option

See merge request espressif/esp-idf!24954
2023-08-01 21:42:47 +08:00
luomanruo
3fd6493ade c2 5.0 doc, header files re-organized 2023-08-01 14:43:11 +08:00
Rahul Tank
9ec33f6a68 Merge branch 'bugfix/l2cap_coc_more_one_pkt_v5.0' into 'release/v5.0'
NimBLE: Fixed crash when L2CAP COC sends large amount of data. (v5.0)

See merge request espressif/esp-idf!25060
2023-08-01 14:01:21 +08:00
Krzysztof Budzynski
8beb1a2f8d Merge branch 'docs/add_Chinese_translation_for_api-guides/openthread.rst_backport_v5.0' into 'release/v5.0'
provide CN translation for api-guides/openthread.rst (backport v5.0)

See merge request espressif/esp-idf!25047
2023-08-01 13:15:18 +08:00
Cai Xin Ying
8a187da064 provide CN translation for api-guides/openthread.rst (backport v5.0) 2023-08-01 13:15:17 +08:00
Aditya Patwardhan
049c219c8c Merge branch 'docs/add_protocomm_trans_v5.0' into 'release/v5.0'
Docs: add CN translation for api-reference/provisioning/protocomm.rst (backport v5.0)

See merge request espressif/esp-idf!25035
2023-07-31 15:05:49 +08:00
Cai Xin Ying
082a2972cd Docs: add CN translation for api-reference/provisioning/protocomm.rst (backport v5.0) 2023-07-31 15:05:48 +08:00
isha.pardikar@espressif.com
3fc8422fe6 NimBLE: Fixed crash when L2CAP COC sends large amount of data. 2023-07-28 15:58:48 +05:30
Jiang Jiang Jian
f572b91024 Merge branch 'bugfix/fix_wifi_espnow_coexist_API_doc_v5.0' into 'release/v5.0'
bugfix: fix wifi espnow coexist api doc v5.0

See merge request espressif/esp-idf!25023
2023-07-28 17:19:27 +08:00
morris
62b7ed25f3 Merge branch 'feature/usb/update_cdc_examples_backport_v5.0' into 'release/v5.0'
usb: Update host CDC examples (backport v5.0)

See merge request espressif/esp-idf!23073
2023-07-28 10:33:59 +08:00
morris
8e5718fd0c Merge branch 'bugfix/bod_intr_v5.0' into 'release/v5.0'
brownout: Disable the hardware BOD when BOD interrupt is enabled(backport v5.0)

See merge request espressif/esp-idf!24693
2023-07-28 10:32:19 +08:00
liuning
57335c9051 fix(esp_wifi): fix ret when setting channel at wifi not started 2023-07-27 19:09:07 +08:00
darshan.dobariya
9fa4ff5300 fix(nimble): Update Menuconfig option to remove separate 5.2 feature option 2023-07-27 14:38:53 +05:30
liuning
332a4d3bef feat(esp_wifi): add ESPNOW power-save example 2023-07-27 14:23:58 +08:00
Jiang Jiang Jian
c920123629 Merge branch 'bugfix/fix_some_wifi_bugs_230726_v5.0' into 'release/v5.0'
fix(wifi): fix some wifi bugs 230726(Backport v5.0)

See merge request espressif/esp-idf!25000
2023-07-27 13:51:21 +08:00
Roland Dobai
35c484324f Merge branch 'bugfix/debug_ext_ctrl_c_v5.0' into 'release/v5.0'
tools: fix waiting on gdb process when interrupted with CTRL+C (v5.0)

See merge request espressif/esp-idf!24934
2023-07-26 21:09:52 +08:00
muhaidong
8b59c17ef0 fix(wifi): fix some wifi bugs 230726
1. process association request verify ssid
2. fix ftm timer macro issue
3. lower the dhcp discover and request retry backoff time
2023-07-26 16:52:13 +08:00
muhaidong
210ffa0475 fix(wifi): missed annotate ld function from txop fix 2023-07-26 11:54:10 +08:00
Jiang Jiang Jian
b4b4306677 Merge branch 'bugfix/sae_and_nvs_fixes_v5.0' into 'release/v5.0'
Fix SAE and SAE related NVS issues (Backport v5.0)

See merge request espressif/esp-idf!24956
2023-07-26 11:06:29 +08:00
Jiang Jiang Jian
ba0ab6687d Merge branch 'change/rewrite_all_low_to_any_low_when_not_esp32' into 'release/v5.0'
Change: rewrite EXT1 triggle mode all_low to any_low when not esp32(backport v5.0)

See merge request espressif/esp-idf!24988
2023-07-26 10:17:43 +08:00
Lou Tianhao
3727d56c82 Change: rewrite EXT1 triggle mode all_low to any_low when not esp32 2023-07-25 17:53:33 +08:00
Shyamal Khachane
585cbec17b fix(wifi): Fix SAE and SAE related NVS issues
1. Discard commit frame received at confirmed state in SAE STA
2. Bugfix NVS get values for sae pwe
3. Bugfix memory leak caused by assoc retry timer and assoc IE
4. Bugfix store nvs authmode security values
2023-07-25 13:53:42 +05:30
morris
c36f5fb77a Merge branch 'contrib/github_pr_11810_v5.0' into 'release/v5.0'
ledc.c: Fix frequency calculation. (GitHub PR) (v5.0)

See merge request espressif/esp-idf!24698
2023-07-25 16:15:05 +08:00
morris
3fba3425f1 Merge branch 'bugfix/fix_spi_flash_api_concurrency_issue_v5.0' into 'release/v5.0'
spi_flash: fix concurrency issue when concurrently calling esp_flash apis (v5.0)

See merge request espressif/esp-idf!24512
2023-07-25 11:04:57 +08:00
morris
598c1fa7e2 Merge branch 'bugfix/fix_gpio_driver_calloc_v5.0' into 'release/v5.0'
fix(gpio): fix potential crash when processing gpio isr (v5.0)

See merge request espressif/esp-idf!24902
2023-07-25 11:03:09 +08:00
Roland Dobai
5b440d1bd1 Merge branch 'ci/update_pre_commit_copyright_checker_v5.0' into 'release/v5.0'
ci(pre-commit): Use the newest copyright checker (v5.0)

See merge request espressif/esp-idf!24908
2023-07-24 21:08:25 +08:00
Mahavir Jain
22d34feac4 Merge branch 'ci/fix_failures_in_esp_http_client_example_v5.0' into 'release/v5.0'
CI: fix esp_http_client example failures in CI. Timeout was observed in the... (v5.0)

See merge request espressif/esp-idf!24950
2023-07-24 17:17:23 +08:00
Jiang Jiang Jian
000450504d Merge branch 'bugfix/cache_writeback_bug_v5.0' into 'release/v5.0'
esp_rom: patch Cache_WriteBack_Addr (backport v5.0)

See merge request espressif/esp-idf!24940
2023-07-24 15:41:32 +08:00
Fu Hanxi
b4ee8b573a ci: requires serial processing for check-all-apps-readmes 2023-07-24 15:28:18 +08:00
Armando
38de42bd26 feat(spi_flash): add common test_flash_utils component 2023-07-24 15:28:18 +08:00
Armando
403cdb03ec spi_flash: rename spi_flash_os_func_app: spi_start, spi_end
spi_start -> s_acquire_spi_bus_lock
spi_end -> s_release_spi_bus_lock
2023-07-24 15:28:18 +08:00
Armando
c56ff93007 spiflash: added esp_flash API concurrency pressure test 2023-07-24 15:28:18 +08:00
Armando
5a59c50951 spi_flash: fix concurrency issue when calling esp_flash apis under xip_psram or auto_suspen 2023-07-24 15:28:18 +08:00
Armando
0c2cd2dfa6 spiflash: fix not calling on_spi_acquired when CONFIG_SPI_FLASH_SHARE_SPI1_BUS issue 2023-07-24 15:28:18 +08:00
Rahul Tank
5fb0d557a4 Merge branch 'bugfix/handle_conn_type_and_array_reset_v5.0' into 'release/v5.0'
fix(nimble): Update connection type in reattempt connection code (v5.0)

See merge request espressif/esp-idf!24916
2023-07-24 12:21:45 +08:00
Rahul Tank
6211d5a461 Merge branch 'doc/update_kconfig_example_ext_adv_usage_v5.0' into 'release/v5.0'
doc(nimble): Update Kconfig help section for Example Ext Adv (v5.0)

See merge request espressif/esp-idf!24914
2023-07-24 12:08:32 +08:00
gaoxiaojie
805f3bc557 fix(cache): add lock to protect cache sync operation 2023-07-24 10:51:23 +08:00
Jiang Jiang Jian
d8f9786beb Merge branch 'bugfix/fix_ftm_dist_est_v5.0' into 'release/v5.0'
Enable FTM for ESP32C2, fix other FTM issues (Backport v5.0)

See merge request espressif/esp-idf!24921
2023-07-24 10:37:31 +08:00
Harshit Malpani
88a815c84e
fix(ci): update HTTP client example tests runner assignment
HTTP client example tests now connect with locally hosted httpbin service
for more stable results across multiple runs
2023-07-21 17:15:35 +05:30
Nachiket Kukade
0148546df3 fix(esp_wifi): Enable FTM for ESP32C2, fix other FTM issues
Enable FTM for ESP32C2 and update wifi libs with below fixes -

1. Bugfixes in Initiator and Responder mode
2. Fix wrong RTT value in first FTM procedure without connection
3. Update FTM calibration values for ESP32S2, S3, C3 and C2
4. Update distance estimation logic
5. Add some useful command parameters in FTM example
6. Fix bug when number of FTM measurement frames received is more
   than (number_of_brusts * FTMs per brust).

Co-authored-by: Sarvesh Bodakhe <sarvesh.bodakhe@espressif.com>
2023-07-21 16:30:47 +05:30
Jiang Jiang Jian
264c807f3a Merge branch 'bugfix/fix_some_wifi_bugs_230720_v5.0' into 'release/v5.0'
fix(wifi): fix some wifi bugs 230720 (backport v5.0)

See merge request espressif/esp-idf!24912
2023-07-21 18:59:42 +08:00
Harshit Malpani
8c6dcfa376
CI: fix esp_http_client example failures in CI. Timeout was observed in the logs while performing HTTP requests. Changing the endpoint when testing in CI 2023-07-21 15:24:22 +05:30
gaoxiaojie
4a2f38930b fix(esp32s3): patch Cache_WriteBack_Addr api
Need to ensure that the cacheline being written back will not be
accessed during the write back process.
2023-07-21 11:46:45 +08:00
Mahavir Jain
bb2e88b27f Merge branch 'ci/fix_build_examples_v5.0' into 'release/v5.0'
ci(esp_prov): remove import future usage

See merge request espressif/esp-idf!24924
2023-07-20 23:23:31 +08:00
Frantisek Hrbata
6f8c62b205 fix(debug_ext): CTRL+C handling while waiting on gdb process
idf.py spawns gdb process within a thread and uses Thread.join() to wait
for the gdb process to finish. As CTRL+C(SIGINT) is used by gdb to interrupt the
running program, we catch the SIGINT while waiting on the gdb to finish,
and try Thread.join() again.

With cpython's commit

	commit a22be4943c119fecf5433d999227ff78fc2e5741
	Author: Victor Stinner <vstinner@python.org>
	Date:   Mon Sep 27 14:20:31 2021 +0200

	    bpo-45274: Fix Thread._wait_for_tstate_lock() race condition (GH-28532)

this logic doesn't work anymore, because cpython internally marks the
thread as stopped when join() is interrupted with an exception. IMHO
this is broken in cpython and there is a bug report about this
https://github.com/python/cpython/issues/90882. Problem is that
waiting on a thread to finish is based on acquiring a lock. Meaning
join() is waiting on _tstate_lock. If this wait is interrupted, the
above referenced commit adds a logic that checks if the lock is help,
meaning the thread is done and marks the thread as stopped. But there is
no way to tell if the lock was acquired by us running join() or if it's
held by someone else e.g. still by the thread bootstrap code. Meaning
the thread is still running.

I may be missing something, but I don't see any reason why to spawn gdb
process within a thread. This change removes the thread and spawns gdb
directly. Instead waiting on a thread, we wait on the process to finish,
replacing join() with wait() and avoiding this problem.

Closes https://github.com/espressif/esp-idf/issues/11871

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2023-07-20 17:12:32 +02:00
Chen Yudong
d1da86465b ci(esp_prov): remove import future usage 2023-07-20 16:00:21 +08:00
Rahul Tank
4d301ef3a2 fix(nimble): Update connection type in reattempt connection code
Added change to set connection type correctly and clear array when it is
    full in reattempt connection flow
2023-07-20 09:37:34 +05:30
Rahul Tank
8e06eb490b docs(nimble): Update Kconfig help section for Example Ext Adv 2023-07-20 09:31:51 +05:30
zhangyanjiao
368dca0d84 fix(wifi): Add bugfixes and improvements
1. Update wifi security mode
2. Fix association refused temporarily comeback time set to zero issue
3. Vnd ie callback can be set to null
2023-07-20 11:39:41 +08:00