Commit Graph

31877 Commits

Author SHA1 Message Date
Xu Si Yu
d339120bed feat(openthread): support esp openthread radio spinel 2024-01-25 14:14:51 +08:00
Roshan Bangar
30f01c33e1 feat(nimble): Gatt caching support 2024-01-25 09:59:03 +05:30
zhiweijian
4529a6ab6e 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 wifi boot bug at low temp on ESP32-C6
4. Fixed BLE and WIFI could not receive packets after entering light sleep for a long time on ESP32-C3, ESP32-S3, ESP32-C2 and ESP32-C6
2024-01-25 12:26:25 +08:00
Island
e4ae078224 Merge branch 'bugfix/ble_check_adv_data_v5.1' into 'release/v5.1'
fix(bt/bluedroid): Fix ble adv data check to avoid memory overflow(backport v5.1)

See merge request espressif/esp-idf!28406
2024-01-25 12:06:02 +08:00
Island
7d45bbef63 Merge branch 'bugfix/fix_ble_memory_leak_v5.1' into 'release/v5.1'
fix(ble/bluedroid): Fix ble memory leak when gattc config off(backport v5.1)

See merge request espressif/esp-idf!28496
2024-01-25 11:59:13 +08:00
Island
4fd3de1ce8 Merge branch 'bugfix/fix_some_ble_issue_v5.1' into 'release/v5.1'
Bugfix/fix some ble issue v5.1(backport v5.1)

See merge request espressif/esp-idf!28616
2024-01-25 11:59:02 +08:00
Island
9a85bb8426 Merge branch 'bugfix/address_resolution_v5.1' into 'release/v5.1'
fix(nimble): Added support for address resolution during inquiry (v5.1)

See merge request espressif/esp-idf!28519
2024-01-25 11:58:47 +08:00
Jiang Jiang Jian
26bbec86f2 Merge branch 'bugfix/fix_pmk_invalid_wpa_or_wpa2_connect_fail_issue_v5.1' into 'release/v5.1'
fix(wifi): fix pmk invalid lead same ssid wpa and wpa2 connect fail issue(Backport v5.1)

See merge request espressif/esp-idf!28668
2024-01-25 09:57:44 +08:00
Frantisek Hrbata
f3c6aa975d fix: save RunTool command output with correct line endings
Currently RunTool reads command's output with asyncio read, which
returns bytes. This is decoded into python's string and the output already
contains OS specific line endings, which on Windows is CRLF. Problem is
that the command output is saved by using python's text stream/file,
which replaces LF, native python's line ending, with OS specific line ending.
On Windows, and in this particular case, the CRLF from the command output is
translated into CRCRLF and saved in the commands output file. When this
file is read in again, e.g. for hint modules, the CRCRLF is replaced
with LFLF. Again the file is open as text file. Meaning a new emply line
is added.

Fix this by opening the output file with "newline=''", which prevents
this translation. We already have the OS specific line ending in the
command's output.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2024-01-24 13:15:03 +01:00
jim
35b4151fee mbedtls: Fix enable dynamic mbedtls will occur heap corruption when server support TLS renegotiation 2024-01-24 17:53:09 +08:00
Mahavir Jain
614ad494f6
fix(soc): change debug addr range to CPU subsystem range
For C6/H2/P4/C5, there is no SoC specific debug range. Instead the same
address range is part of CPU Subsystem range which contains debug mode
specific code and interrupt config registers (CLINT, PLIC etc.).

For now the PMP entry is provided with RWX permission for both machine
and user mode but we can save this entry and allow the access to only
machine mode for this range.

For P4/C5 case, this PMP entry can have RW permission as the debug mode
specific code is not present in this memory range.
2024-01-24 12:52:27 +05:30
Mahavir Jain
5dec348666 Merge branch 'feat/update_cjson_v1_7_17_v5.1' into 'release/v5.1'
feat(cJSON): update submodule to v1.7.17 (v5.1)

See merge request espressif/esp-idf!28349
2024-01-24 15:05:10 +08:00
Mahavir Jain
d7e275c408 Merge branch 'feat/add_ble_support_in_local_ctrl_example_v5.1' into 'release/v5.1'
fix(examples): Fix encoding issue in esp_local_ctrl's proto script (v5.1)

