xiaqilin
b89f08a615
fix(ieee802154): fix ieee802154 next operation acquire lock in interrupt
2024-04-22 19:15:48 +08:00
Jiang Jiang Jian
470d5406ec
Merge branch 'feat/sleep_retention_depends_power_state_management_v5.2' into 'release/v5.2'
...
backport v5.2: sleep retention multiple modules initialization and dependency management
See merge request espressif/esp-idf!30344
2024-04-22 19:14:10 +08:00
Frantisek Hrbata
4bc2985aa3
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:25:51 +02:00
Wang Meng Yang
b0eef7f889
Merge branch 'bugfix/crash_after_bluedroid_deinit_v5.2' into 'release/v5.2'
...
fix(bt/bluedroid): Fixed controller using null pointer after bluedroid deinit(v5.2)
See merge request espressif/esp-idf!30327
2024-04-22 15:25:59 +08:00
Li Shuai
f20186fe02
fix: modify some typos to ensure CI pipeline run pass
2024-04-22 12:49:34 +08:00
Li Shuai
4066844908
fix(example): fixed app partition is too small for binary size
2024-04-22 12:49:34 +08:00
xiaqilin
ea3094a9a6
change(ieee802154): add sleep deinit API
2024-04-22 12:49:34 +08:00
Li Shuai
71d37432da
change(esp_hw_support): use power down peripheral in light sleep option to determine TOP to off
2024-04-22 12:49:34 +08:00
Li Shuai
8f9090b351
change(esp_hw_support): add adc retention module and it is dependencies on the clock modem
2024-04-22 12:49:34 +08:00
Li Shuai
0e28063291
change(esp_hw_support): dump sleep retention context to io stream
2024-04-22 12:49:34 +08:00
Li Shuai
376b2f74ed
change(ieee802154): use new sleep retention api to implement ieee802154 mac retention
2024-04-22 12:49:33 +08:00
Li Shuai
9f52809629
change(bt): use new retention api to implement BT mac and bb retention
2024-04-22 12:49:33 +08:00
Li Shuai
9c8b54b886
change(esp_hw_support): use new retention api to implement gdma retention
2024-04-22 12:49:33 +08:00
Li Shuai
4faf042c21
change(wifi): use new retention api to implement wifi mac and bb retention
2024-04-22 12:49:31 +08:00
Adam Múdry
58a69e7422
fix(storage/littlefs): Bump version to v1.14.4 (core v2.9.1)
...
Fixes a bug which causes DivideByZero exception when the filesystem is full
2024-04-19 12:54:40 +02:00
Li Shuai
9a51752d4d
change(esp_hw_support): modify system and modem clock to support modem domain power down
2024-04-19 14:08:15 +08:00
Li Shuai
e7d6748aec
change(esp_hw_support): some system peripherals to use a retention module number
2024-04-18 19:26:30 +08:00
Li Shuai
a2cbe3f0a3
feat(esp_hw_support): implement of sleep retention module initialize and dependency management
2024-04-18 19:26:30 +08:00
Li Shuai
f66e3f031d
change(esp_hw_support): modify the style of module argument from bitmap to number
2024-04-18 19:26:28 +08:00
Jiang Jiang Jian
9efa26a23f
Merge branch 'feature/disable_pmk_caching_v5.2' into 'release/v5.2'
...
feat(esp_wifi): Provide API to disable PMK caching (v5.2)
See merge request espressif/esp-idf!30289
2024-04-18 16:58:19 +08:00
Jiang Jiang Jian
3b9d5e120e
Merge branch 'doc/update_espnow_example_v5.2' into 'release/v5.2'
...
docs(wifi): change the magic varible from int to uint32_t on the receiving side (v5.2)
See merge request espressif/esp-idf!30307
2024-04-18 14:47:19 +08:00
Marius Vikhammer
aaf3f4a7c3
Merge branch 'contrib/github_pr_13022_v5.2' into 'release/v5.2'
...
fix(freertos): Fix broken portable macro portTRY_ENTER_CRITICAL_SAFE() (v5.2)
See merge request espressif/esp-idf!30314
2024-04-18 11:56:33 +08:00
Mahavir Jain
082c713069
Merge branch 'fix/incorrect_connection_closure_parttool_test_v5.2' into 'release/v5.2'
...
ci(otatool): fix test failure caused due to closing connection incorrectly (v5.2)
See merge request espressif/esp-idf!30291
2024-04-18 11:55:17 +08:00
Li Shuai
f5c8cc2bef
change(esp_hw_support): rename interface name of get modules bitmap to get created modules
2024-04-18 11:41:17 +08:00
Li Shuai
fd47ea34bb
change(esp_hw_support): rename sleep retention module to created module
2024-04-18 11:32:04 +08:00
Island
b19e27dd48
Merge branch 'bugfix/fixed_coex_asset_on_esp32c2_v5.2' into 'release/v5.2'
...
Bugfix/fixed coex asset on esp32c2 v5.2
See merge request espressif/esp-idf!30302
2024-04-18 10:54:20 +08:00
Jiang Jiang Jian
22fbaf65fd
Merge branch 'bugfix/fixed_some_wifi_bugs_240417_v5.2' into 'release/v5.2'
...
fix(wifi): fixed some wifi issues 240417(Backport v5.2)
See merge request espressif/esp-idf!30315
2024-04-18 10:46:24 +08:00
Island
e362358ea3
Merge branch 'bugfix/fix_ble_appearance_v5.2' into 'release/v5.2'
...
Fixed BLE appearance category ranges (v5.2)
See merge request espressif/esp-idf!30285
2024-04-18 10:44:18 +08:00
xiongweichao
47d542acaa
fix(bt/bluedroid): Fixed crash after bluedroid deinit
...
hci_host_env.downstream_data_ready is set to NULL during bluedroid deinit,
causing the controller to use a null pointer when calling callback.
2024-04-18 10:27:45 +08:00
Roland Dobai
ea967cf2fb
Merge branch 'docs/external_flash_5.2' into 'release/v5.2'
...
docs(idf_py): Describe the option to configure esptool.py with --extra-args (backport to v5.2)
See merge request espressif/esp-idf!30323
2024-04-18 01:17:43 +08:00
zhanghaipeng
c079772799
fix(ble/bluedroid): Fixed set BLE appearance value
2024-04-17 20:41:14 +08:00
Radim Karniš
b6b04bbeff
docs(idf_py): Describe the option to configure esptool.py with --extra-args
2024-04-17 14:38:44 +02:00
Island
568b693493
Merge branch 'bugfix/ble_mesh_fsm_list_init_v5.2' into 'release/v5.2'
...
bugfix/ble_mesh_fsm_list_init (v5.2)
See merge request espressif/esp-idf!30282
2024-04-17 20:10:01 +08:00
David Čermák
806b14dd22
Merge branch 'update_mqtt_v5.2' into 'release/v5.2'
...
Update Mqtt client (v5.2)
See merge request espressif/esp-idf!30273
2024-04-17 20:08:23 +08:00
muhaidong
a07bce4fcc
fix(wifi): fixed lmacEndFrameExchangeSequence assert issue
2024-04-17 19:16:55 +08:00
muhaidong
0e34a993d0
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-17 19:16:24 +08:00
muhaidong
458ce7d4cf
fix(wifi): fix multicast address qos frames issue
2024-04-17 19:15:46 +08:00
Andy Lin
6bcf47386d
fix(freertos): Fix broken portable macro portTRY_ENTER_CRITICAL_SAFE()
...
This commit fixes a bug where the portTRY_ENTER_CRITICAL_SAFE() for the
Xtensa and RISC-V FreeRTOS ports were broken as it did not correctly use
the timeout parameter.
Merges: https://github.com/espressif/esp-idf/pull/13022
2024-04-17 12:26:50 +02:00
Wang Meng Yang
228f92211b
Merge branch 'feat/set_get_lpclk_src_v5.2' into 'release/v5.2'
...
feat(ble): Added API to get low power clock source(v5.2)
See merge request espressif/esp-idf!30107
2024-04-17 18:01:47 +08:00
morris
61210271a8
Merge branch 'bugfix/improve_lp_uart_test_docs' into 'release/v5.2'
...
refactor(uart): add support to be able to test LP_UART port (v5.2)
See merge request espressif/esp-idf!30175
2024-04-17 17:46:48 +08:00
KonstantinKondrashov
cbba78ee76
feat(ipc): Adds a new no blocking IPC call
2024-04-17 11:45:39 +03:00
KonstantinKondrashov
4f03e0241e
fix(spi_flash): Fix stuck during flash operation
...
When a task was not pinned to a certain CPU.
2024-04-17 11:38:44 +03:00
zhangyanjiao
830464eee7
docs(wifi): update the docmentation for sniffer API
...
Closes https://github.com/espressif/esp-idf/issues/10740
2024-04-17 16:17:00 +08:00
zhangyanjiao
83f272ca4f
docs(wifi): change the magic varible from int to uint32_t on the receiving side
...
Closes https://github.com/espressif/esp-idf/issues/10912
2024-04-17 16:16:49 +08:00
Rahul Tank
01902148da
Merge branch 'fix/removed_termination_upon_sign_write_fail_v5.2' into 'release/v5.2'
...
fix(nimble): Removed Code for Termination Upon Signed Write Operation Failure (v5.2)
See merge request espressif/esp-idf!30276
2024-04-17 16:08:26 +08:00
Omar Chebib
dcc7a41ad8
fix(i2c): fix issues related to timeout and alive interval tick
...
Fixes https://github.com/espressif/esp-idf/issues/4999
Former usage of I2C_CMD_ALIVE_INTERVAL_TICK macro overrode the ticks_to_wait
parameter when the latter was too big
2024-04-17 15:52:56 +08:00
zwl
73f6ca8ebf
ble: fixed an occasional assertion issue in coexistence scenarios on ESP32C2
2024-04-17 14:59:31 +08:00
zwl
cc213b7c61
ble: fixed the bt cmakelist error when use nimble host only
2024-04-17 14:59:21 +08:00
harshal.patil
42f244ae61
ci(otatool): fix test failure caused due to closing connection incorrectly
2024-04-17 10:13:35 +05:30
Kapil Gupta
f9feb970b9
feat(esp_wifi): Provide API to disable PMK caching
2024-04-17 09:40:22 +05:30