Commit Graph

18991 Commits

Author SHA1 Message Date
David Čermák
539f326fd2 Merge branch 'ci/enable_ip101_jobs_v5.0' into 'release/v5.0'
ci(esp_eth): enabled Ethernet ip101 jobs (v5.0)

See merge request espressif/esp-idf!28606
2024-02-29 19:28:18 +08:00
Rahul Tank
41a50ca5ce fix(nimble): Increase range of reattempt connection count 2024-02-29 15:58:07 +05:30
Simon H
515f085f70
fix(esp_wifi): Remove semicolon from SMARTCONFIG_START_CONFIG_DEFAULT
Removed rogue semicolon from SMARTCONFIG_START_CONFIG_DEFAULT() macro. This
fixes build issues when this macro is used via C++ brace initialization.

Closes https://github.com/espressif/esp-idf/pull/12867

[Darian Leung: Updated commit message]
Signed-off-by: Darian Leung <darian@espressif.com>
2024-02-29 17:59:51 +08:00
Rahul Tank
effd2ededb fix(nimble): Add adv interval min/max range check (v5.0) 2024-02-29 11:02:41 +05:30
Jiang Jiang Jian
702853c00e Merge branch 'bugfix/esp32c2_eap_auth_v5.0' into 'release/v5.0'
fix(wifi): Added low heap usage Kconfig option for eap enterprise (v5.0)

See merge request espressif/esp-idf!28826
2024-02-29 11:24:50 +08:00
Jiang Jiang Jian
1e8aa6c8b6 Merge branch 'bugfix/mbo_api_flag_v5.0' into 'release/v5.0'
fix(wpa_supplicant):Add MBO config flag for mbo apis(v5.0)

See merge request espressif/esp-idf!28696
2024-02-29 11:24:31 +08:00
Ondrej Kosta
3d90c7755f fix(esp_eth): Fixed Ethernet link reset when Ethernet is stopped 2024-02-28 15:50:30 +01:00
radek.tandler
56cb47be79 fix(nvs): Improved lockig mechanism for initialization phase 2024-02-28 12:43:51 +01:00
radek.tandler
12d8abde53 fix(nvs): eraseMultiPageBlob to robustly delete all related BLOB_DATA records and respect VER_ANY 2024-02-28 12:43:51 +01:00
radek.tandler
6cd48e0e91 fix(nvs): corrected findItem to return BLOB_DATA when chunkIndex = CHUNK_ANY 2024-02-28 12:43:51 +01:00
radek.tandler
4b16c95883 fix(nvs): added check and erase of mismatched BLOB_DATA on init 2024-02-28 12:43:51 +01:00
Ivan Grokhotkov
2321decd98 fix(nvs): prevent out of bounds write if blob data is inconsistent 2024-02-28 12:43:50 +01:00
Island
b1992f1b84 Merge branch 'bugfix/ble_update_lib_20240223_v5.0' into 'release/v5.0'
update lib on release/v5.0

See merge request espressif/esp-idf!29208
2024-02-28 16:54:25 +08:00
Jiang Jiang Jian
a1dad7ef57 Merge branch 'bugfix/fix_issues_in_wifi_and_lwip_v5.0' into 'release/v5.0'
fix(wifi): fixed issues in wifi and lwip (v5.0)

See merge request espressif/esp-idf!29201
2024-02-28 16:35:17 +08:00
Jiang Jiang Jian
d80aa9f5b2 Merge branch 'bugfix/encrypted_flash_write_safe_addr_v5.0' into 'release/v5.0'
fix(spi_flash): check for safe write address in encrypted flash API (v5.0)

See merge request espressif/esp-idf!29206
2024-02-28 11:06:48 +08:00
Jiang Jiang Jian
022e57e255 Merge branch 'docs/rf_coexistence_api_guides_support_esp32c2_v5.0' into 'release/v5.0'
Docs: RF coexistence api guides support esp32c2 (v5.0)

See merge request espressif/esp-idf!29216
2024-02-28 11:06:18 +08:00
Jiang Jiang Jian
5952e6ccaf Merge branch 'bugfix/spi_eth_recv_alloc_v5.0' into 'release/v5.0'
fix(esp_eth): improved SPI Ethernet _alloc_recv_buf error handling (v5.0)

