19625 Commits

Author SHA1 Message Date
xiongweichao
5ccda5f84b fix(bt/controller): Fix disconnection due to lmp messages not being processed by both sides
The master sent lmp_enc_mode_req, and the slave sent lmp_switch_req.
However, both sides failed to handle the LMP message, resulting in LMP timeout.
2023-08-04 11:21:49 +08:00
wuzhenghui
064f71dfa2 fix(esptool): fix potential text/rodata mapping overlap issue on I/DBUS shares mmu entry chips 2023-08-03 22:17:30 +08:00
jgujarathi
9121fff643 fix(esp_wifi) : Fix issues with action_frame tx and scan
1. Moves the location of null data frame TX to before channel switch during
   offchannel action frame TX req.
2. Reverts Send wake up and sleep null between scanning.
2023-08-02 18:24:55 +05:30
wuzhenghui
bc13d808e3 fix(lightsleep): fix access pu_cfg after sleep wake wakeup which is linked to flash 2023-08-01 16:39:37 +08:00
wuzhenghui
46dd957c11 fix(lightsleep): suspend cache before goto sleep to avoid cache load wrong data after spi io isolation 2023-08-01 10:39:49 +08:00
Frantisek Hrbata
d1c1ebc196 fix(test_submodules.py): don't rely on submodule init
Current version of the test is using "git-submodule foreach", which
requires submodules to be initialized. Non-initialized submodules are
ignored. Our CI is not performing submodule initialization, but instead
it only downloads the submodule content in tools/ci/ci_fetch_submodule.py
from cache and copies it into the submodule path.

Since we already know the submodule path from .gitconfig, we can use it
as argument to git-ls-tree and avoid calling git-submodule at all. This
allows to perform the test even if the submodules are not initialization
and also it makes the code simpler.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2023-07-29 10:37:08 +02:00
Peter Dragun
f168e78b12 tools(component-manager): bump version to avoid failures in dependency_check script 2023-07-28 15:15:56 +02:00
Jiang Jiang Jian
a1e7766940 Merge branch 'bugfix/backport_phy_lib_v4.3' into 'release/v4.3'
esp_wifi: update phy lib for esp32c3 and esp32s2(v4.3)

See merge request espressif/esp-idf!24929
2023-07-28 02:48:09 +08:00
alanmaxwell
bb95e4cad3 esp_wifi: update phy lib
1. Fix WiFi not working with Tsens on ESP32S2.
2. WiFi RX multimpath optimization.
3. BLE TX sideband optimization for C3.
4. Fix WiFi and BLE calibration conflict issue.
2023-07-28 01:37:26 +08:00
Jiang Jiang Jian
51fa6add03 Merge branch 'change/rewrite_all_low_to_any_low_when_not_esp32_4.3' into 'release/v4.3'
Change: rewrite EXT1 triggle mode all_low to any_low when not esp32(backport v4.3)

See merge request espressif/esp-idf!24990
2023-07-27 23:05:48 +08:00
Jiang Jiang Jian
f57d0fcc5e Merge branch 'bugfix/tempsensor_wifi_conflict_v4.3' into 'release/v4.3'
temperature_sensor: Fix issue that have conflict with phy / Fix phy pwdet and tsens power cannot be set twice issue (backport v4.3)

See merge request espressif/esp-idf!24968
2023-07-27 23:05:17 +08:00
Jiang Jiang Jian
03d75dbddb Merge branch 'bugfix/test_idf_tools_timeout_v4.3' into 'release/v4.3'
tools: bugfix build_docker timeout

See merge request espressif/esp-idf!24605
2023-07-27 23:04:50 +08:00
alanmaxwell
a405774eff fix(bt/ble): delete rom funcs for backport missing. 2023-07-27 23:03:39 +08:00
Marek Fiala
459e17c413 tools: bugfix build_docker timeout
- Modify Dockerfile to install tools fixed versions to pyenv
- pip was unable to resolve the dependencies
2023-07-27 09:52:26 +02:00
Jiang Jiang Jian
65a1cce3fa Merge branch 'bugfix/fix_wifi_espnow_coexist_API_doc_v4.3' into 'release/v4.3'
fix(esp_wifi): fix ret when setting channel at wifi not started

