Commit Graph

31343 Commits

Author SHA1 Message Date
Adam Múdry
7d87b6f47f Merge branch 'docs/fatfs_add_api_reference' into 'master'
docs(fatfs): Move mentioned APIs to a separate API reference section

Closes IDF-7710

See merge request espressif/esp-idf!24538
2023-08-05 10:04:25 +08:00
Shang Zhou
de9f310e81 docs: Provide CN translation for wear-levelling.rst 2023-08-04 23:47:44 +00:00
Adam Múdry
ebde53bbb9 docs(fatfs): Move mentioned APIs to a separate API reference section 2023-08-04 23:47:44 +00:00
Cai Xin Ying
4cbb4d446a Merge branch 'docs/add_Chinese_translation_for_three_short_docs_of_api-guides' into 'master'
Docs: provide CN translation for three short docs of api-guides

Closes DOC-5413

See merge request espressif/esp-idf!24133
2023-08-04 23:37:26 +08:00
Cai Xin Ying
0a726af17b Docs: provide CN translation for three short docs of api-guides 2023-08-04 23:37:26 +08:00
Roland Dobai
f65b787415 Merge branch 'version_check_fix_dev' into 'master'
fix(tools): check_python_version accept dev releases as requirement

See merge request espressif/esp-idf!25185
2023-08-04 20:02:30 +08:00
morris
55ea6b78a7 Merge branch 'feature/async_memcpy_rewrite' into 'master'
feat(async_memcpy): refactor driver code to support different DMA backends

See merge request espressif/esp-idf!25050
2023-08-04 17:52:13 +08:00
Jiang Jiang Jian
025be6bbba Merge branch 'bugfix/manage_i2c_clock_with_modem_clock_driver' into 'master'
fix(esp_hw_support): manage i2c_ana_mst clock with modem clock driver

Closes IDF-7939 and BT-3368

See merge request espressif/esp-idf!25132
2023-08-04 17:34:51 +08:00
Wang Meng Yang
3da60ec6e7 Merge branch 'bugfix/remove_deprecated_err_code' into 'master'
fix(bt): Removed an incorrectly defined HCI error code in Bluedroid

See merge request espressif/esp-idf!25162
2023-08-04 17:26:47 +08:00
Peter Dragun
e0abb5b414 fix(tools): check_python_version accept dev releases as requirement 2023-08-04 09:52:05 +02:00
morris
a296532715 Merge branch 'bugfix/temperature_get_value_negative' into 'master'
bugfix(temperature_sensor): Fix issue that get the value is negative

See merge request espressif/esp-idf!25165
2023-08-04 15:24:11 +08:00
Alexey Lapshin
23c89cdab3 Merge branch 'fix/skip-test-gdbstub-runtime-xtensa-stepping-bug' into 'master'
fix(gdbstub): skip xtensa_stepping_bug testcase until fixed

Closes IDFCI-1777

See merge request espressif/esp-idf!25207
2023-08-04 15:22:54 +08:00
wuzhenghui
8b5052f213 fix(light_sleep): save vddsdio_config before lightsleep 2023-08-04 11:58:07 +08:00
wuzhenghui
0b0e8ab80b fix(light_sleep): suspend/resume cache correspondingly after light sleep 2023-08-04 11:56:55 +08:00
Alexey Lapshin
16f34704cb fix(gdbstub): skip xtensa_stepping_bug testcase until fixed 2023-08-04 07:41:21 +04:00
C.S.M
40532cb820 Merge branch 'bugfix/esp32s3_lack_boot_resume' into 'master'
bugfix(spi_flash): Add flash resuem in bootloader on esp32s3

See merge request espressif/esp-idf!25163
2023-08-04 11:24:56 +08:00
Wang Meng Yang
8e5aebe69e Merge branch 'bugfix/fix_bt_3379' into 'master'
fix(bt): Fix phy enable and disable for bt controller on esp32c3

See merge request espressif/esp-idf!25012
2023-08-04 10:52:24 +08:00
wuzhenghui
c34cdd05e9 fix(esp_hw_support): manage i2c_ana_mst clock witch modem clock driver 2023-08-04 10:39:43 +08:00
Xiong Wei Chao
0331e6fabd Merge branch 'bugfix/role_switch_enc_mode_lmp_timeout' into 'master'
bt: Fix disconnection due to lmp messages not being processed by both sides

Closes BTQABR2023-38 and BTQABR2023-37

See merge request espressif/esp-idf!24757
2023-08-04 10:23:26 +08:00
Jiang Jiang Jian
ea33db32ac Merge branch 'bugfix/fix_ftm_error_propagation' into 'master'
Fix error propagation while initiating FTM

Closes WIFIBUG-23

See merge request espressif/esp-idf!25118
2023-08-04 08:35:58 +08:00
Jiang Jiang Jian
5ab6f5f0bb Merge branch 'bugfix/allow_owe_traffic_after_eapol' into 'master'
Fix some OWE issues

Closes WIFIBUG-10, WIFIBUG-29, and WIFIBUG-58