See merge request espressif/esp-idf!29084
2024-02-28 11:04:19 +08:00
Abhik Roy
0e9f7aac87 fix(lwip): Fixed debug format, added ci test config
Detailed description of the changes:
  - lwip_debug: Fixed string format error in ip6 and napt (espressif/esp-lwip@f5c43549)
  - dns: fix init with only ipv4 enabled (espressif/esp-lwip@5aab73d7)
2024-02-28 10:59:21 +08:00
zhangyanjiao
99093b8743 feat(lwip): add fall back dns config in menuconfig 2024-02-28 10:59:21 +08:00
zhangyanjiao
ce93d231e9 fix(wifi): fixed scan and mesh deinit issues
1. update scan ap number when clear scan ap records
2. wait for child disconnect when mesh deinit
2024-02-28 10:59:21 +08:00
aditi_lonkar
7c65911c18 fix(wpa_supplicant):Add MBO config flag for mbo apis 2024-02-28 10:37:57 +08:00
Kapil Gupta
c62022b312 fix(wifi): add low memory options for eap enterprise 2024-02-28 10:37:40 +08:00
Jiang Jiang Jian
462dfaf45c Merge branch 'change/reduce_usage_of_iram_when_bt_in_single_mode_v5.0' into 'release/v5.0'
change(bt/bluedroid): Redirect app functions in controller based on the bluetooth mode(backport v5.0)

See merge request espressif/esp-idf!29226
2024-02-28 10:35:38 +08:00
Darshan Dobariya
9e34b224b1 fix(nimble): Fix compilation issue in nimble for -O2 flag 2024-02-27 13:54:50 +05:30
Sumeet Singh
a125c073a0 fix(nimble): Out of order messages during SMP causing DOS vulerability (v5.0) 2024-02-27 10:56:40 +05:30
zwl
3389b68ba9 bugfix(ble) : fixed some ble issues on ESP32-C2 2024-02-27 09:12:29 +08:00
zwl
69b6af9ea9 ble(update):
Update c2 lib to 79be7ec9
2024-02-27 09:12:29 +08:00
zhanghaipeng
b354d97795 fix(ble/bluedroid): Update maximum BLE reconnection attempts configuration 2024-02-27 09:12:12 +08:00
KonstantinKondrashov
f6925f12a0 fix(esp_hw_support): Fix esp_intr_free when taks has no core affinity
Closes https://github.com/espressif/esp-idf/issues/12608
2024-02-26 12:08:46 +02:00
Rahul Tank
3211fa200e fix(nimble): Added API to get current stack operation status (v5.0) 2024-02-26 12:08:18 +05:30
morris
1ddc3564b8 Merge branch 'feature/rmt_encoder_memory_allocator_v5.0' into 'release/v5.0'
feat(rmt): added a help function for allocating encoder memory (v5.0)

See merge request espressif/esp-idf!28792
2024-02-26 13:58:47 +08:00
gongyantao
9b605ab112 change(bt/bluedroid): Redirect app functions in controller based on the bluetooth mode 2024-02-23 19:07:12 +08:00
linruihao
99237104ba fix(esp_coex): add support_coexistence soc_caps for esp32c2 2024-02-23 16:41:52 +08:00
Jiang Jiang Jian
2ed1e79d9a Merge branch 'bugfix/fix_coex_lib_circular_dependency_v5.0' into 'release/v5.0'
fix(esp_coex): fix circular dependency issue on esp32 (v5.0)

See merge request espressif/esp-idf!29174
2024-02-23 15:04:17 +08:00
Mahavir Jain
f01e9be6d5 Merge branch 'fix/build_failure_when_hardware_gcm_is_disabled_v5.0' into 'release/v5.0'
fix(mbedtls/gcm): Fix build failure when config `MBEDTLS_HARDWARE_GCM` is disabled (v5.0)

See merge request espressif/esp-idf!29069
2024-02-23 14:47:49 +08:00
Rahul Tank
6977aa0583 Merge branch 'feat/add_dtm_function_support_v5.0' into 'release/v5.0'
feat(nimble): Add APIs to support BLE DTM functions (v5.0)

