Commit Graph

21890 Commits

Author SHA1 Message Date
zwl
45b9ccfb1f ble: optimize bt cmakelists.txt file 2024-05-13 17:49:35 +08:00
zwl
5e2679a02f ble: support only legacy adv and slave function on esp32c2 2024-05-13 17:49:35 +08:00
wuzhenghui
57ef28a6c6
docs(gpio): add description for gpio_force_hold_all & gpio_force_unhold_all
Closes https://github.com/espressif/esp-idf/issues/13186
2024-05-13 16:24:56 +08:00
morris
9808619d52 Merge branch 'bugfix/fix_gpio_etm_multi_task_v5.1' into 'release/v5.1'
fix(gpio_etm): allow one GPIO binds to multiple ETM tasks (v5.1)

See merge request espressif/esp-idf!30457
2024-05-13 15:59:44 +08:00
wuzhenghui
2e21a74d85
docs(esp_pm): Adding notes on configuring GPIOs when using PD_TOP sleep
Closes https://github.com/espressif/esp-idf/issues/13143
2024-05-13 15:58:15 +08:00
Rahul Tank
9ac8768650 fix(nimble): Free controller memory if init fails 2024-05-13 12:00:16 +05:30
Mahavir Jain
bbd9fe21f3 Merge branch 'backport/support_tls1_3_v5.1' into 'release/v5.1'
https_mbedtls: update example to support TLS 1.3 connection

See merge request espressif/esp-idf!30606
2024-05-13 14:11:02 +08:00
Island
cb98558051 Merge branch 'bugfix/fix_some_ble_bugs_cjh_v5.1' into 'release/v5.1'
Fixed some BT and BLE bugs 2404 (backport v5.1)

See merge request espressif/esp-idf!30784
2024-05-13 14:01:24 +08:00
Rahul Tank
7ad7f84f0f Merge branch 'bugfix/fix_ble_issues_5.1' into 'release/v5.1'
fix(nimble): Bugfix/fix ble issues 5.1

See merge request espressif/esp-idf!30246
2024-05-13 13:55:15 +08:00
zhangyanjiao
10a837db5f fix(wifi): fix the tx issue when mesh packet lifetime remain equal to zero 2024-05-13 11:31:13 +08:00
Jiang Jiang Jian
a79bd17e39 Merge branch 'bugfix/bt_bss_in_extram_v5.1' into 'release/v5.1'
fix(bt): Fix missing linker symbol when ESP_ALLOW_BSS_SEG_EXTERNAL_MEMORY enabled(backport v5.1)

See merge request espressif/esp-idf!30636
2024-05-13 11:01:50 +08:00
Jiang Jiang Jian
af5579d3f2 Merge branch 'bugfix/hf_local_param_null_v5.1' into 'release/v5.1'
fix(bt/bluedroid): allocate memory for control block of HFP Audio Gateway (v5.1)

See merge request espressif/esp-idf!30441
2024-05-13 11:00:04 +08:00
Jiang Jiang Jian
db65d0b71e Merge branch 'feature/disable_pmk_caching_v5.1' into 'release/v5.1'
feat(esp_wifi): Provide API to disable PMK caching (v5.1)

See merge request espressif/esp-idf!30290
2024-05-13 10:43:22 +08:00
Jiang Jiang Jian
80de3e63a9 Merge branch 'bugfix/fix_ble_appearance_v5.1' into 'release/v5.1'
Fixed BLE appearance category ranges (v5.1)

See merge request espressif/esp-idf!30286
2024-05-13 10:43:05 +08:00
Jiang Jiang Jian
a2bbd59755 Merge branch 'support/esp_sleep_enable_ext1_wakeup_io_v5.1' into 'release/v5.1'
Support/esp sleep enable ext1 wakeup io(backport v5.1)

See merge request espressif/esp-idf!30164
2024-05-13 10:42:20 +08:00
Jiang Jiang Jian
17e072ea01 Merge branch 'bugfix/add_workaround_for_ble_rtc_hw_issue_backport_v5.1' into 'release/v5.1'
fix(ble): add workaround for ble RTC not enabled issue (v5.1)

See merge request espressif/esp-idf!30133
2024-05-13 10:40:36 +08:00
Jiang Jiang Jian
50da12dafc Merge branch 'feat/set_cpu_freq_after_pm_config_changed_v5.1' into 'release/v5.1'
fix(esp_pm): update CPU frequency immediately after updating pm_config (v5.1)

