Commit Graph

31996 Commits

Author SHA1 Message Date
Ivan Grokhotkov
7ff2886c84 fix(sdmmc): use correct argument for ACMD41 in SPI mode
ACMD41 argument is different between SD mode and SPI mode.
In SPI mode, the only non-zero bit may be the HCS bit. Unlike the SD
mode, the bits reflecting the host's OCR should be zero.
Previously, we used to set these bits the same way as for the SD mode.
This has caused certain cards to fail initializing, apparently their
controllers have checked the ACMD41 argument more strictly and refused
to finish initialization, resulting in an error such as

    sdmmc_common: sdmmc_init_ocr: send_op_cond (1) returned 0x107

(Note that this error may have other causes than the one fixed in
this commit. For example, if the card doesn't have a sufficient and
stable power supply, it may also fail to complete the internal
initialization process, and will never clear the busy flag in R1
response.)

Closes https://github.com/espressif/esp-idf/issues/6686
Closes https://github.com/espressif/esp-idf/issues/10542
2024-03-14 13:49:23 +08:00
Jiang Jiang Jian
5059908d08 Merge branch 'fix/fatfs_sdmmc_triming_v5.1' into 'release/v5.1'
fix(storage/fatfs): check whether sdcard supports trimming (v5.1)

See merge request espressif/esp-idf!28336
2024-03-14 13:47:00 +08:00
Jiang Jiang Jian
2d900158ce Merge branch 'ci/create_esp-dockerfile_MR_after_tools.json_updated_v5.1' into 'release/v5.1'
CI: created job and script for creating MR to esp-dockerfiles, added script execution to CI pipeline (v5.1)

See merge request espressif/esp-idf!28130
2024-03-14 13:46:24 +08:00
Jiang Jiang Jian
8b48f33304 Merge branch 'bugfix/reduce_memory_footprint_of_sae_pk_v5.1' into 'release/v5.1'
fix(wifi): Reduce memory footprint for scan when SAE-PK is enabled (v5.1)

See merge request espressif/esp-idf!27654
2024-03-14 10:52:50 +08:00
morris
96888a9ad6 Merge branch 'bugfix/flash_mxic_chip_v5.1' into 'release/v5.1'
fix(spi_flash): Fix MXIC chip flash size detected wrong (backport v5.1)

See merge request espressif/esp-idf!29611
2024-03-14 10:46:13 +08:00
morris
374e54ca78 Merge branch 'bugfix/workaround_reset_eof_counter_c3_v5.1' into 'release/v5.1'
fix(adc): workaround to fix adc continuous get less results on c3 (v5.1)

See merge request espressif/esp-idf!29137
2024-03-14 10:44:23 +08:00
Rahul Tank
077a966fb0 Merge branch 'contrib/github_pr_13034_v5.1' into 'release/v5.1'
docs(nimble): Fixed typo in examples/bluetooth/nimble/blehr/README (GitHub PR) (v5.1)

See merge request espressif/esp-idf!29616
2024-03-13 23:47:08 +08:00
Martin Vychodil
9706e5a274 Merge branch 'bugfix/nvs_lock_initi_and_multipage_blob_v5.1' into 'release/v5.1'
Bugfix/nvs Improved handling of BLOB during unreliable power environment and concurrent data access scenarios (v5.1)

See merge request espressif/esp-idf!29321
2024-03-13 23:10:02 +08:00
Rahul Tank
0c26579d2b Merge branch 'feature/add_doc_for_p4_v5.1' into 'release/v5.1'
docs(nimble): Added gpio configuration table for esp32p4 (v5.1)

See merge request espressif/esp-idf!29600
2024-03-13 20:37:42 +08:00
Aditya Patwardhan
b884b3788e Merge branch 'bugfix/update_disabling_hmac_jtag_method_v5.1' into 'release/v5.1'
fix(esp_hw_support): update hmac toggle method due to discrepency in ROM code (v5.1)

See merge request espressif/esp-idf!29531
2024-03-13 20:20:52 +08:00
Jiang Jiang Jian
db2a037329 Merge branch 'bugfix/hpm_dc_default_disabled_v5.1' into 'release/v5.1'
spi_flash: fixed issue that enabling HPM-DC by default may cause app unable to restart (v5.1)

See merge request espressif/esp-idf!26656
2024-03-13 19:50:59 +08:00
Jiang Jiang Jian
9bada8c1da Merge branch 'save_twdt_to_coredump_v5.1' into 'release/v5.1'
feat(coredump): save twdt panic output to coredump elf file (v5.1)

