Commit Graph

39618 Commits

Author SHA1 Message Date
zhiweijian
2fd56b7ed8 feat(ble/bluedroid): report cte_type in periodic adv report if CTE feature is enabled 2025-04-07 17:03:07 +08:00
zhiweijian
94ada16554 fix(bt/controller): Fixed controller flash only bug if hci-uart is enabled 2025-04-07 17:02:58 +08:00
C.S.M
acd6896872 fix(jpeg): use dma2d empty rx desc event to avoid a stuck 2025-04-07 13:48:35 +08:00
C.S.M
3ae39a039c feat(dma2d): Add a rx empty event callback 2025-04-07 13:40:57 +08:00
Jiang Jiang Jian
60d077eadd Merge branch 'ci/disable_deploy_stable_docs_v5_3' into 'release/v5.3'
ci(docs): disable stable docs deployment (v5.3)

See merge request espressif/esp-idf!38221
2025-04-03 19:53:28 +08:00
Jiang Jiang Jian
246917f51d Merge branch 'fix/fix_l2_cache_miss_issue_5.3_2' into 'release/v5.3'
cache: fixed l2 cache suspended/frozen but l1cache triggers l2 writeback issue (v5.3 full version)

See merge request espressif/esp-idf!38204
2025-04-03 19:52:37 +08:00
zwx
ee150dbf1c feat(802.15.4) add a build CI test for debugging feature 2025-04-03 17:30:59 +08:00
zwx
6e560ba1de feat(802.15.4): supported tx/rx frame dumping 2025-04-03 17:30:59 +08:00
harshal.patil
28e42429f4 fix(examples): Example CA certs must contain the Key Usage parameter
- Example CA certificates that are used for self-signed client certificates
need to include the Key Usage parameter.
- Python3.13 changed the default context of the SSL context that is
generated using ssl.create_default_context() by enabling the VERIFY_X509_STRICT
flag by default
2025-04-03 10:52:47 +05:30
Rahul Tank
b869b7fd87 fix(nimble): Replaced incorrect sizeof with strnlen 2025-04-03 10:25:53 +05:30
wuzhenghui
28882e9b29 fix(esp_hw_support): fix min sleep time calculation missmatch in powerdown flash decision 2025-04-03 11:44:31 +08:00
Marius Vikhammer
2cda6dc0f5 ci(docs): disable stable docs deployment 2025-04-03 11:06:35 +08:00
armando
9dfbc9a59c fix(cache): fixed l2 cache suspended/frozen but l1cache triggers l2 writeback issue 2025-04-02 18:11:02 +08:00
armando
950e54fc96 Revert "fix(cache): fixed l2 cache suspended/frozen but l1cache triggers l2 writeback issue"
This reverts commit df1f0f51f4.
2025-04-02 18:07:49 +08:00
armando
7948c53dde Revert "fix(cache): disable branch predictor when cache freeze"
This reverts commit 6bb78e4573.
2025-04-02 18:07:40 +08:00
Tan Yan Quan
ba45546620 feat(openthread): increase CI timeout for dns CLI commands 2025-04-02 14:42:19 +08:00
Tan Yan Quan
2164e3e7db feat(openthread): update thread-lib to support BR DNS resolution 2025-04-02 14:41:46 +08:00
Tan Yan Quan
a823db9e5d feat(openthread): revert to OT upstream main branch 2025-04-02 14:32:12 +08:00
Tan Yan Quan
7af1de5a82 fix(openthread): change include statement to updated upstream path 2025-04-02 14:32:06 +08:00
Tan Yan Quan
7a84aa6623 fix(openthread): update openthread upstream to support BR DNS resolution 2025-04-02 14:31:13 +08:00
zwx
d756c7d25f fix(802.15.4) fix the behavior of the esp_ieee802154_set_txpower 2025-04-01 17:49:22 +08:00
Zhi Wei Jian
4e24544d1c fix(ble/bluedroid): move setting host feature API to GAP
(cherry picked from commit 79b706ccb0)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2025-04-01 11:03:43 +08:00
Zhi Wei Jian
e145fe0566 feat(bt/bluedroid): Support ble bluedroid host connection subrating feature
(cherry picked from commit fc58f2f67d)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2025-04-01 11:03:41 +08:00
Zhi Wei Jian
6d44d49dd0 feat(bt/bluedroid): Support ble bluedroid host power control feature
(cherry picked from commit 4f05f6e280)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2025-04-01 11:03:39 +08:00
Zhi Wei Jian
7daadbcd90 feat(bt/bluedroid): Support BLE CTE in bluedroid host
(cherry picked from commit fcad8b7ebd)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2025-04-01 11:03:37 +08:00
Zhi Wei Jian
a025c1870a feat(bt/bluedroid): Support BLE iso in bluedroid host
(cherry picked from commit 7128087646)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2025-04-01 11:03:34 +08:00
igor.masar
ddd9d02794 fix(usb_host): Fix return code and description
Changed error code from ESP_ERR_INVALID_STATE to ESP_ERR_NOT_FOUND
when the client never opened the device.
Updated function documentation to correctly reflect return values.
2025-03-31 23:44:32 +02:00
Myk Melez
5750b151cf fix(usb_host): Give semaphore on attempted close of non-opened device
If you call *usb_host_device_close()* for a device that isn't open, the function exits early,
without giving back the semaphore it took, which causes any other call that tries to take
that semaphore to hang indefinitely.

