13856 Commits

Author SHA1 Message Date
Michael (XIAO Xufeng)
61989e0fbb spi_flash: partially move API functions out of IRAM 2022-10-17 19:15:24 +08:00
Michael (XIAO Xufeng)
c5dfaec6b3 Merge branch 'feat/essl_extra_component_v4.1' into 'release/v4.1'
sdio/example: fixed the essl return value issue (v4.1)

See merge request espressif/esp-idf!20348
2022-10-14 16:19:41 +08:00
morris
5bf01cedf6 Merge branch 'bugfix/fix_rtc8m_calibration_fail_after_cpu_core_reset_v4.1' into 'release/v4.1'
rtc_clk: Fix rtc8m calibration failure after cpu/core reset (backport v4.1)

See merge request espressif/esp-idf!20556
2022-10-14 14:07:20 +08:00
Song Ruo Jing
ed3a570e20 rtc_clk: Fix rtc8m calibration failure after cpu/core reset
Explicitly guarantee 8md256 clk is enabled before calibration
2022-10-12 12:46:41 +08:00
Wang Meng Yang
40cc53b0e0 Merge branch 'bugfix/a2dp_can_not_connect_after_ble_connected_v4.1' into 'release/v4.1'
fixed the issue iOS devices cannot initiate connection (v4.1)

See merge request espressif/esp-idf!20407
2022-10-10 17:25:46 +08:00
morris
63ac426644 Merge branch 'feature/modbus_master_fix_check_uart_set_pin_v41' into 'release/v4.1'
example/modbus_master: fix the assert for uart_set_pin (backport v4.1)

See merge request espressif/esp-idf!17627
2022-10-08 19:08:14 +08:00
Alex Lisitsyn
b17494c223 example/modbus_master: fix the assert for uart_set_pin (backport v4.1) 2022-10-08 19:08:14 +08:00
Wang Meng Yang
63cdcf3f57 Merge branch 'bugfix/fix_ble_get_cur_pkt_num_crash_sometimes_when_bluetooth_is_disconnecting_v4.1' into 'release/v4.1'
Fixed calling esp_ble_get_cur_sendable_packets_num() sometimes crashes when bluetooth is disconnecting(backport v4.1)

See merge request espressif/esp-idf!20380
2022-10-08 16:35:55 +08:00
David Čermák
3f3cd01ef6 Merge branch 'bugfix/fix_mdns_example_v4.1' into 'release/v4.1'
mDNS: Improve example test stability (v4.1)

See merge request espressif/esp-idf!20215
2022-09-30 21:00:57 +08:00
Suren Gabrielyan
4a432e03b1 mDNS: Improved example test stability 2022-09-28 18:23:15 +04:00
Jin Cheng
11bd663e9e fixed the issue iOS devices cannot initiate connection
to ESP32 while there is a BLE connection to this ESP32

Closes https://github.com/espressif/esp-idf/issues/6557
2022-09-28 16:16:45 +08:00
cjin
b70ffe519f fix on data len change cmd malfunction 2022-09-27 21:53:50 +08:00
cjin
284b77e6a5 fix err using rpa for confirmation calculation 2022-09-27 21:53:36 +08:00
zwj
615dcb4115 fix calling esp_ble_get_cur_sendable_packets_num() sometimes crashes when bluetooth is disconnecting 2022-09-27 21:53:23 +08:00
Michael (XIAO Xufeng)
43ec862944 sdio/example: fixed the essl return type issue 2022-09-26 19:43:03 +08:00
Island
85c878acc5 Merge branch 'bugfix/relay_friend_cred_message_v4.1' into 'release/v4.1'
ble_mesh: stack: Fix friend relay lpn message when relay disable(v4.1)

See merge request espressif/esp-idf!20207
2022-09-22 14:17:36 +08:00
Jiang Jiang Jian
7b0515c3ac Merge branch 'ci/optimize_ats_ci_flow_v4.1' into 'release/v4.1'
CI: optimize ATS ci flow (v4.1)

See merge request espressif/esp-idf!20181
2022-09-22 14:12:29 +08:00
Mahavir Jain
017852bc2d Merge branch 'bugfix/freertos_event_group_unblock_race_condition_v4.1' into 'release/v4.1'
FreeRTOS: Fix event group task list race condition (v4.1)