See merge request espressif/esp-idf!30071
2024-05-13 10:39:28 +08:00
Jiang Jiang Jian
eb639cd917 Merge branch 'bugfix/ble_mesh_heartbeat_filter_add_v5.1' into 'release/v5.1'
Fix(ble_mesh):fix error condition for heartbeat filter adding node address (v5.1)

See merge request espressif/esp-idf!29987
2024-05-13 10:38:27 +08:00
Jiang Jiang Jian
ffbb69e9d5 Merge branch 'change/add_convt_from_hci_state_to_esp_state_v5.1' into 'release/v5.1'
change(bt/bluedroid): Use BTC util to convert HCI status to ESP status (v5.1)

See merge request espressif/esp-idf!29922
2024-05-13 10:37:35 +08:00
Jiang Jiang Jian
3e151e836f Merge branch 'bugfix/dpp_auth_deinit_crash_v51' into 'release/v5.1'
Fix issues with DPP stop listen and DPP auth data deinit (Backport v5.1)

See merge request espressif/esp-idf!29702
2024-05-13 10:37:09 +08:00
Wang Meng Yang
7f127429d3 Merge branch 'bugfix/sdp_remove_record_no_evt_v5.1' into 'release/v5.1'
fix(bt/bluedroid): Fixed the crash caused by using illegal pointers during SDP deinit(v5.1)

See merge request espressif/esp-idf!29943
2024-05-13 10:18:47 +08:00
Wang Meng Yang
5056683c0a Merge branch 'feature/add_api_to_send_vendor_hci_cmd_v5.1' into 'release/v5.1'
Feature/add api to send vendor hci cmd (backport v5.1)

See merge request espressif/esp-idf!30226
2024-05-13 10:16:50 +08:00
Rahul Tank
12fd2435ea fix(nimble): Expose API to set RPA Timeout 2024-05-12 13:50:14 +05:30
Sumeet Singh
bce9b7ad4b fix(nimble): Removed code for termination upon signed write operation failure 2024-05-12 13:50:14 +05:30
Rahul Tank
e4083fd321 fix(nimble): Fix compilation issues when CCCD is set to 0 2024-05-12 13:50:14 +05:30
Rahul Tank
d7bfdee87b fix(nimble): Fix for Vulnerability CVE_2024_24746 2024-05-12 13:50:14 +05:30
Rahul Tank
fec0bb07f6 fix(nimble): Add support for data length change evt 2024-05-12 13:50:14 +05:30
Rahul Tank
28f8c9d228 fix(nimble): Fix the size of num_packets in dtm event 2024-05-12 13:50:14 +05:30
Rahul Tank
0bda7fb520 fix(nimble): Remove extra code in reattempt connection 2024-05-12 13:50:14 +05:30
Rahul Tank
d8e072fd8a fix(nimble): Change reconnection scheme 2024-05-12 13:50:14 +05:30
Rahul Tank
7ff783db6a fix(nimble): Handle auto connection flag for extended connect 2024-05-12 13:50:14 +05:30
Darshan Dobariya
26eb624879 fix(nimble): Added support for deleting the oldest bonded device across reboot 2024-05-12 13:50:14 +05:30
Roshan Bangar
a51364c76f fix(nimble): Fix compilation issues and Minor enhancements to esp_hid 2024-05-12 13:50:14 +05:30
Roshan Bangar
0e0ac035dd fix(nimble): Fixed compilation issues on disabling security 2024-05-12 13:50:14 +05:30
morris
442a798083 Merge branch 'feat/add_example_usj_v5.1' into 'release/v5.1'
change(usb_serial_jtag): Add example for usb serial jtag echo (backport v5.1)

See merge request espressif/esp-idf!30020
2024-05-11 22:37:34 +08:00
morris
54507f0113 Merge branch 'refactor/usb_remove_unused_files_v5.1' into 'release/v5.1'
USB: Remove unused HAL files and deprecate usb_periph (v5.1)

