Commit Graph

32130 Commits

Author SHA1 Message Date
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
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
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
xuxiao
fdbdf6036f fix(wifi): fix some esp32c6 wifi bugs (Backport v5.1) 2024-04-28 16:24:49 +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
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
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
Mahavir Jain
c432c692fa Merge branch 'bugfix/howsmyssl_cert_update_v5.1' into 'release/v5.1'
fix(examples): update root certificate for howsmyssl endpoint (v5.1)

See merge request espressif/esp-idf!30204
2024-04-16 10:58:26 +08:00
Mahavir Jain
6a89ca77e1 fix(examples): update root certificate for howsmyssl endpoint
This fixes CI failure seen because of cert migration of howsmyssl
endpoint from previous "DST Root CA X3" (cross-signed) to "ISRG Root X1".
2024-04-12 11:12:06 +08:00
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
wangjialiang
8fc57142a3 update invalid links in the ble mesh example documentation 2024-04-11 20:23:50 +08:00
luoxu
ea6e8653f6 bugfix(ble_mesh): Avoid provisioner handling messages from nodes that have already left the network. 2024-04-11 20:23:50 +08:00
Jiang Jiang Jian
35d5ea1104 Merge branch 'bugfix/config_sae_compile_error_v5.1' into 'release/v5.1'
fix(wpa_supplicant): Compile error when CONFIG_SAE is disabled (v5.1)

See merge request espressif/esp-idf!30178
2024-04-11 16:09:45 +08:00
muhaidong
edbf44b290 fix(wifi): fixed some wifi issue
1. sync multi antenna gpio register from IDF
2. fixed multicast address qos frames issue
3. fixed task watchdog got triggered by esp_wifi_stop issue
2024-04-11 15:33:43 +08:00
Jiang Jiang Jian
9abd010153 Merge branch 'fix/heap-calloc-fail-wrong-size_v5.1' into 'release/v5.1'
fix(heap): Wrong size propagated in alloc fail callback of heap_caps_calloc() (backport v5.1)

See merge request espressif/esp-idf!30091
2024-04-11 15:19:10 +08:00
muhaidong
6f20668b24 fix(wifi): fix multicast address qos frames issue 2024-04-11 14:54:37 +08:00
Jiang Jiang Jian
32c8c5805d Merge branch 'bugfix/fix_rtc_cntl_v5.1' into 'release/v5.1'
[S3]fix(rtc_cntl_reg.h): fix RTC_CNTL_SLAVE_PD_M

See merge request espressif/esp-idf!30170
2024-04-11 14:12:24 +08:00
Jiang Jiang Jian
3826f2b828 Merge branch 'bugfix/fix_coded_phy_s8_tx_issue_v5.1' into 'release/v5.1'
fix(esp_phy): fixed BLE coded phy s8 tx issue in coexistence scenarios (backport v5.1)

See merge request espressif/esp-idf!30173
2024-04-11 13:59:47 +08:00
Shreyas Sheth
2ac6e7345f fix(wpa_supplicant): Compile error when CONFIG_SAE is disabled
Closes https://github.com/espressif/esp-idf/issues/13553
2024-04-11 11:18:58 +05:30
Mahavir Jain
468732a4d2 docs: add note about newly added mbedtls config to reduce app size footprint 2024-04-11 11:51:53 +08:00
Mahavir Jain
7b6622b5b6 feat(mbedtls): add kconfig option for MBEDTLS_ERROR_C
Disabling this config can reduce footprint for the cases where
mbedtls_strerror() is used and hence the debug strings are getting
pulled into the application image.
2024-04-11 11:51:53 +08:00
linruihao
661d066872 fix(esp_phy): update phylib for C3, S3, C2 and C6
- fixed BLE coded phy s8 tx issue in coexistence scenarios
- fixed ESP32-C3 and ESP32-S3 BLE RX issue
- optimize ESP32-C3 and ESP32-S3 light sleep current
2024-04-10 20:35:34 +08:00
zlq
58848946af [S3]fix(rtc_cntl_reg.h): fix RTC_CNTL_SLAVE_PD_M 2024-04-10 19:51:25 +08:00
Jiang Jiang Jian
a8f833a912 Merge branch 'fix/fix_pmu_power_domain_initialize_order_v5.1' into 'release/v5.1'
fix(esp_hw_support): fix pmu power domain initialize order (v5.1)

See merge request espressif/esp-idf!30152
2024-04-10 17:23:55 +08:00
Michael (XIAO Xufeng)
d82b572ecd Merge branch 'bugfix/i2c_timeout_issue_v5.1' into 'release/v5.1'
fix(i2c): fix issues related to timeout and alive interval tick (backport v5.1)

See merge request espressif/esp-idf!29980
2024-04-10 16:44:22 +08:00
wuzhenghui
ddd2c5b418
fix(esp_hw_support): fix pmu power domain initialize order 2024-04-10 10:07:58 +08:00
morris
4a497e1212 feat(gptimer): check the alarm config is not in flash
related to https://github.com/espressif/esp-idf/issues/13543
2024-04-09 17:33:26 +08:00
Mahavir Jain
d1c17f96f6 Merge branch 'fix/pmp_idcache_prot_c6_h2_v5.1' into 'release/v5.1'
fix(esp_hw_support): Fix the flash I/DROM region PMP protection (v5.1)

See merge request espressif/esp-idf!30023
2024-04-08 17:52:23 +08:00
Guillaume Souchere
2c794ee423 fix(heap): Wrong size propagated in alloc fail callback
Propagate `n * size` as the size of the failed allocation
instead of just `size` when heap_caps_calloc() fails since
`n * size` is the actual number of bytes that the heap
component tried to allocate.
2024-04-08 08:42:49 +02:00