See merge request espressif/esp-idf!27144
2024-02-23 12:48:29 +08:00
Mahavir Jain
5ac48e7468 fix(spi_flash): check for safe write address in encrypted flash API 2024-02-23 12:42:46 +08:00
harshal.patil
74eb2add93 fix(mbedtls/gcm): Avoid using GCM hardware when config MBEDTLS_HARDWARE_GCM is disabled 2024-02-23 11:26:21 +08:00
harshal.patil
9f461c010b fix(mbedtls/gcm): Fix build failure when config MBEDTLS_HARDWARE_GCM is disabled 2024-02-23 11:26:21 +08:00
Jiang Jiang Jian
66d71efb87 Merge branch 'bugfix/update_spp_doc_v5.0' into 'release/v5.0'
docs(bt/bluedroid): update API documents of SPP (v5.0)

See merge request espressif/esp-idf!29172
2024-02-23 11:15:03 +08:00
Jiang Jiang Jian
7a649e80c1 Merge branch 'feat/support_get_bluedroid_status_v5.0' into 'release/v5.0'
Support get status of bluedroid host (backport v5.0)

See merge request espressif/esp-idf!28883
2024-02-23 10:55:14 +08:00
Jiang Jiang Jian
646658a564 Merge branch 'bugfix/fix_dangling_pointer_in_remove_bond_list_section_v5.0' into 'release/v5.0'
fix(bt/bluedroid): fix dangling pointer issue when logging removed section (backport v5.0)

See merge request espressif/esp-idf!28963
2024-02-23 10:49:27 +08:00
Jiang Jiang Jian
48570f5466 Merge branch 'bugfix/ble_mesh_deinit_reinit_v5.0' into 'release/v5.0'
feat: ble mesh: improve ble mesh deinit when nimble enable(backport v5.0)

See merge request espressif/esp-idf!28924
2024-02-23 10:49:03 +08:00
Jiang Jiang Jian
1cc35f0bdc Merge branch 'bugfix/ble_mesh_ble_advtype_v5.0' into 'release/v5.0'
ble_mesh: update ble mesh ble adv type(backport v5.0)

See merge request espressif/esp-idf!28915
2024-02-23 10:47:45 +08:00
Jiang Jiang Jian
d253654f0f Merge branch 'bugfix/ble_bug_backport_20240205_v5.0' into 'release/v5.0'
Bugfix/ble bug backport 20240205 (backport v5.0)

See merge request espressif/esp-idf!28898
2024-02-23 10:47:06 +08:00
Jiang Jiang Jian
0c555c9fbc Merge branch 'bugfix/fix_dtm_tx_count_v5.0' into 'release/v5.0'
Update bt lib for ESP32-C3 and ESP32-S3(30b57c45)(backport v5.0)

See merge request espressif/esp-idf!28878
2024-02-23 10:45:16 +08:00
Jiang Jiang Jian
91ed63ef02 Merge branch 'feature/supplicant_bss_extmem_v5.0' into 'release/v5.0'
WiFi: Add support to move supplicant BSS to external memory (v5.0)

See merge request espressif/esp-idf!28745
2024-02-23 10:41:41 +08:00
Jiang Jiang Jian
153b81b546 Merge branch 'bugfix/spp_disc_connect_btqabr2023_156_v5.0' into 'release/v5.0'
fix(bt/bluedroid): Fixed SPP connection failure(v5.0)

See merge request espressif/esp-idf!28543
2024-02-23 10:40:41 +08:00
morris
7c88240e38 feat(rmt): added a help function for allocating encoder memory
The encoder memory location should respect the RMT_MEM_ALLOC_CAPS,
which is affected by some Kconfig options, like ISR_IRAM_SAFE

Closes https://github.com/espressif/esp-idf/issues/13032
2024-02-23 10:29:31 +08:00
morris
b721f9cd09 Merge branch 'bugfix/fix_incorrect_regbase_name_of_i2s_v5.0' into 'release/v5.0'
fix(i2s): fixed incorrect reg base name on C3 (v5.0)

See merge request espressif/esp-idf!28632
2024-02-23 10:28:41 +08:00
morris
e9fa7a9f06 Merge branch 'bugfix/mcpwm_reset_generator_gpio_v5.0' into 'release/v5.0'
fix(mcpwm): reset GPIO used by generator after delete (v5.0)