See merge request espressif/esp-idf!29790
2024-05-11 22:36:18 +08:00
zhanghaipeng
db06b4ac2a feat(ble/bluedroid): Support BLE command status debug log 2024-05-11 14:40:24 +08:00
zhanghaipeng
da961e3c75 fix(ble/controller): Update esp32 bt-lib (4012cfb)
- Fixed BLE coex assert
- Fixed BLE DTM status and tx count
2024-05-11 14:40:13 +08:00
chenjianhua
c3c56b9a75 feat(bt): Update bt lib for ESP32-C3 and ESP32-S3(c23ab4c)
- Support QA test vendor HCI command and event
2024-05-11 14:38:58 +08:00
baohongde
08d3e74353 fix(ble/controller): Fixed LoadProhibited after bluetooth deinit 2024-05-11 14:38:53 +08:00
chenjianhua
fecd966e5a fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(5274796)
- Fixed extended uncoded and coded scan scheduling
- Add config for channel assessment and ping procedure
- Clear random address for extended advertising
- Add periodic advertising list check
- Fixed periodic advertising data setting with zero length
2024-05-11 14:38:47 +08:00
baohongde
2798e62787 feat(ble/controller): Add coexist schm for BLE 2024-05-11 14:38:40 +08:00
chenjianhua
d6df155da2 feat(bt): Update bt lib for ESP32(e314148)
- Support QA test vendor HCI command and event
2024-05-11 14:37:13 +08:00
zhanghaipeng
c6414934b0 fix(bt/controller): Update bt lib for ESP32(5838b68)
- Fixed BLE scan assert
 - Fixed assert(10,0) in lld_pdu
 - Add BLE scan backoff in menuconfig
2024-05-11 14:37:06 +08:00
Jin Cheng
0cdccd57e9 fix(bt/controller): Use embedded assembly to get access to DPORT registers 2024-05-11 14:36:57 +08:00
Jiang Jiang Jian
517a27ed26 Merge branch 'fix/rd_stored_link_key_error_v5.1' into 'release/v5.1'
fix(bt): fix some issues in bt controller(backport v5.1)

See merge request espressif/esp-idf!29977
2024-05-11 11:31:39 +08:00
Shu Chen
ddc6cf9b0d Merge branch 'feature/add_test_case_for_select_block_5_1' into 'release/v5.1'
Backport some openthread features(Backport v5.1).

See merge request espressif/esp-idf!29927
2024-05-11 10:24:27 +08:00
morris
01b912a9e5 Merge branch 'fix/uart_wakeup_threshold_v5.1' into 'release/v5.1'
fix(uart): Fix mismatch wakeup rising edges required with the threshold configured (v5.1)

See merge request espressif/esp-idf!30464
2024-05-10 22:59:34 +08:00
morris
3f35154c0b Merge branch 'bugfix/uart_bitrate_max_value_c2_v5.1' into 'release/v5.1'
fix(uart): correct C2 UART_BITRATE_MAX value (v5.1)

See merge request espressif/esp-idf!30460
2024-05-10 22:58:37 +08:00
morris
81bd6ac6a5 Merge branch 'bugfix/gpio_drive_cap_v5.1' into 'release/v5.1'
fix(gpio): add workaround to ensure correct IO drive strength for C3 and S3 (v5.1)

See merge request espressif/esp-idf!30467
2024-05-10 22:58:17 +08:00
morris
3e5ad6fb24 Merge branch 'fix/increase_26mhz_esp32c2_slow_clock_calibration_wdt_threshold_v5.1' into 'release/v5.1'
fix(esp_system): increase 26Mhz esp32c2 slow clock calibration timeout watchdog threshold (v5.1)

See merge request espressif/esp-idf!30573
2024-05-10 22:57:54 +08:00
morris
33b5b78e36 Merge branch 'feature/parlio_tx_nonblock_queue_v5.1' into 'release/v5.1'
feat(parlio_tx): support non-blocking transaction queue (v5.1)

See merge request espressif/esp-idf!29722
2024-05-10 22:56:32 +08:00
morris
a2b9a076b7 Merge branch 'bugfix/unsupport_partial_receive_on_esp32_v5.1' into 'release/v5.1'
fix(rmt): Fix the RMT RX filter not working correctly on esp32/s2 (v5.1)

See merge request espressif/esp-idf!30078
2024-05-10 22:55:59 +08:00
Mahavir Jain
f981039355 Merge branch 'esp32p4/deterministic_ecdsa_support_v5.1' into 'release/v5.1'
Add operation successful check in ECDSA (v5.1)

See merge request espressif/esp-idf!30181
2024-05-10 20:36:15 +08:00
Mahavir Jain
14b3dff0db Merge branch 'feature/mbedtls_error_str_config_v5.1' into 'release/v5.1'
feat(mbedtls): add kconfig option for MBEDTLS_ERROR_C (v5.1)

See merge request espressif/esp-idf!30105
2024-05-10 20:32:01 +08:00
Mahavir Jain
23d76b5495 Merge branch 'bugfix/nvs_enc_test_v5.1' into 'release/v5.1'
fix(tests): correct the flash write length for NVS encrypted test (v5.1)