See merge request espressif/esp-idf!25071
2023-08-04 05:01:23 +08:00
morris
6eabfc2c9f Merge branch 'feature/gptimer_interrupt_priority' into 'master'
feat(gptimer): support set interrupt priority

Closes IDF-7954

See merge request espressif/esp-idf!25125
2023-08-04 04:10:45 +08:00
Bogdan Kolendovskyy
87d8273bda Merge branch 'feature/eth_loopback_test' into 'master'
esp_eth/test_apps: add loopback test

Closes IDF-6186

See merge request espressif/esp-idf!23858
2023-08-04 02:12:10 +08:00
Aditya Patwardhan
e468d2220f Merge branch 'bugfix/secure_ota_without_padding' into 'master'
fix(secure_ota): secure app verification issue without padding bytes

Closes IDFGH-10784

See merge request espressif/esp-idf!25156
2023-08-03 22:07:07 +08:00
Chen Jian Xing
c4562571e2 Merge branch 'docs/update_multi_antenna_switch_docs' into 'master'
Docs/update multi antenna switch docs

Closes WIFI-5582, WIFI-5561, and DOC-2914

See merge request espressif/esp-idf!22937
2023-08-03 21:27:46 +08:00
Nachiket Kukade
fc3798f590 fix(wifi): Fix error propagation while initiating FTM 2023-08-03 16:59:28 +05:30
Bogdan Kolendovskyy
224ba396f1 esp_eth: add loopback test, change chip drivers to reflect chip specific behaviour
In esp_eth_test_apps.c:
Add test of loopback functionality. Change speed/duplex/autonegotiation test - remove need to enable loopback (required
for it to work on some phys supported by ESP-IDF)

In Kconfig.projbuild:
Add parameters to select which configuration is used - standard or custom.
Add for custom configuration parameters to select MDC and MDIO pins (required to work with WESP-32 and other boards that
use non-standard pin assignments).

In esp_eth_test_common.c:
Add code to support changes made in Kconfig

In sdkconfig.ci.default_rtl8201:
Change config which is used. Now custom is used and MDC is gpio 16, MDIO is gpio 17. Reuqired to work with WESP-32

In esp_eth_phy_802_3.h:
Make 802.3 API public.

In esp_eth_phy_802_3.c:
Add loopback check in eth_phy_802_3_set_duplex(). Now ESP_ERR_INVALID_STATE is invoked on attempt to set duplex to half
when loopback is enabled.
Remove static property from esp_eth_phy_802_3_autonego_ctrl and esp_eth_phy_802_3_loopback.

In esp_eth_phy_dm9051.c:
Add dm9051_loopback() because DM9051 requires setting additional bit to enable auto-negotiation loopback for data to be
received. Add dm9051_set_speed() which invokes ESP_ERR_INVALID_STATE on attempt to set speed to 10 Mbps when loopback is
enabled because such speed configuration is unsupported.

In esp_eth_phy_ksz80xx.c:
Add ksz80xx_set_speed() which invokes ESP_ERR_INVALID_STATE on attempt to set speed to 10 Mbps when loopback is enabled
because such speed configuration is unsupported.

In esp_eth_phy_ksz8851snl.c:
Change phy_ksz8851_set_duplex() to invoke ESP_ERR_INVALID_STATE on attempt to set duplex to half when loopback is enabled.

In  esp_eth_phy_dp83848.c, esp_eth_phy_rtl8201.c:
Add autonego_ctrl implementation which prevents enabling autonegotiation when loopback is enabled.
Add loopback implementation which disables autonegotiation prior to enabling loopback.

In esp_eth_phy_lan87xx.c:
Add autonego_ctrl implementation which prevents enabling autonegotiation when loopback is enabled.
Add loopback implementation which disables autonegotiation prior to enabling loopback.
Fix link indicating being down when loopback is enabled by force setting link up.
2023-08-03 13:18:44 +02:00
morris
c32cabc7f8 feat(gptimer): support set interrupt priority
Related forum post: https://esp32.com/viewtopic.php?f=13&t=34959
2023-08-03 19:16:37 +08:00
Cao Sen Miao
91ad084c15 bugfix(spi_flash): Add flash resuem in bootloader on esp32s3 2023-08-03 18:26:00 +08:00
Roman Leonov
e297470e62 Merge branch 'bugfix/usb/host/urb_compliance_verification_add' into 'master'
feature(usb/host) added URB check args and transfer check compliance for regular EP transfer submit

See merge request espressif/esp-idf!24106
2023-08-03 16:20:49 +08:00
Island
b43914770f Merge branch 'bugfix/fix_duplicate_disable_compile_issue' into 'master'
bugfix(ble): Fix compile issue when disable duplicate config option in kconfig.

See merge request espressif/esp-idf!25003
2023-08-03 16:09:44 +08:00
Kapil Gupta
d0fb902789 Merge branch 'bugfix/update_supplicant_copyrights' into 'master'
change(esp_wifi): Update copyright info for wpa_supplicant