See merge request espressif/esp-idf!28833
2024-02-23 10:27:10 +08:00
morris
7146c557e9 Merge branch 'feature/bytes_encoder_config_update_v5.0' into 'release/v5.0'
feat(rmt): support update bytes encoder configurations at runtime (v5.0)

See merge request espressif/esp-idf!28383
2024-02-23 10:26:01 +08:00
morris
fcc7bcbfc7 Merge branch 'contrib/github_pr_13020_v5.0' into 'release/v5.0'
fix (esp_lcd): Don't assume panels are 16bit in VSYNC restart logic (GitHub PR) (v5.0)

See merge request espressif/esp-idf!28813
2024-02-23 10:25:42 +08:00
Konstantin Kondrashov
4c2eec029f feat(efuse): Adds support for alternative efuse names 2024-02-22 13:31:28 +02:00
KonstantinKondrashov
a66baa1984 feat(efuse): Add flash&psram efuses for S3 2024-02-22 11:40:33 +02:00
Marius Vikhammer
422bb72993 Merge branch 'bugfix/linenoise_calculates_negative_prompt_len_v5.0' into 'release/v5.0'
fix(console): Fixed linenoise prompt length calculation (v5.0)

See merge request espressif/esp-idf!28528
2024-02-22 17:32:01 +08:00
Mahavir Jain
68c450df47 Merge branch 'feature/conservative_key_revocation_in_secure_boot_v5.0' into 'release/v5.0'
feat: Add API to verify the bootloader and application image before revoking... (v5.0)

See merge request espressif/esp-idf!28490
2024-02-22 17:15:24 +08:00
Mahavir Jain
5af8e8890d Merge branch 'bugfix/fix_http_auth_without_qop_v5.0' into 'release/v5.0'
fix(esp_http_client): Fix http digest auth without qop (v5.0)

See merge request espressif/esp-idf!28759
2024-02-22 17:15:15 +08:00
Mahavir Jain
534e3ad1fa Merge branch 'bugfix/ota_anti_rollback_checks_2_v5.0' into 'release/v5.0'
feat(bootloader_support): Read secure_version under sha256 protection (v5.0)

See merge request espressif/esp-idf!29061
2024-02-22 17:13:17 +08:00
Mahavir Jain
96e3e4c589 Merge branch 'feature/update_mbedtls_v5.0' into 'release/v5.0'
feat(mbedtls): updated mbedtls version from 3.5.0 to 3.5.2 (v5.0)

See merge request espressif/esp-idf!28894
2024-02-22 17:12:39 +08:00
Aditya Patwardhan
14ddc194bd Merge branch 'feat/flash_enc_encrypt_app_image_of_size_image_length_v5.0' into 'release/v5.0'
feat(bootloader_support): Encrypt only the app image instead of the whole partition (v5.0)

See merge request espressif/esp-idf!28267
2024-02-22 17:06:42 +08:00
linruihao
bc5addf826 fix(esp_coex): fix circular dependency issue on esp32
Closes https://github.com/espressif/esp-idf/issues/13113
2024-02-22 16:52:37 +08:00
Jin Cheng
7e4995d92c docs(bt/bluedroid): update API documents of SPP 2024-02-22 09:57:47 +08:00
Mahavir Jain
1620858985 fix(bootloader_support): check the secure version only for app image
Secure version in the image header is only available for the application
image. However, for certain security workflows, bootloader verifies
itself (own image) and hence the secure version check during that must be
avoided.

Regression introduced in recent commit-id: 3305cb4d

Tested that both secure boot and flash-enc workflows work correctly
with the anti-rollback scenario.
2024-02-20 11:18:28 +02:00
Aditya Patwardhan
bcca689866
change(version): Update version to 5.0.6 2024-02-20 10:03:13 +05:30
Ondrej Kosta
62a2b27082 fix(esp_eth): improved SPI Ethernet _alloc_recv_buf error handling 2024-02-16 14:43:53 +01:00
Mahavir Jain
f2743707b8 fix(ota): additional checks for secure version in anti-rollback case
Some additional checks related to secure version of the application in
anti-rollback case have been added to avoid any attempts to boot lower
security version but valid application (e.g., passive partition image).

- Read secure_version under sha256 protection