See merge request espressif/esp-idf!30604
2024-05-10 20:31:51 +08:00
Jack
d7b0a45ddb
versions: Update to v5.1.4 2024-05-09 18:35:18 +08:00
liuning
3004af48e6 update c3 s3 c6 libphy fix coex reset and bug 2024-05-08 17:15:09 +08:00
Rahul Tank
63ae667750 fix(nimble): Deselect MBEDTLS_ECP_RESTARTABLE when mbedTLS is used 2024-05-06 15:21:05 +05:30
Wang Mengyang
cc0485e40d change(bt): Rename linker script file names and symbol names
1. rename linker files
2. support memory release in case that ESP_ALLOW_BSS_SEG_EXTERNAL_MEMORY is enabled
3. improve the implementation of memory release
2024-05-06 16:39:46 +08:00
Wang Mengyang
d01f09044e fix(bt): Fix missing linker symbol when ESP_ALLOW_BSS_SEG_EXTERNAL_MEMORY enabled
1. Closes https://github.com/espressif/esp-idf/issues/10427
2. add two linker script to unify linker script symbols for BT libraries
3. The memory release functions have also been simplified
2024-05-06 16:38:10 +08:00
Harshit Malpani
07f2cbeb0c
fix(esp-tls): Use TLS 1.2 and TLS 1.3 simultaneously
This commit fixes the issue with TLS 1.2 connection when TLS 1.3 is
enabled in config.
2024-05-02 16:57:50 +05:30
Harshit Malpani
ff03fd934a
fix(esp-tls): Retry reads if using session tickets with TLS 1.3
Fixed the error that occurred while performing OTA upgrades over
TLS 1.3 connection. After handshake is completed, post-handshake message
is received and internal state is changed. While performing mbedtls_ssl_read(),
it checks handshake state and if it is not MBEDTLS_SSL_HANDSHAKE_OVER,
mbedtls_ssl_handshake is called again.
2024-05-02 16:55:34 +05:30
Mahavir Jain
bc82323e3f
fix(tests): correct the flash write length for NVS encrypted test
Write only till the embedded file size in the NVS partition. Earlier
the length was kept as the whole partition size and it could result
in accessing embedded rodata beyond the MMU mapped range.
2024-05-02 16:54:13 +05:30
Mahavir Jain
499b579986
esp_tls: add initial support for TLS 1.3 connection 2024-05-02 16:53:37 +05:30
Nachiket Kukade
9a91fba9f2 feat(esp_wifi): Update FTM PHY Compensation with calibration 2024-04-30 12:11:29 +08:00
wuzhenghui
6e1659c233
fix(esp_system): increase 26Mhz esp32c2 slow clock calibration timeout watchdog threshold 2024-04-30 11:47:18 +08:00
Xu Si Yu
ad0de2103b feat(openthread): support openthread ephemeral key 2024-04-28 16:32:28 +08:00
xuxiao
fdbdf6036f fix(wifi): fix some esp32c6 wifi bugs (Backport v5.1) 2024-04-28 16:24:49 +08:00
Dávid Fehér
9103290f57 fix(openthread): Fix openthread mtd joiner config
* Fix openthread-core-esp32x-mtd-config.h: OPENTHREAD_CONFIG_JOINER_ENABLE macro value

* On ESP32 MTD devices Joiner role functionality was not working even if 'Joiner enable' was checked in SDK config because 0 was defined in OPENTHREAD_CONFIG_JOINER_ENABLE macro. Value modified to 1 to resolve the issue. Tested and working on ESP32 H2 MTD device.

* Closes: https://github.com/espressif/esp-idf/pull/13473
2024-04-28 16:21:48 +08:00
Song Ruo Jing
a664c71fd7 fix(uart): Fix mismatch wakeup rising edges required with the threshold configured
Closes https://github.com/espressif/esp-idf/issues/12586
2024-04-24 17:21:37 +08:00
Song Ruo Jing
c57bfa3737 fix(gpio_etm): allow one GPIO binds to multiple ETM tasks 2024-04-24 17:10:03 +08:00
Song Ruo Jing
204de70570 fix(gpio): add workaround to ensure correct IO drive strength for C3 and S3 2024-04-24 16:59:42 +08:00
Song Ruo Jing
b00844ca57 fix(uart): correct C2 UART_BITRATE_MAX value 2024-04-24 16:19:51 +08:00
Jin Cheng
c38a3544ca fix(bt/bluedroid): allocate memory for control block of HFP Audio Gateway in its initialization when dynamic memory is wnabled 2024-04-24 08:28:15 +08:00
Jiang Jiang Jian
2fd087b246 Merge branch 'fix/ieee802154_include_header_issue_v5.1' into 'release/v5.1'
Fix/ieee802154 include header issue (backport v5.1)