See merge request espressif/esp-idf!25011
2023-07-27 13:34:54 +08:00
Jiang Jiang Jian
08c212e30c Merge branch 'backport_v4.3' into 'release/v4.3'
fix(bt): Fix ble periodic advertising data length 0 error(backport v4.3)

See merge request espressif/esp-idf!25009
2023-07-27 13:26:36 +08:00
Fu Hanxi
e481a4affa tools: fix requirements.txt for python 3.4
old pip version solver doesn't handle the `requires_python` metadata
field. Doing this for the solver.
2023-07-26 17:06:30 +02:00
liuning
77223bfa9f fix(esp_wifi): fix ret when setting channel at wifi not started 2023-07-26 19:42:11 +08:00
zhanghaipeng
f28b457554 fix(bt): Fix bug with address resolution enabling during non-connected activities 2023-07-26 17:20:15 +08:00
zhanghaipeng
a949b43e53 docs(bt): Organize header files for esp32c3 and esp32s3 2023-07-26 17:19:54 +08:00
zhanghaipeng
48701401fe fix(bt): Fix ble periodic advertising data length 0 error
- Fixed issues about data length 0 when set ext adv data,ext scan rsp data and periodic adv data
2023-07-26 16:48:51 +08:00
Lou Tianhao
cd8946d42d docs(pm/sleep): rewrite_all_low_to_any_low_when_not_esp32 2023-07-26 11:54:53 +08:00
Jiang Jiang Jian
b0bdc8c8a0 Merge branch 'bugfix/fix_dhcp_server_address_pool_issue_for_4.3' into 'release/v4.3'
fix(dhcp server): Fix dhcp server address pool issue for 4.3

See merge request espressif/esp-idf!24992
2023-07-26 10:16:25 +08:00
Cao Sen Miao
60f8d164fa temperature_sensor: Apply new-shared interface in temperature sensor driver 2023-07-26 10:11:07 +08:00
xueyunfei
f70de1aeec fix(dhcp server): Fix dhcp server address pool issue 2023-07-25 20:31:04 +08:00
Jiang Jiang Jian
eaf90a425f Merge branch 'bugfix/fix_sta_receive_other_ap_csa_issue_v4.3' into 'release/v4.3'
fix(wifi): fix sta receive other ap csa issue(Backport v4.3)

See merge request espressif/esp-idf!24981
2023-07-25 20:29:04 +08:00
Lou Tianhao
b0d46efc66 Change: rewrite EXT1 triggle mode all_low to any_low when not esp32 2023-07-25 17:50:32 +08:00
muhaidong
8f6ab93cf4 fix(wifi): fix sta receive other ap csa issue 2023-07-25 11:22:11 +08:00
Jiang Jiang Jian
c6a75ac0cd Merge branch 'bugfix/fix_uart_tx_done_hardware_concurrency_v4.3' into 'release/v4.3'
uart: Fix TX side concurrency issues (v4.3)

See merge request espressif/esp-idf!22597
2023-07-25 10:43:44 +08:00
Jiang Jiang Jian
adc016c8e6 Merge branch 'bugfix/fix_gpio_driver_calloc_v4.3' into 'release/v4.3'
fix(gpio): fix potential crash when processing gpio isr (v4.3)

See merge request espressif/esp-idf!24904
2023-07-24 20:06:13 +08:00
Aditya Patwardhan
f0b5277a2c Merge branch 'ci/fix_failures_in_esp_http_client_example_v4.3' into 'release/v4.3'
CI: fix esp_http_client example failures in CI. Timeout was observed in the... (v4.3)

See merge request espressif/esp-idf!24967
2023-07-24 19:20:19 +08:00
Song Ruo Jing
6a80e30839 uart: Fix two TX concurrency issues
1. Concurrency might cause ESP_ERR_TIMEOUT when calling uart_wait_tx_done
2. Concurrency might cause RTS line being de-assreted during tx transmission for rs485 mode
2023-07-24 11:18:38 +00:00
Cao Sen Miao
35e88d5f8f temperature_sensor: Add new interface and reference counts so that phy and driver can use together 2023-07-24 16:55:05 +08:00
Jiang Jiang Jian
637f491ebd Merge branch 'bugfix/sae_and_nvs_fixes_v4.3' into 'release/v4.3'
Fix SAE and SAE related NVS issues (Backport v4.3)