See merge request espressif/esp-idf!28128
2024-01-24 15:04:45 +08:00
Mahavir Jain
da47d4d632 Merge branch 'bugfix/update_jtag_disabling_api_v5.1' into 'release/v5.1'
fix(esp_hw_support): fix API esp_hmac_disable_jtag() to disable JTAG (v5.1)

See merge request espressif/esp-idf!28493
2024-01-24 15:04:33 +08:00
Jiang Jiang Jian
c9f2c512b6 Merge branch 'bugfix/change_default_value_for_ip_ttl_5.1' into 'release/v5.1'
Fix(lwip):bugfix for change default value for ip ttl 5.1

See merge request espressif/esp-idf!28400
2024-01-24 14:48:11 +08:00
Jiang Jiang Jian
01f6a7a5c7 Merge branch 'bugfix/revert_changes_a2dp_sink_example_v5.1' into 'release/v5.1'
Revert "fix(bt/bluedroid): corrected the strings of A2DP audio states" (v5.1)

See merge request espressif/esp-idf!28363
2024-01-24 14:47:49 +08:00
muhaidong
3fa5a76a00 fix(wifi): fix pmk invalid lead same ssid wpa and wpa2 connect fail issue 2024-01-24 12:03:14 +08:00
xueyunfei
8b16d9b8bc Fix(lwip):bugfix for change default value for ip ttl 2024-01-24 10:48:57 +08:00
Jin Cheng
bc3c3ac417 Revert "fix(bt/bluedroid): corrected the strings of A2DP audio states"
This reverts commit 00052aa208.
2024-01-24 10:48:10 +08:00
Xu Si Yu
abaa9f2bfe ci(openthread): Add a test case for openthread sleepy device 2024-01-23 16:11:29 +08:00
wuzhenghui
9a246bcbf1 feat: support dump last time sleep context 2024-01-23 16:11:29 +08:00
nilesh.kale
fa02eeeb97 fix(esp_hw_support): fix API esp_hmac_disable_jtag() to disable JTAG
After ets_hmac_disable(), invalidating JTAG register process is ineffective.
So, added call to enable hmac begore invalidating JTAG REG.
And similarly disabled it after invalidation.
2024-01-23 12:20:06 +05:30
laokaiyao
d7b6ebe7df fix(i2s): fixed incorrect reg base name on C3
Closes https://github.com/espressif/esp-idf/issues/12643
2024-01-23 12:05:45 +08:00
Cao Sen Miao
bba56bc016 fix(bod): Fix BOD threshold value on ESP32H2 2024-01-23 10:13:33 +08:00
zhanghaipeng
2874c5e281 feat(bt/bluedroid): Support ext adv aux option 2024-01-22 20:56:26 +08:00
zhanghaipeng
d6d6963fea fix(bt/bluedroid): Fix BLE malloc internal wrapper fail 2024-01-22 20:56:14 +08:00
Zeke Gustafson
5fa653771f feat(ble/bluedroid): Add getter for BLE GAP callback 2024-01-22 20:56:03 +08:00
Zeke Gustafson
8dbfff100e feat(ble/bluedroid): Add getter for BLE GATTS callback 2024-01-22 20:55:56 +08:00
zhanghaipeng
77ca6c58c1 feat(ble/bluedroid): Add getter for BLE GATTC calllback 2024-01-22 20:55:49 +08:00
zhanghaipeng
cc78bb61b5 docs(ble/bluedroid): Optimize documentation for BLE duplicate scan 2024-01-22 20:55:42 +08:00
zhanghaipeng
9c93c54d81 fix(ble/bluedroid): Fix dangling pointer issue in deletion of bonded devices 2024-01-22 20:55:31 +08:00
zhanghaipeng
22bdd07668 fix(ble/bluedroid): Fix BLE background connection log level 2024-01-22 20:55:23 +08:00
Adam Múdry
8cd9f33235 feat: LittleFS bump version to 1.13.0 2024-01-22 20:23:28 +08:00
sonika.rathi
dbc3a2a80b feat(example/storage/littlefs): add LittleFS demo example 2024-01-22 20:23:28 +08:00
Ondrej Kosta
e9db535290 ci(esp_eth): enabled Ethernet ip101 jobs 2024-01-22 12:46:33 +01:00
Sudeep Mohanty
e2e1542378 fix(console): Fixed linenoise prompt length calculation
This commit fixes a potential issue where in the prompt length used
for the linenoise based console could be calculated as a negative
integer, leading to a console hang.

