Commit Graph

32056 Commits

Author SHA1 Message Date
Jiang Jiang Jian
f21038666a Merge branch 'update/littlefs_demo_example_v5.1_v2' into 'release/v5.1'
LittleFS demo example added & Update/littlefs demo example (v5.1) v2

See merge request espressif/esp-idf!29450
2024-03-14 13:49:53 +08:00
Ivan Grokhotkov
7c20d54953 fix(sdmmc): extend the maximum number of retries of ACMD41
According to the application note in SD Card Physical Specification:

> The host shall set ACMD41 timeout more than 1 second to abort repeat
of issuing ACMD41 when the card does not indicate ready. The timeout
count starts from the first ACMD41 which is set voltage window
in the argument.

Previously, the timeout was exactly one second, and this caused
certain larger-capacity cards to "time out", because they couldn't
finish initialization process in time.
2024-03-14 13:49:23 +08:00
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
Jin Cheng
0fcd6a7c73 feat(bt/bluedroid): Moved the memory allocation of HF AG control blocks to BTC module 2024-03-14 10:53:11 +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
harshal.patil
b1586cc041
fix(tcp_transport): Fix coverity report regarding tcp_transport 2024-03-13 11:25:12 +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
Adam Múdry
7a235d5bae feat: LittleFS bump version to 1.14.2 2024-03-12 20:58:14 +08:00
Adam Múdry
61b5121c38 feat: LittleFS bump version to 1.13.0 2024-03-12 20:58:14 +08:00
sonika.rathi
0bec1976b1 feat(example/storage/littlefs): add LittleFS demo example 2024-03-12 20:58:14 +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