- First check has been added in the bootloader to ensure correct secure
  version after application verification and loading stage. This check
  happens before setting up the flash cache mapping and handling over
  the final control to application. This check ensures that application
  was not swapped (e.g., to lower security version but valid image) just
  before the load stage in bootloader.

- Second check has been added in the application startup code to ensure
  that currently booting app has higher security version than the one
  programmed in the eFuse for anti-rollback scenario. This will ensure
  that only the legit application boots-up on the device for
  anti-rollback case.
2024-02-15 15:14:51 +02:00
Bogdan Kolendovskyy
e703fad818 esp_eth: Add functions to access PHY using MDIO
Specifically:
  - Set/get address
  - Read/write data at address with specified MDIO access function
  - Read/write both address and data with a single call
2024-02-13 12:46:36 +01:00
Bogdan Kolendovskyy
749191016b fix(esp_eth): ip101-specific reset_hw to match reset timings from datasheet
IP101 requires 10ms reset assertion time and 10ms post-reset delay to properly initialize.
2024-02-09 15:01:03 +01:00
Rahul Tank
b2778ec38d feat(nimble): Add APIs to support BLE DTM functions 2024-02-07 15:20:51 +05:30
gongyantao
817ae554ca fix(bt/bluedroid): fix dangling pointer issue when logging remove section 2024-02-07 14:58:17 +08:00
YuanMingFu
ed2ea01b76 ble_mesh: update ble mesh ble adv type 2024-02-07 13:09:32 +08:00
InfiniteYuan
dae30350dd feat: ble mesh: improve ble mesh deinit when nimble enable 2024-02-06 14:44:58 +08:00
morris
8ac48a138e fix(rgb_lcd): relax the check for the data line GPIO
There are a bunch of cases you might want some pins not exposed.

Eg.

  * Reading say 8 bit data and outputting the top 5 bits, discarding the rest by not mapping those data pins to output pins

 * Not using hsync/vsync because sync data is embedded within the data bits for more timing flexibility (eg. interlacing).

 * Using the LCD module as a high speed parallel data output bus, with no need for sync/control pins.

Removing this validation makes these cases work.

Merges https://github.com/espressif/esp-idf/pull/13103
2024-02-06 10:37:20 +08:00
zhiweijian
4a413b9d27 feat(ble/controller): Add API to get BLE controller status on ESP32 2024-02-05 16:11:26 +08:00
zhiweijian
fb94d9175f Fixed xQueueSemaphoreTask assert when deinit host during scan 2024-02-05 16:11:08 +08:00
nilesh.kale
4f63e93118 feat(mbedtls): updated mbedtls version from 3.5.0 to 3.5.2
This updates the submodule mbedtls to its latest version 3.5.2.
2024-02-05 12:50:59 +05:30
chenjianhua
479ec4af2a feat(bt/bluedroid): Support get status of bluedroid host 2024-02-04 16:52:12 +08:00
chenjianhua
1e5296008a feat(bt/bluedroid): Make the max number of bond device to be configurable 2024-02-04 16:51:55 +08:00
zhanghaipeng
50ef8650ac fix(ble/controller): Fixed tx count in direct test mode on ESP32-C3 and ESP32-S3
- Fixed tx count in direct test mode on ESP32-C3 and ESP32-S3
- fixed modem sleep enter failed sometimes
2024-02-04 14:28:28 +08:00
chenjianhua
1363cbe1ca fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(91980c2)
- Fixed scheduling when modem sleep wakeup delayed
- Fixed IRQ FIFO overflow when enter critical
- Fixed clock sync timeout for modem sleep
- Fixed directed adv with RPA when privacy disabled
- Fixed instant passed for connection update and PHY update
2024-02-04 14:28:12 +08:00
morris
1ce7be11fa fix(mcpwm): reset GPIO used by generator after delete
Closes https://github.com/espressif/esp-idf/issues/12980
2024-02-01 17:49:53 +08:00
Jiang Jiang Jian
899bc1d6b2 Merge branch 'bugfix/no_wakeup_sleep_v5.0' into 'release/v5.0'
fix(ble): Fixed Bluetooth not waking up due to clock drift(v5.0)