Strangely, there's redundant handling of this condition, with two checks in a row that both handle
the case where `_check_client_opened_device(client_obj, dev_addr)` returns `false`:

```c
    HOST_CHECK_FROM_CRIT(_check_client_opened_device(client_obj, dev_addr), ESP_ERR_NOT_FOUND);
    if (!_check_client_opened_device(client_obj, dev_addr)) {
        // Client never opened this device
        ret = ESP_ERR_INVALID_STATE;
        HOST_EXIT_CRITICAL();
        goto exit;
    }
…
exit:
    xSemaphoreGive(p_host_lib_obj->constant.mux_lock);
    return ret;
```

The first line is the one that exits early, as HOST_CHECK_FROM_CRIT returns its second parameter
if its first parameter is false, without giving back the semaphore (although it does exit
the critical section).

The subsequent block handles the exact same case, except that it ensures the semaphore is given
back before returning. Currently, this block is never reached.

Perhaps the first check was added, then someone noticed the issue and added the second check,
but they forgot to remove the first one.

In any case, this PR removes the first check, so the second check can properly handle this case
by giving back the semaphore before returning.

This bug appears to have been present in the initial commit of the USB Host library to the ESP-IDF
repo: accbaee57c

Of course, if you never try to close a non-opened device, then you won't encounter it!
Unfortunately, I have some code that tried to do that, which is how I found the issue.
2025-03-31 23:44:32 +02:00
wangtao@espressif.com
8e11fdf1fd fix(dhcp): fix dhcp server recv decline issue 2025-03-31 14:11:44 +08:00
Renze Nicolai
cb7cdb315e fix: add missing break statements to usb_serial_jtag_ll_phy_select,
Closes https://github.com/espressif/esp-idf/pull/15499
2025-03-31 10:39:18 +08:00
Abhinav Kudnar
3e4a0c2876 fix(nimble): Fix conversion for min-max itvl of periodic adv param 2025-03-28 14:19:40 +08:00
Song Ruo Jing
7b4ac061db fix(ledc): fix race condition in ledc_fade_stop causing assert failure
Closes https://github.com/espressif/esp-idf/issues/15580
2025-03-27 20:17:03 +08:00
xiongweichao
8d5543b191 fix(bt/bluedroid): fix the issue of connection failure when initializing multiple profiles
- Due to the number of service security records exceeding the maximum value, the connection failed
2025-03-27 19:56:52 +08:00
Jiang Jiang Jian
517e489c75 Merge branch 'fix/fix_l2_cache_miss_issue_v5.3' into 'release/v5.3'
cache: fixed l2 cache suspended/frozen but l1cache triggers l2 writeback issue (v5.3)

See merge request espressif/esp-idf!37999
2025-03-27 00:41:08 +08:00
armando
6bb78e4573 fix(cache): disable branch predictor when cache freeze 2025-03-26 18:59:37 +08:00
armando
df1f0f51f4 fix(cache): fixed l2 cache suspended/frozen but l1cache triggers l2 writeback issue 2025-03-26 18:59:33 +08:00
Island
07f4ff8c00 Merge branch 'feature/add_vendor_ble_cmd_definitions_5.3' into 'release/v5.3'
Feature/add vendor ble cmd definitions (v5.3)

See merge request espressif/esp-idf!37957
2025-03-26 13:58:31 +08:00
zhiweijian
fe6e6b3613 feat(bt): fixed some doc error and add ocf parameters description 2025-03-25 14:22:15 +08:00
Tan Yan Quan
f4d3a0396d fix(openthread): add some bugfixes to pass CI pipeline 2025-03-25 12:22:53 +08:00
Tan Yan Quan
59909d648d refactor(openthread): move isr_handle_timerX to esp_ieee802154_timer 2025-03-25 12:22:53 +08:00
Tan Yan Quan
70bbe45f32 fix(openthread): calibrate CSL tx parameters 2025-03-25 12:22:53 +08:00
Tan Yan Quan
dc2500bd08 fix(openthread): turn off rx for SSED running CSL during idle 2025-03-25 12:06:18 +08:00
Shen Weilong
e45c7dadd1 feat(bt): added definitions for bluetooth hci vendor commands and events 2025-03-24 20:20:35 +08:00
Shen Wei Long
92ddd1cccb feat(ble/controller): Deleted useless functions for ESP32-C6/H2/C2 2025-03-24 20:20:35 +08:00
Geng Yu Chao
c28b58a059 feat(ble): Add Kconfig support for direction finding feature
(cherry picked from commit 8c7af817d89c254714dc9c93414499fead3717d3)

Co-authored-by: Geng Yuchao <gengyuchao@espressif.com>
2025-03-24 11:56:05 +05:30
Geng Yuchao
31e4d7e31b feat(ble):Support Bluetooth LE 5.1 direction finding feature 2025-03-24 11:56:05 +05:30
Rahul Tank
2ebf77da91 fix(nimble): Fix SMP command allocation 2025-03-24 11:56:05 +05:30
Shreeyash
7a6f552df3 feat(nimble): support vendor event mask set and vendor HCI event on nimble host 2025-03-24 11:56:05 +05:30
Rahul Tank
c80e35cbbb fix(nimble): Fix incorrect event deinit in gatt caching discovery 2025-03-24 11:56:05 +05:30
Rahul Tank
27590a7c0c fix(nimble): Exposed the ble_gap_wl_tx_add API to add a device in whitelist 2025-03-24 11:56:05 +05:30