See merge request espressif/esp-idf!19106
2022-09-21 13:16:24 +08:00
wangjialiang
d2fcb15610 ble_mesh: stack: Fix friend relay lpn message when relay disable. 2022-09-21 03:37:41 +00:00
Island
26c7df9857 Merge branch 'bugfix/lpn_not_recv_message_to_all_node_4.1' into 'release/v4.1'
ble_mesh: stack: Add option for lpn auto sub all-nodes(v4.1)

See merge request espressif/esp-idf!20261
2022-09-21 11:31:17 +08:00
wangjialiang
ef45e12a40 ble_mesh: stack: Add option for lpn auto sub all-nodes. 2022-09-20 20:33:13 +08:00
Darian Leung
51eb9bea03 freertos: Fix flakey event group unit test
The "FreeRTOS Event Groups" main task will only wait a single tick for the created
tasks to set their response bits. This short delay may not be sufficent if the tick
frequency is high.

This commit updates the test so that

- the main task waits indefinitely for all the response bits to be set.
- created tasks are cleaned up by the main task
2022-09-19 15:14:24 +08:00
Darian Leung
6358f93a51 freertos: Fix event group task list race condition
FreeRTOS synchronization primitives (e.g., queues, eventgroups) use various event lists (i.e., task lists) to track what
tasks are blocked on a current primitive. Usually these event lists are accessed via one of the event lists functions
(such as vTask[PlaceOn|RemoveFrom]UnorderedEventList()), which in turn ensure that the global task list spinlock
(xTaskQueueMutex) is taken when accessing these lists.

However, some functions in event_groups.c manually traverse their event lists. Thus if a tick interrupt occurs on
another core during traversal and that tick interrupt unblocks a task on the event list being traversed, the event list
will be corrupted.

This commit modifies the following event_groups.c functions so that they take the global task list lock before
traversing their event list.

- xEventGroupSetBits()
- vEventGroupDelete()
2022-09-19 15:14:24 +08:00
Island
0bb4b995be Merge branch 'bugfix/adapt_new_btc_v4.1' into 'release/v4.1'
ble_mesh: stack: Corrected parameter size when the btc_transfer_context is used (v4.1)

See merge request espressif/esp-idf!20169
2022-09-18 14:36:02 +08:00
Chen Yudong
5ad0ccea46 CI: optimize ATS ci flow 2022-09-16 16:37:15 +08:00
wangjialiang
6160cedbdc ble_mesh: stack: added the judgment that the parameter is NULL but the parameter len is not zero to avoid btc_transfer_context failed 2022-09-15 17:03:22 +08:00
Jiang Jiang Jian
b4878a0f09 Merge branch 'bugfix/stack_init_changes_v4.1' into 'release/v4.1'
Nimble: Check stack initialization status before executing stack command (v4.1)

See merge request espressif/esp-idf!19946
2022-09-14 16:13:32 +08:00
Jiang Jiang Jian
61bd396b39 Merge branch 'feature/sink_support_mono_v4.1' into 'release/v4.1'
bt: Fixed sink not being able to output mono audio because it can only decode dual channel audio data(v4.1)

See merge request espressif/esp-idf!20081
2022-09-14 16:12:39 +08:00
xiongweichao
c2411837d1 bt:Fixed sink not being able to output mono audio because it can only decode dual channel audio data 2022-09-09 17:49:00 +08:00
Wang Meng Yang
771e1cb020 Merge branch 'bugfix/remove_bt_dft_init_semicolon_v41' into 'release/v4.1'
bt: Remove trailing semicolon from bt dft initializer(v4.1)

See merge request espressif/esp-idf!19918
2022-09-07 12:00:48 +08:00
Wang Meng Yang
0441c575a8 Merge branch 'bugfix/deadlock_after_call_esp_bluedroid_disable_v4.1' into 'release/v4.1'
bt:Fixed deadlock due to wrong parameter when calling btc_transfer_context() after calling esp_bluedroid_disable()(v4.1)