See merge request espressif/esp-idf!29509
2024-03-13 19:50:17 +08:00
Alex Verschoot
ed4d8752c1 Update README.md
Fix typo
2024-03-13 17:09:31 +05:30
Cao Sen Miao
4af88f7458 fix(spi_flash): Fix MXIC chip flash size detected wrong,
Closes https://github.com/espressif/esp-idf/issues/12222
2024-03-13 18:51:36 +08:00
Marius Vikhammer
663d42f5be Merge branch 'feat/newlib-add-aligned-alloc_v5.1' into 'release/v5.1'
feat(newlib): Add definition of aligned_alloc to heap.c (backport v5.1)

See merge request espressif/esp-idf!29471
2024-03-13 17:52:51 +08:00
Marius Vikhammer
a8a178a480 Merge branch 'docs/esp_event_doc_fix_v5.1' into 'release/v5.1'
docs(esp_event): Fixed mistake in API docs (v5.1)

See merge request espressif/esp-idf!29564
2024-03-13 17:51:50 +08:00
Marius Vikhammer
c045e98092 Merge branch 'contrib/github_pr_12785_v5.1' into 'release/v5.1'
Provide ulp_adc_deinit() API to fix ADC1 handle leakage (GitHub PR) (v5.1)

See merge request espressif/esp-idf!28456
2024-03-13 17:31:19 +08:00
Roshan Bangar
d6105439b7 docs(nimble): Added gpio configuration table for esp32p4 2024-03-13 14:02:49 +05:30
Sarvesh Bodakhe
1d8b484cce fix(esp_wifi): Reduce memory footprint for scan when SAE-PK is enabled
Use bss information cached in wifi library to get RSNXE capabilities
instead of storing bss information again in supplicant and accessing it.
2024-03-13 10:48:07 +05:30
Rahul Tank
5710425216 Merge branch 'bugfix/reconnect_host_based_v5.1' into 'release/v5.1'
fix(nimble): Added ble_host_rpa_enabled flag for address resoultion for esp32 (v5.1)

See merge request espressif/esp-idf!29570
2024-03-13 12:55:07 +08:00
Marius Vikhammer
9ceabe7959 Merge branch 'docs/fix_spiram_mistake_v5.1' into 'release/v5.1'
docs(heap): Fixed mistake in the heap allocator docs (v5.1)

See merge request espressif/esp-idf!29589
2024-03-13 11:32:06 +08:00
Jiang Jiang Jian
1a50f0863b Merge branch 'bugfix/fix_modbus_tcp_slave_examples_use_events_v51' into 'release/v5.1'
fix(examples/modbus): fix modbus slave examples may process event flags incorrectly (Backport v5.1)

See merge request espressif/esp-idf!28248
2024-03-13 10:56:26 +08:00
Alex Lisitsyn
123f8e6714 fix(examples/modbus): fix modbus slave examples may process event flags incorrectly (Backport v5.1) 2024-03-13 10:56:26 +08:00
Island
9fe40d424d Merge branch 'bugfix/ble_update_lib_20240306_v5.1' into 'release/v5.1'
update lib on release/v5.1

See merge request espressif/esp-idf!29436
2024-03-13 10:18:33 +08:00
Jakob Hasse
0a0c74ae1b docs(heap): Fixed mistake in the heap allocator docs
Closes https://github.com/espressif/esp-idf/issues/13353
2024-03-13 09:46:54 +08:00
Marius Vikhammer
1794471b57 Merge branch 'docs/remove_ulp_deep_sleep_example_v5.1' into 'release/v5.1'
docs(deep_sleep): removed mentions of ULP in deep sleep example readme (v5.1)

See merge request espressif/esp-idf!29575
2024-03-13 09:26:01 +08:00
radek.tandler
c3f335817b fix(nvs): Fixed Page::findItem performance degradation caused by wrong condition before hash map use
The condition enabling use of hash map when page is searched for Item was modified
to correct the bug introduced by commit addressing delete of any BLOB_INDEX Items.
This correction returns the performance of findItem to the state before previous change.
2024-03-12 16:27:36 +01:00
radek.tandler
2acac6b848 fix(nvs): Adopted CMakeLists for host test if IDF v5.1 2024-03-12 16:27:36 +01:00
radek.tandler
0d3bbed981 fix(nvs): Improved lockig mechanism for initialization phase 2024-03-12 16:27:36 +01:00
radek.tandler
a1750801f6 fix(nvs): eraseMultiPageBlob to robustly delete all related BLOB_DATA records and respect VER_ANY 2024-03-12 16:27:36 +01:00
radek.tandler
66b2a50066 fix(nvs): corrected findItem to return BLOB_DATA when chunkIndex = CHUNK_ANY 2024-03-12 16:27:36 +01:00
radek.tandler
9a9ef9d843 fix(nvs): added check and erase of mismatched BLOB_DATA on init 2024-03-12 16:27:36 +01:00
Ivan Grokhotkov
ee836d236f fix(nvs): prevent out of bounds write if blob data is inconsistent 2024-03-12 16:27:36 +01:00
Darshan Dobariya
86ec111525 fix(nimble): Added ble_host_rpa_enabled flag for address resoultion for esp32 2024-03-12 20:53:43 +05:30
Rahul Tank
a4916eb8a6 Merge branch 'bugfix/fix_strict_prototype_hid_v5.1' into 'release/v5.1'
fix(nimble): Address compilation errors when strict-prototype is enabled (v5.1)

