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
David Cermak
cc5d5c8d79
esp_netif: Fix regression from 12d09e0b
when PPP enabled
2023-07-20 07:18:13 +02: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
Li Shuai
0b42747d0a
Wi-Fi/power save: fix the some mac issues of wifi power save
...
Some APs are configured to hide the SSID, the length field of the SSID element
in the Beacon frame is set to 0. This can cause incorrect parsing of the Beacon
by the Wi-Fi MAC hardware.
Some APs send two beacon frames with different BSSID in a TBTT cycle. After
correctly parsing the beacon of the associated AP, it continue to receive the
other beacon frame, which will cause the MAC to remain in a wait RX/TXING
state, blocking the Wi-Fi go to sleep.
2023-07-20 11:39:41 +08:00
Rotzbua
881f3fc54d
doc: remove WEP as security mode
...
Signed-off-by: zhangyanjiao <zhangyanjiao@espressif.com>
Closes https://github.com/espressif/esp-idf/pull/10015
2023-07-20 11:22:23 +08:00
david zuhn
b2134caf0d
spelling correction in documentation
...
Signed-off-by: zhangyanjiao <zhangyanjiao@espressif.com>
Closes https://github.com/espressif/esp-idf/pull/9721
2023-07-20 11:22:09 +08:00
zhangyanjiao
7dddb468f4
feat(wifi): Add API to get RSSI info after station connects to AP
...
- Add esp_wifi_sta_get_rssi() function to retrieve RSSI info after station connects to AP
2023-07-20 11:21:38 +08:00
morris
acec0ef0ce
Merge branch 'contrib/github_pr_11878_v5.0' into 'release/v5.0'
...
feat(mcpwm): Allow for pull up/down to be configurable on generators (GitHub PR) (v5.0)
See merge request espressif/esp-idf!24894
2023-07-20 11:19:30 +08:00
Roland Dobai
3838862709
ci(pre-commit): Use the newest copyright checker
2023-07-19 15:04:02 +02:00
Song Ruo Jing
1da5dbf899
fix(gpio): fix potential crash when processing gpio isr
...
If CONFIG_SPIRAM_USE_MALLOC is enabled, and cache is disabled when GPIO ISR is triggered,
it would lead to Guru Meditation Error due to "Cache disabled but cached memory region accessed".
Closes https://github.com/espressif/esp-idf/issues/11876
2023-07-19 20:01:18 +08:00
Jiang Jiang Jian
55976a5bd7
Merge branch 'bugfix/fix_some_bluedroid_bugs_v5.0' into 'release/v5.0'
...
Fixed some bluedroid bugs (backport v5.0)
See merge request espressif/esp-idf!24861
2023-07-19 17:07:33 +08:00
morris
a87a04992e
feat(mcpwm): support open drain output for generator IO
...
Closes https://github.com/espressif/esp-idf/issues/11877
2023-07-19 16:13:12 +08:00
Anne Brondijk
bf5c09aacd
feat(mcpwm): Allow for pull up/down to be configurable on generators
2023-07-19 16:13:11 +08:00
Rahul Tank
baecf8d44f
Merge branch 'feature/services_health_therm_v5.0' into 'release/v5.0'
...
NimBLE: Added health thermometer profile (v5.0)
See merge request espressif/esp-idf!24834
2023-07-19 15:13:20 +08:00
Jiang Jiang Jian
f2973dc4c6
Merge branch 'bugfix/offchan_action_frame_tx_v50' into 'release/v5.0'
...
Add check to ensure memory allocation for action frame.
See merge request espressif/esp-idf!24611
2023-07-18 21:12:31 +08:00
chenjianhua
902c6973f1
fix(bt/bluedroid): Fix memory leak of gattc cache upon disconnection
2023-07-18 11:44:43 +08:00
chenjianhua
7ca9ca6f90
bluedroid: fixed compile warning when optimize for performance
2023-07-18 11:41:44 +08:00
Jiang Jiang Jian
621589aeb6
Merge branch 'docs/update_bluetooth_power_save_readme_v5.0' into 'release/v5.0'
...
Docs: update bluetooth power save readme(v5.0)
See merge request espressif/esp-idf!24845
2023-07-18 11:01:22 +08:00
Jiang Jiang Jian
1853b46a37
Merge branch 'backport_v5.0' into 'release/v5.0'
...
fix(bt): Fix the issue of not printing the Bluetooth MAC address for ESP32(backport v5.0)
See merge request espressif/esp-idf!24779
2023-07-18 10:52:39 +08:00
Mahavir Jain
f1d060a511
Merge branch 'bugfix/mbedtls_sha_test_fail_when_run_twice_v5.0' into 'release/v5.0'
...
fix(mbedtls): sha test will fail when run twice (backport v5.0)
See merge request espressif/esp-idf!24828
2023-07-17 20:07:34 +08:00
xiongweichao
09854f0e89
docs(bt/example): Updated bluetooth power save readme
2023-07-17 17:06:00 +08:00
xiongweichao
b013faa84b
docs(sleep_modes): Updated Wi-Fi/Bluetooth and Sleep Modes in docs
2023-07-17 17:04:53 +08:00
Mahavir Jain
1315845d75
Merge branch 'fix/mbedtls_internal_shaX_process_api_port_v5.0' into 'release/v5.0'
...
fix(mbedtls): Fix the port for mbedtls_internal_shaX_process api (v5.0)
See merge request espressif/esp-idf!24810
2023-07-17 17:00:44 +08:00
isha.pardikar@espressif.com
642aba7c03
feat (Nimble): Added Health Thermometer as a service
2023-07-17 14:20:05 +05:30
isha.pardikar@espressif.com
71f5dc4973
NimBLE: Added health thermometer profile
2023-07-17 11:24:04 +05:30
jgujarathi
5037c2ec02
fix(action_tx) : Add check to ensure memory allocation for action frame.
...
Add check to ensure memory allocation in tx buffers for off channel action frame.
Prints error message in case of allocation failure in esp_wifi_action_tx_req().
2023-07-17 10:57:03 +05:30
Mahavir Jain
3fc6eb9000
Merge branch 'fix/esp_aes_return_values_v5.0' into 'release/v5.0'
...
fix(mbedtls): fix return values of esp-aes APIs (v5.0)
See merge request espressif/esp-idf!24805
2023-07-17 12:35:24 +08:00
Mahavir Jain
befe69d152
Merge branch 'fix/esp_ptr_check_sign_compare_v5.0' into 'release/v5.0'
...
fix(esp_hw_support): Fix different signed comparison in `esp_ptr_in_drom` (v5.0)
See merge request espressif/esp-idf!24799
2023-07-17 12:34:22 +08:00
Jiang Jiang Jian
7f2c879d71
Merge branch 'bugfix/split_scan_tx_v50' into 'release/v5.0'
...
fix(esp_wifi) : Fix collection of issues in sta roam and scan.
See merge request espressif/esp-idf!24576
2023-07-17 11:17:57 +08:00
Jiang Guang Ming
f418a998a9
fix(mbedtls): sha test will fail when run twice
2023-07-17 10:54:32 +08:00
Jiang Jiang Jian
05d05f3c51
Merge branch 'bugfix/btm_scan_done_crash_v5.0' into 'release/v5.0'
...
wpa_supplicant : Fix race condition during BTM Request.
See merge request espressif/esp-idf!24398
2023-07-17 10:35:32 +08:00
Jiang Jiang Jian
bb89a5769b
Merge branch 'bugfix/multiple_btm_rrm_task_v50' into 'release/v5.0'
...
Fix race conditions in btm task deletion(v5.0)
See merge request espressif/esp-idf!24766
2023-07-17 10:30:15 +08:00
Jiang Jiang Jian
3d015a44d2
Merge branch 'bugfix/sae_crypto_optimization_esp32_v5.0' into 'release/v5.0'
...
esp_wifi: Optimize sae crypto operations for esp32 (v5.0)
See merge request espressif/esp-idf!24761
2023-07-17 10:29:49 +08:00
Jiang Jiang Jian
086412cb56
Merge branch 'backport/eth-start-spi-initialize-failure-v5.0' into 'release/v5.0'
...
Fix eth_start initializes spi bus with SPI_DMA_CH_AUTO (backport v5.0)
See merge request espressif/esp-idf!23816
2023-07-17 10:29:27 +08:00
Jiang Jiang Jian
87f2e7e415
Merge branch 'bugfix/concurrency_while_eloop_register_v5.0' into 'release/v5.0'
...
esp_wifi: Bugfix concurrency observed while doing eloop register (v5.0)
See merge request espressif/esp-idf!24571
2023-07-17 10:28:36 +08:00
Jiang Jiang Jian
b0b3e0dc70
Merge branch 'bugfix/esp_netif_recieve_returns_v5.0' into 'release/v5.0'
...
esp_netif: Report error if esp_netif_receive() fails (v5.0)
See merge request espressif/esp-idf!24656
2023-07-17 10:28:06 +08:00
Jiang Jiang Jian
4c7e65238f
Merge branch 'bugfix/lwip_dhcps_hook_types_v5.0' into 'release/v5.0'
...
lwip: Fix incorrect invocation of the hook `LWIP_HOOK_DHCPS_POST_APPEND_OPTS` (v5.0)
See merge request espressif/esp-idf!24659
2023-07-17 10:27:06 +08:00
Marius Vikhammer
cf83b324d3
Merge branch 'bugfix/ringbuf_static_object_size_v5.0' into 'release/v5.0'
...
Ringbuf: Fix ordering of StaticRingbuffer_t (v5.0)
See merge request espressif/esp-idf!24594
2023-07-17 10:12:02 +08:00
harshal.patil
f1ee3e41aa
refactor(mbedtls): refactored the return values check in some esp-aes APIs
2023-07-14 21:00:16 +05:30