Commit Graph

32164 Commits

Author SHA1 Message Date
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
c626cac47d Merge branch 'fix/fix_ot_br_partition_table_5_1' into 'release/v5.1'
fix(openthread): increase factory app size in ot_br partition table (backport to 5.1)

See merge request espressif/esp-idf!30249
2024-05-11 10:24:48 +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
50c01e118b Merge branch 'doc/auto_suspend_disabled_by_default_v5.1' into 'release/v5.1'
doc(flash): fix auto suspend enabled by default issue (v5.1)

See merge request espressif/esp-idf!30254
2024-05-10 22:57:18 +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
6aa5c43b70 Merge branch 'feature/add_documentation_for_external_flash_encryption_v5.1' into 'release/v5.1'
flash_encryption_docs: Add documentation regarding enabling flash encryption externally through espefuse tool (v5.1)

See merge request espressif/esp-idf!30522
2024-05-10 20:35:11 +08:00
Mahavir Jain
41de6d2f90 Merge branch 'fix/incorrect_connection_closure_parttool_test_v5.1' into 'release/v5.1'
ci(otatool): fix test failure caused due to closing connection incorrectly (v5.1)

See merge request espressif/esp-idf!30292
2024-05-10 20:32:35 +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
Roland Dobai
3bf7ff3d48 Merge branch 'docs/external_flash_5.1' into 'release/v5.1'
docs(idf_py): Describe the option to configure esptool.py with --extra-args (backport to v5.1)

See merge request espressif/esp-idf!30322
2024-05-10 20:26:18 +08:00
Roland Dobai
e2d9d68f5a Merge branch 'refactor/idf_tools_version_v5.1' into 'release/v5.1'
refactor(idf_tools): IDF version is acquired only from version or header file (backport v5.1)

See merge request espressif/esp-idf!29742
2024-05-10 20:14:07 +08:00
Roland Dobai
c8c6a4fdd4 Merge branch 'fix/exit_asyncio_gracefully_v5.1' into 'release/v5.1'
fix: exit gracefully when process started via asyncio is terminated (v5.1)

See merge request espressif/esp-idf!30384
2024-05-10 20:13:10 +08:00
Jiang Jiang Jian
c90091490f Merge branch 'update/release_v5_1_4' into 'release/v5.1'
Update version to 5.1.4

See merge request espressif/esp-idf!30736
2024-05-10 13:44:57 +08:00
Jack
d7b0a45ddb
versions: Update to v5.1.4 2024-05-09 18:35:18 +08:00
Jiang Jiang Jian
9d8842f3ff Merge branch 'bugfix/libphy_chips_20240430_v5.1' into 'release/v5.1'
Bugfix/libphy chips 20240430 v5.1

See merge request espressif/esp-idf!30578
2024-05-09 12:08:10 +08:00
liuning
3004af48e6 update c3 s3 c6 libphy fix coex reset and bug 2024-05-08 17:15:09 +08:00
Aditya Patwardhan
43d48bb23f
docs/Flash encryption: Add encrypted partitions section 2024-05-07 10:41:08 +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
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
Jiang Jiang Jian
d06c758489 Merge branch 'bugfix/fix_scan_get_ap_number_issue_v5.1' into 'release/v5.1'
fix(wifi): fixed scan get ap number issue(Backport v5.1)

See merge request espressif/esp-idf!30569
2024-04-30 11:42:46 +08:00
muhaidong
26a2f687e7 fix(wifi): fixed scan get ap number issue 2024-04-30 10:53:28 +08:00
Radim Karniš
26d6e7563d docs(idf_py): Describe the option to configure esptool.py with --extra-args 2024-04-29 15:20:27 +02:00
Jiang Jiang Jian
24dc97b296 Merge branch 'fix/fix_some_esp32c6_twt_bugs_v5.1' into 'release/v5.1'
fix(wifi): fix some esp32c6 wifi bugs (Backport v5.1)

See merge request espressif/esp-idf!30412
2024-04-29 15:02:00 +08:00
zwx
8f602988d9 feat(openthread): move iperf dependency into cli extension 2024-04-28 16:45:48 +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
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
Frantisek Hrbata
0de3c3b572 fix: exit gracefully when process started via asyncio is terminated
Currently when process is started through asyncio Runner and it is termited
e.g. with SIGINT(ctrl+c) a traceback is printed instead of gracefully
exit.

Exception ignored in: <function BaseSubprocessTransport.__del__ at 0x7fe980970900>
Traceback (most recent call last):
  File "/usr/lib64/python3.12/asyncio/base_subprocess.py", line 129, in __del__
    self.close()
  File "/usr/lib64/python3.12/asyncio/base_subprocess.py", line 107, in close
    proto.pipe.close()
  File "/usr/lib64/python3.12/asyncio/unix_events.py", line 568, in close
    self._close(None)
  File "/usr/lib64/python3.12/asyncio/unix_events.py", line 592, in _close
    self._loop.call_soon(self._call_connection_lost, exc)
  File "/usr/lib64/python3.12/asyncio/base_events.py", line 793, in call_soon
    self._check_closed()
  File "/usr/lib64/python3.12/asyncio/base_events.py", line 540, in _check_closed
    raise RuntimeError('Event loop is closed')
RuntimeError: Event loop is closed

This is caused because asyncio Runner context in asyncio.run is closing the event
loop and if exception is unhandled in coroutine(run_command) the transport is not
closed before the even loop is closed and we get RuntimeError: Event loop is closed
in the transport __del__ function because it's trying to use the closed
even loop.

Let's catch asyncio.CancelledError in case the process we are trying to
read from is terminated, print message, let the asyncio finish and exit
gracefully.

Closes https://github.com/espressif/esp-idf/issues/13418

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2024-04-22 11:51:32 +02: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
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
Jiang Jiang Jian
2622be4328 Merge branch 'bugfix/fixed_coex_asset_on_esp32c2_v5.1' into 'release/v5.1'
Bugfix/fixed coex asset on esp32c2 v5.1

See merge request espressif/esp-idf!30301
2024-04-18 11:28:45 +08:00
muhaidong
c58e1e2ec5 fix(wifi): fixed lmacEndFrameExchangeSequence assert issue 2024-04-17 19:36:03 +08:00