See merge request espressif/esp-idf!29541
2024-03-12 23:00:59 +08:00
Jiang Jiang Jian
3991a987f1 Merge branch 'bugfix/fix_some_wifi_bugs_240311_v5.1' into 'release/v5.1'
fix(wifi): fix some wifi issues(Backport v5.1)

See merge request espressif/esp-idf!29565
2024-03-12 22:44:19 +08:00
muhaidong
ec16fa7dd5 fix(wifi): fix some amsdu issue
1. fix qos encapsulated eapol issue
2. fix qos eapol eb data length issue
3. eapol arp and dhcp add flag PP_F_PER_PKT_RATE
4. fix lmac_stop_hw_txq issue
5. limit the number of sub amsdu
6. fix recycle cache sub amsdu eb issue
2024-03-12 19:01:09 +08:00
muhaidong
4ae8d2179d fix(wifi): fix lmac_stop_hw_txq issue 2024-03-12 19:01:09 +08:00
muhaidong
0aadc3ec2a fix(wifi): fix some wifi issues
1. fix qos encapsulated eapol issue
2. fixed dhcp offer and dhcp ack data rates
2024-03-12 19:01:09 +08:00
muhaidong
becd279fd7 fix(example): fixed app partion is too small for binary size 2024-03-12 19:01:09 +08:00
muhaidong
b7e382e0a5 fix(wifi): fix smart config bssid set issue 2024-03-12 19:01:09 +08:00
Erhan Kurubas
5d1b6b7b99 feat(coredump): save twdt panic output to coredump elf file 2024-03-12 10:40:29 +01:00
Jiang Jiang Jian
7b04776d13 Merge branch 'fix/bbpll_usb_link_error_backport5.1' into 'release/v5.1'
fix(esp_phy): Allow WiFi/USB interference workaround option only on supported targets (backport v5.1)

See merge request espressif/esp-idf!29480
2024-03-12 16:28:51 +08:00
Marius Vikhammer
af31783225 docs(deep_sleep): removed mentions of ULP in deep sleep example readme
Updated readme to reflect that ULP is no longer a part of this examples
functionality.

Closes https://github.com/espressif/esp-idf/issues/13340
2024-03-12 16:12:15 +08:00
Roland Dobai
46ba89c8be Merge branch 'feature/export_bat_exit_codes_v5.1' into 'release/v5.1'
feat(tools): produce correct err code in install/export .bat scripts (v5.1)

See merge request espressif/esp-idf!29545
2024-03-12 15:12:15 +08:00
nilesh.kale
8cb2aa4fd3 fix(esp_hw_support): update hmac toggle method due to discrepency in ROM code
Need to update the HMAC enable/disable method due to discrepancy in ROM code
across different targets for the ets_hmac_disable() API.
2024-03-12 12:27:39 +05:30
Guillaume Souchere
7c82811e70 feat(newlib): Add definition of aligned_alloc to heap.c
Add the definition of aligned_alloc to the list of
definitions provided by heap.c.

Note that memalign (strictly equivalent) to aligned_alloc
is already defined in heap.c.
2024-03-12 14:07:53 +08:00
Rahul Tank
f93025b7f9 Merge branch 'feat/exposed_gap_service_macros_to_menuconfig_v5.1' into 'release/v5.1'
feat(nimble): Exposed macros used by GAP service to menuconfig (v5.1)

See merge request espressif/esp-idf!29505
2024-03-12 12:22:23 +08:00
Shu Chen
fcd6cfdde5 Merge branch 'backport5.1/openthread_example_configurations' into 'release/v5.1'
fix(openthread): configurations for openthread examples(backport 5.1)

See merge request espressif/esp-idf!29533
2024-03-12 11:18:40 +08:00
Jiang Jiang Jian
e524ab1ede Merge branch 'bugfix/fix_task_wdt_in_mplen_clear_v5.1' into 'release/v5.1'
fix(wifi):fix issues that in mplen clear and esp_wifi_set_mode(Backport v5.1)

See merge request espressif/esp-idf!29530
2024-03-12 10:56:54 +08:00