See merge request espressif/esp-idf!28723
2024-02-01 00:02:09 +08:00
Brian Whitman
d44dc57f8a fix(rgb_lcd): don't assume 16 bit width on panels for restart logic
Merges https://github.com/espressif/esp-idf/pull/13020
2024-01-31 18:56:49 +08:00
Island
1d83a2125a Merge branch 'feat/ble_mesh_miscellaneous_update_v5.0' into 'release/v5.0'
feat(ble_mesh): Miscellaneous updates for mesh kconfig, relay related(v5.0)

See merge request espressif/esp-idf!28034
2024-01-31 18:29:34 +08:00
Island
68a90a1f05 Merge branch 'bugfix/fix_sm_inject_io_return_val_v5.0' into 'release/v5.0'
fix(nimble): Added change to ensure that API execution returns success (v5.0)

See merge request espressif/esp-idf!28651
2024-01-31 17:34:02 +08:00
Jiang Jiang Jian
decb0c21c5 Merge branch 'bugfix/fix_systick_lost_in_esp32_dfs_v5.0' into 'release/v5.0'
fix(esp_pm): safely check ccompare validity in DFS update_ccompare (v5.0)

See merge request espressif/esp-idf!28563
2024-01-31 10:42:18 +08:00
Darshan Dobariya
c5c3b5bfe8 fix(nimble): Added change to ensure that API execution returns success (v5.0) 2024-01-30 14:48:53 +05:30
Island
cb4aa11362 Merge branch 'bugfix/add_minor_fixes_debug_v5.0' into 'release/v5.0'
fix(nimble): Add minor debug fixes (v5.0)

See merge request espressif/esp-idf!28534
2024-01-30 17:00:50 +08:00
wuzhenghui
6a63a5b69c fix(esp_pm): safely check ccompare validity in DFS update_ccompare 2024-01-30 16:03:40 +08:00
xiongweichao
332b293215 fix(ble): Fixed macro definition error for 136K clock drift 2024-01-30 15:36:22 +08:00
xiongweichao
08061d3414 fix(ble): Fixed Bluetooth not waking up due to clock drift 2024-01-30 15:36:22 +08:00
Rahul Tank
18caeb919a fix(nimble): Add minor debug fixes 2024-01-30 08:11:37 +05:30
zhiweijian
e988463ea4 fix(esp_phy): Fixed BLE TX 2M problem causing by phy_wifi_enable_set()
1. Fixed BLE 2M phy TX problem causing by phy_wifi_enable_set() on ESP32-C3 and ESP32-S3
2. Fixed BLE CCA bug on ESP32-C2
3. Fixed BLE and WIFI could not receive packets after entering light sleep for a long time on ESP32-C3, ESP32-S3 and ESP32-C2
2024-01-29 16:36:35 +08:00
Harshit Malpani
484de5ee1c
fix(esp_http_client): Fix http digest auth without qop
Closes https://github.com/espressif/esp-idf/issues/12962
2024-01-29 11:22:40 +05:30
Jiang Jiang Jian
f16621c429 Merge branch 'bugfix/fix_pmk_invalid_wpa_or_wpa2_connect_fail_issue_v5.0' into 'release/v5.0'
fix(wifi): fix pmk invalid lead same ssid wpa and wpa2 connect fail issue(Backport v5.0)

See merge request espressif/esp-idf!28674
2024-01-29 10:44:38 +08:00
Kapil Gupta
443842fd9d fix(wifi): Add support to move supplicant BSS to external memory 2024-01-27 11:15:10 +05:30
Island
1da4afc70a Merge branch 'bugfix/address_resolution_v5.0' into 'release/v5.0'
fix(nimble): Added support for address resolution during inquiry (v5.0)

See merge request espressif/esp-idf!28520
2024-01-25 14:07:04 +08:00
Island
acf8c3e9e3 Merge branch 'bugfix/fix_some_ble_issue_v5.0' into 'release/v5.0'
Bugfix/fix some ble issue v5.0(backport v5.0)

See merge request espressif/esp-idf!28615
2024-01-25 12:19:24 +08:00
Island
7324e55dc0 Merge branch 'bugfix/ble_check_adv_data_v5.0' into 'release/v5.0'
fix(bt/bluedroid): Fix ble adv data check to avoid memory overflow(backport v5.0)

See merge request espressif/esp-idf!28407
2024-01-25 12:19:11 +08:00