See merge request espressif/esp-idf!24925
2023-07-24 16:02:30 +08:00
Harshit Malpani
bb9d410578
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-24 11:47:42 +05:30
Harshit Malpani
b04cca4933
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-24 11:41:19 +05:30
Jiang Jiang Jian
3ebd574487 Merge branch 'test/rtc_8m_d256_v4.3' into 'release/v4.3'
rtc: fixed multiple RTC issues (dangerous power parameters in sleep modes, support S2/C3 different sleep mode) (v4.3)

See merge request espressif/esp-idf!24910
2023-07-24 10:14:27 +08:00
Shyamal Khachane
113a2ceaf7 fix(wifi): Fix SAE and SAE related NVS issues
1. Discard commit frame received at confirmed state in SAE STA
2. Add nvs values for new config params
3. Bugfix NVS get values for sae pwe
4. Bugfix memory leak caused by assoc retry timer and assoc IE
2023-07-22 20:42:45 +05:30
Jiang Jiang Jian
f93805ab5e Merge branch 'bugfix/fix_ftm_dist_est_v4.3' into 'release/v4.3'
FTM calibration update and improvements in FTM (Backport v4.3)

See merge request espressif/esp-idf!24928
2023-07-21 19:21:42 +08:00
Michael (XIAO Xufeng)
e1647e5b02 Merge branch 'bugfix/fix_spi_flash_api_concurrency_issue_v4.3' into 'release/v4.3'
spi_flash: fix concurrency issue when concurrently calling esp_flash apis (v4.3)

See merge request espressif/esp-idf!24516
2023-07-21 16:53:33 +08:00
Aditya Patwardhan
470fbc347f Merge branch 'fix/esp_aes_return_values_v4.3' into 'release/v4.3'
fix(mbedtls): fix return values of esp-aes APIs (v4.3)

See merge request espressif/esp-idf!24808
2023-07-21 16:00:52 +08:00
morris
08aab06556 Merge branch 'bugfix/bod_glitch_reset_c6_v4.3' into 'release/v4.3'
bootloader: fix BOD and glitch reset on C6 and H2 (v4.3)

See merge request espressif/esp-idf!24937
2023-07-21 15:18:29 +08:00
Nachiket Kukade
afca18bbf0 fix(esp_wifi): Update FTM calibration and fix other FTM issues
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 and C3
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 10:34:19 +05:30
Ivan Grokhotkov
e6901634f8 examples: wifi/ftm: make global variables static
Prevents conflict between g_ftm_report_num_entries defined in the
example and in the Wi-Fi library.
2023-07-21 10:17:33 +05:30
Jiang Jiang Jian
f846908135 Merge branch 'bugfix/split_scan_tx_v43' into 'release/v4.3'
Fix collection of issues in sta roam and scan.(v4.3)

See merge request espressif/esp-idf!24885
2023-07-21 11:25:31 +08:00
Xiao Xufeng
a42e6db2fa bootloader: cleanup ana reset config code 2023-07-21 03:28:40 +08:00
Xiao Xufeng
3778687975 bootloader: fixed super watchdog not enabled issue on C3 2023-07-21 03:28:26 +08:00
Xiao Xufeng
77e0c5b553 bootloader: removed unavailable rtc features 2023-07-21 03:28:22 +08:00
Xiao Xufeng
9c75a0fff7 sleep_modes: rename rtc_sleep_enable_adc_tesn_monitor
Partially pick e8b5096f527b9991b738dd6bb58a8d42d5356614
2023-07-21 02:50:06 +08:00
harshal.patil
a7f4bb8503 fix(mbedtls): Fixed the transmission of return values of the esp-aes APIs
- Earlier, some intermediate return values were not stored and returned,
thus incorrect return values used to get transmitted to the upper layer of APIs.

- Also, zeroised the output buffer in case of error condition.
2023-07-20 18:56:22 +05:30