Closes https://github.com/espressif/esp-idf/issues/4924
2024-01-22 16:22:28 +08:00
Jiang Jiang Jian
7011329b35 Merge branch 'bugfix/fix_scan_request_ifs_error_v5.1' into 'release/v5.1'
Fixed BLE scan request ifs time error in coexistence scenarios on ESP32(backport v5.1)

See merge request espressif/esp-idf!28575
2024-01-22 14:43:05 +08:00
Jiang Jiang Jian
766d26f1f3 Merge branch 'bugfix/fix_crash_issue_when_mesh_deinit_v5.1' into 'release/v5.1'
fix(wifi): fix the crash and malloc fail issue (v5.1)

See merge request espressif/esp-idf!28537
2024-01-22 11:02:46 +08:00
cjin
cdb421f08f feat(ble): added pytest for ble power save example 2024-01-22 10:56:52 +08:00
xiongweichao
22e6e5be06 fix(ble): Fixed the issue of being unable to enter light sleep
- Fixed the issue where light sleep cannot be entered when external 32k XTAL does not exist
2024-01-22 10:49:00 +08:00
Island
899b216223 Merge branch 'bugfix/ble_update_lib_20231229_v5.1' into 'release/v5.1'
update lib on release/v5.1

See merge request espressif/esp-idf!28188
2024-01-22 10:39:06 +08:00
Darshan Dobariya
95e0a1d1b6 fix(nimble): Added support for address resolution during inquiry. 2024-01-22 09:42:22 +08:00
linruihao
2ec5d6b0f2 fix(esp_coex): Fixed potential BLE scan request ifs timer error bug 2024-01-20 11:28:20 +08:00
zhiweijian
bf322fbc4a Fixed BLE scan request ifs timer error in coexistence scenarios 2024-01-20 11:28:20 +08:00
Jiang Jiang Jian
47b44dfa71 Merge branch 'fix/esp32h2_phy_sleep_wakeup_issue_v5.1' into 'release/v5.1'
fix(esp_phy): fix esp32h2 sleep wakeup issue (backport v5.1)

See merge request espressif/esp-idf!28299
2024-01-19 16:47:58 +08:00
Jiang Jiang Jian
214a4d7a37 Merge branch 'bugfix/fix_mac_bb_pd_iwdt_timeout_v5.1' into 'release/v5.1'
fix(ble): fixed interrupt timeout in MAC_BB_PD callback (v5.1)

See merge request espressif/esp-idf!28465
2024-01-19 16:45:35 +08:00
Jiang Jiang Jian
e1b257934c Merge branch 'bugfix/fix_systick_lost_in_esp32_dfs_v5.1' into 'release/v5.1'
fix(esp_pm): safely check ccompare validity in DFS update_ccompare (v5.1)

See merge request espressif/esp-idf!28562
2024-01-19 16:44:39 +08:00
Harshit Malpani
7869e584ce
feat(cjson): update submodule to v1.7.17
Changelog: https://github.com/DaveGamble/cJSON/releases/tag/v1.7.17
2024-01-19 14:06:11 +05:30
schottj
cada5533f2
fix(app_update): fixed undeclared variable 'ret' in esp_ota_ops.c 2024-01-19 14:04:06 +05:30
Harshit Malpani
a7f654fd64
feat: Add API to verify the bootloader and app image
Added an API to verify the bootloader and app image before revoking the key in Secure Boot V2.
This will help in preventing the device to be bricked if the bootloader/application cannot be
verified by any other keys in efuse
2024-01-19 14:04:06 +05:30