See merge request espressif/esp-idf!24919
2023-08-03 13:17:31 +08:00
Jin Cheng
79bb7b6c8a fix(bt): Removed an incorrectly defined HCI error code 2023-08-03 12:15:03 +08:00
Rahul Tank
bae1838f66 Merge branch 'bugfix/handle_NULL_data_periodic_adv' into 'master'
fix(nimble): Add check to set length only if data is valid in periodic adv

Closes BLEQABR23-351

See merge request espressif/esp-idf!24498
2023-08-03 12:11:55 +08:00
Shyamal Khachane
e986bda085 fix(esp_wifi): Fix some OWE issues
1. Allow flow of traffic after 4 way handshake is completed
2. Fix beacon timeout issue in transition mode
2023-08-03 09:41:43 +05:30
morris
956ec54aed fix(heap): use _SAFE version of critical section
because we allow to call malloc and free in an ISR context
2023-08-03 12:02:09 +08:00
morris
fd3d1aa101 feat(async_memcpy): refactor driver code to support different DMA backen
To support AHB and AXI DMA memory copy for the same target (esp32p4).
2023-08-03 12:02:09 +08:00
Cai Xin Ying
0de9a18d4d Merge branch 'docs/update_api-reference/system_and_/inc' into 'master'
docs: update format issues for EN and CN files under api-reference/system and...

Closes DOC-5814

See merge request espressif/esp-idf!24971
2023-08-03 11:32:07 +08:00
Cai Xin Ying
03c15adc94 docs: update format issues for EN and CN files under api-reference/system and... 2023-08-03 11:32:07 +08:00
Chen Yu Dong
ad84b8f4b4 Merge branch 'ci/add_test_case_phy_tsens' into 'master'
ci: add new test tsens phy coexist

See merge request espressif/esp-idf!24298
2023-08-03 11:17:34 +08:00
Cao Sen Miao
4ccbec93e2 bugfix(temperature_sensor): Fix issue that get the value is negative 2023-08-03 11:16:42 +08:00
chenjianhua
6719002dd1 Update bt lib for ESP32-C3 and ESP32-S3(ff6efe7)
- fix(bt/controller): Fixed PHY enable and disable
- feat(bt/controller): Support DAA and LBT mode for BLE CCA
2023-08-03 10:53:03 +08:00
Liu Ning
de409c2ec3 Merge branch 'bugfix/fix_no_mac_retention_at_wifi_start' into 'master'
fix(esp_wifi): fix no mac retention at wifi start

Closes WIFI-6068 和 WIFI-3695

See merge request espressif/esp-idf!25122
2023-08-03 10:47:52 +08:00
Michael (XIAO Xufeng)
1317d9a5b5 Merge branch 'feat/psram_support_d2wd_single_clk_u4wdh' into 'master'
spiram: Add support for U4WDH, and fixed D0WD/D2WD cannot share CLK pins

Closes IDF-4485

See merge request espressif/esp-idf!17665
2023-08-03 10:37:46 +08:00
morris
23585c9af4 Merge branch 'docs_provide_CN_trans_for_contribute_index.rst' into 'master'
docs:Provide CN translation for contribute/index.rst

Closes DOC-5844

See merge request espressif/esp-idf!25019
2023-08-03 10:32:46 +08:00
Jiang Jiang Jian
494c33e8d1 Merge branch 'bugfix/fix_pmf_set_race' into 'master'
fix(wifi): Prevent PMF config overwritten by tx_cb

Closes WIFIBUG-42

See merge request espressif/esp-idf!25119
2023-08-03 09:36:18 +08:00
Aditya Patwardhan
ef320349fe Merge branch 'bugfix/nitpick_in_esp_http_client' into 'master'
fix: nitpick in esp_http_client

See merge request espressif/esp-idf!25066
2023-08-03 02:49:51 +08:00
Mahavir Jain
36d42625af Merge branch 'fix/mmu_hal_valid_vaddr_check' into 'master'
fix(hal): Fix the external memory vaddr region validity check

See merge request espressif/esp-idf!25101
2023-08-02 23:05:16 +08:00
Mahavir Jain
20b10ba914
ci: add secure OTA test for application built without secure padding
Covers issue reported in:
https://github.com/espressif/esp-idf/issues/11995
2023-08-02 19:40:27 +05:30
Mahavir Jain
56fb618733
fix(secure_ota): secure app verification issue without padding bytes
For the following configuration case:

 - CONFIG_SECURE_SIGNED_APPS_RSA_SCHEME
 - CONFIG_SECURE_SIGNED_ON_UPDATE_NO_SECURE_BOOT
 - CONFIG_SECURE_BOOT_ALLOW_SHORT_APP_PARTITION

verification of the application was failing because the externally
padded bytes were not considered in the hash (checksum) process.

This commit fixes the problem by enabling relevant code for secure OTA
without secure boot case.

Closes https://github.com/espressif/esp-idf/issues/11995
2023-08-02 19:31:20 +05:30