See merge request espressif/esp-idf!19955
2022-09-07 11:56:12 +08:00
Rahul Tank
0c7f0058f2 Nimble: Check stack initialization status before executing stack command 2022-09-06 10:15:42 +05:30
xiongweichao
2df7bcbe0f Fixed deadlock due to wrong parameter when calling btc_transfer_context() after calling esp_bluedroid_disable()
Closes https://github.com/espressif/esp-idf/issues/9672
2022-09-05 14:31:10 +08:00
Pedro
62f89a3303 Remove trailing semicolon from bt dft initializer
Similar to espressif#6554
2022-09-02 11:16:52 +08:00
Island
94dddbd985 Merge branch 'bugfix/vendor_model_send_message_no_memory_forv4.1' into 'release/v4.1'
ble_mesh:example: free the memory of malloc (v4.1)

See merge request espressif/esp-idf!19188
2022-08-25 14:14:25 +08:00
Wang Meng Yang
7332be209c Merge branch 'bugfix/hfp_examples_not_work_with_default_sdkconfig_v4.1' into 'release/v4.1'
bugfix/set default number of sco connection to 1 (v4.1)

See merge request espressif/esp-idf!19588
2022-08-25 10:47:10 +08:00
Wang Meng Yang
465bd86073 Merge branch 'contrib/github_pr_9529_mr_v4.1' into 'release/v4.1'
bt:No need to use local copy of btc_msg_t in btc_transfer_context, create it on heap and pass to osi_thread_post()(v4.1)

See merge request espressif/esp-idf!19695
2022-08-25 10:45:46 +08:00
Island
bd549729d2 Merge branch 'bugfix/ble_mesh_console_support_nimble_host_for_v4.1' into 'release/v4.1'
ble_mesh:ble mesh console support nimble(v4.1)

See merge request espressif/esp-idf!19607
2022-08-24 10:27:57 +08:00
Fu Hanxi
d602bf0416 Merge branch 'feat/make_property_idf_component_manager_root_level_v4.1' into 'release/v4.1'
Feat/make property idf component manager root level (v4.1)

See merge request espressif/esp-idf!19085
2022-08-23 13:16:29 +08:00
tgotic
ccb8b03ca5 update code to use osi_free() 2022-08-22 16:10:25 +08:00
tgotic
71c8b2ba80 local copy of btc_msg_t
No need to use local copy of btc_msg_t in btc_transfer_context, create it on heap and pass to osi_thread_post().
2022-08-22 16:10:25 +08:00
Yuan Hong Hui
614950cf4a ble_mesh:ble mesh console support nimble 2022-08-17 14:42:52 +08:00
jincheng
190b864206 Fixed the failure of 'connect audio' operation in HFP examples with default SDK configuration
Due to the lack of synchronized connections, the hf_client can not create audio_connection to
hf_ag. Set default number of synchronized connection to 1.

Closes https://github.com/espressif/esp-idf/issues/9537
2022-08-17 10:15:54 +08:00
Roland Dobai
7c0f5e658e Merge branch 'feature/oocd_ver_upgrade_v4.1' into 'release/v4.1'
tools: Updates OpenOCD version to 'v0.11.0-esp32-20220706' (v4.1)

See merge request espressif/esp-idf!19493
2022-08-17 01:57:40 +08:00
Jiang Jiang Jian
e072b09196 Merge branch 'bugfix/fix_bluedroid_host_memory_overflow_v4.1' into 'release/v4.1'
Fixed bluedroid host memory overflow for v4.1

See merge request espressif/esp-idf!18906
2022-08-16 17:48:11 +08:00
Alexey Gerenkov
af87ee2888 test/examples: Fixes expected GDB message upon thread hit breakpoint 2022-08-16 11:33:20 +03:00
Alexey Gerenkov
0f39eaa4ad tools: Updates OpenOCD version to 'v0.11.0-esp32-20220706' 2022-08-12 14:14:53 +03:00
Island
0af44e73a4 Merge branch 'bugfix/mesh_bqb_test_issues_v4.1' into 'release/v4.1'
ble_mesh: stack: Fix mesh v1.0 BQB test issues(v4.1)

See merge request espressif/esp-idf!19505
2022-08-11 20:09:45 +08:00
wangjialiang
e446ee2ea2 ble_mesh: stack: Fix kr from non-primary subnet shouldn't ignore
For case MESH/NODE/KR/BV-02-C
2022-08-11 14:19:20 +08:00
wangjialiang
6b3c88873e ble_mesh: stack: Add a check if the appkey is bound to the model.
For case MESH/NODE/CFG/MP/BI-03-C
2022-08-11 14:19:15 +08:00