See merge request espressif/esp-idf!30331
2024-04-22 15:40:14 +08:00
Xu Si Yu
00e2c89149 feat(openthread): add max csmabackoffs for transmission 2024-04-22 10:31:18 +08:00
Xu Si Yu
1e5858b57a fix(vfs): add eventfd_select_block test case 2024-04-22 10:31:13 +08:00
Guillaume Souchere
c2aad3d28a fix(linenoise): Skip 0x00 to 0x1F character in dump mode
Skipping through the non printable character assures that
in dumb mode, any special keys will not lead to the cursor
movement.
2024-04-19 07:49:25 +02:00
Guillaume Souchere
3766ebbd70 fix(console): bug where backspace erases the prompt in dumb mode 2024-04-19 07:46:32 +02:00
cjin
b2cc9800d0 bugfix(ble): workaround to avoid ble rtc not work when power up 2024-04-19 08:44:43 +08:00
xiaqilin
f0d0463a93 fix(ieee802154): fix ieee802154 next operation acquire lock in interrupt 2024-04-18 11:34:25 +08:00
xiaqilin
4528d2299d fix(ieee802154): fix ieee802154 include header file issue and unused value issue 2024-04-18 11:33:51 +08:00
Jiang Jiang Jian
c686e23038 Merge branch 'bugfix/fix_lmac_end_frame_exchange_sequence_assert_issue_v5.1' into 'release/v5.1'
fix(wifi): fixed lmacEndFrameExchangeSequence assert issue(Backport v5.1)

See merge request espressif/esp-idf!30316
2024-04-18 11:29:08 +08:00
zhanghaipeng
151976a2c2 fix(ble/bluedroid): Fixed set BLE appearance value 2024-04-17 20:40:44 +08:00
muhaidong
c58e1e2ec5 fix(wifi): fixed lmacEndFrameExchangeSequence assert issue 2024-04-17 19:36:03 +08:00
zwl
f22ac0ff82 ble: fixed an occasional assertion issue in coexistence scenarios on ESP32C2 2024-04-17 14:55:29 +08:00
zwl
e4fe67f7c2 ble: fixed the bt cmakelist error when use nimble host only 2024-04-17 14:54:54 +08:00
Kapil Gupta
a4cda66e30 feat(esp_wifi): Provide API to disable PMK caching 2024-04-17 09:40:37 +05:30
Lou Tianhao
b8c6179355 change(pm): add ext1 new api 2024-04-15 20:33:02 +08:00
zhiweijian
45f5714beb fix(ble/bluedroid): Fixed adv not restart due to disconnection reason 0x3e 2024-04-13 15:41:49 +08:00
zhiweijian
cc2e293d7c feat(bt/common): Add bluerooth hci layer data stream record 2024-04-13 15:41:15 +08:00
zhiweijian
070f6b4c9a feat(bt/bluedroid): add api to setnd vendor hci command 2024-04-13 12:57:55 +08:00
zhiweijian
eefcec929e fix(ble/bluedroid): fixed bluedroid host DTM API 2024-04-13 11:47:44 +08:00
zhiweijian
fc5bd26340 feat(ble/bluedroid): Add APIs for BLE direct test mode on bluedroid host 2024-04-13 11:45:04 +08:00
harshal.patil
b5347ef02b
feat(hal/ecdsa): Add HAL API for operation successful check 2024-04-12 11:14:10 +05:30
Jiang Jiang Jian
dd8080e164 Merge branch 'bugfix/BT-3491_v5.1' into 'release/v5.1'
bugfix(ble_mesh): Avoid provisioner handling messages from nodes that have...(v5.1)

See merge request espressif/esp-idf!28050
2024-04-12 10:30:49 +08:00
Jiang Jiang Jian
07c17c6114 Merge branch 'feat/adjust_ble_log_init_order_v5.1' into 'release/v5.1'
Feat/adjust ble log init order v5.1

See merge request espressif/esp-idf!30002
2024-04-12 10:30:36 +08:00
Jiang Jiang Jian
ac3087ea36 Merge branch 'bugfix/gptimer_alarm_config_in_sram_v5.1' into 'release/v5.1'
feat(gptimer): check the alarm config is not in flash (v5.1)

See merge request espressif/esp-idf!30135
2024-04-12 09:08:41 +08:00
Jiang Jiang Jian
592b7a9b80 Merge branch 'bugfix/fix_some_wifi_bugs_240411_v5.1' into 'release/v5.1'
fix(wifi): fixed some wifi issue 240411(Backport v5.1)

See merge request espressif/esp-idf!30187
2024-04-12 09:08:14 +08:00