Jiang Jiang Jian
5158f347cd
Merge branch 'bugfix/fix_connect_fail_when_enable_SPIRAM_v4.2' into 'release/v4.2'
...
esp_wifi: fix connect fail when enable SPIRAM and ESPNOW send (backport v4.2)
See merge request espressif/esp-idf!20606
2022-10-20 12:02:48 +08:00
zhangyanjiao
e28977a884
esp_wifi:
...
1. fix connect fail when enable SPIRAM and ESPNOW send
2. refactor WiFi ioctl function
2022-10-19 10:20:26 +08:00
Jin Cheng
15f49d5848
Revert "fixed the issue iOS devices cannot initiate connection"
...
This reverts commit da44fc9cbefa208eaea45e105c3a9dc36959417f.
2022-10-18 19:45:49 +08:00
xiongweichao
7162617e65
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-10-18 06:15:46 +00:00
tgotic
2b70fe2531
update code to use osi_free()
2022-10-18 06:15:46 +00:00
tgotic
59e36c445d
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-10-18 06:15:46 +00:00
wangjialiang
f56c9da3d7
ble_mesh: stack: Add IV index recovery option when device missed the whole IV update
2022-10-17 16:54:47 +08:00
wangjialiang
b467ab61a1
ble_mesh: stack: Fix send fast interval prov_adv failed when PB-ADV and PB-GATT enable simultaneously
2022-10-17 16:40:38 +08:00
Song Ruo Jing
3b5ce456e2
rtc_clk: Fix rtc8m calibration failure after cpu/core reset
...
Explicitly guarantee 8md256 clk is enabled before calibration
2022-10-12 12:44:48 +08:00
Michael (XIAO Xufeng)
2900d0da2e
Merge branch 'bugfix/i2c_timeout_issue_v4.2' into 'release/v4.2'
...
I2C: patch for solving watchdog timeout issue(backport v4.2)
See merge request espressif/esp-idf!18135
2022-10-11 15:21:49 +08:00
morris
2451047a7b
Merge branch 'feat/spi_flash_qio_test_v4.2' into 'release/v4.2'
...
spi_flash: add unit tests for qio mode (v4.2)
See merge request espressif/esp-idf!17696
2022-10-10 18:22:49 +08:00
Wang Meng Yang
db75db5509
Merge branch 'bugfix/remove_bt_dft_init_semicolon_v4.2' into 'release/v4.2'
...
bt: Remove trailing semicolon from bt dft initializer(v4.2)
See merge request espressif/esp-idf!19917
2022-10-10 17:32:57 +08:00
Wang Meng Yang
9c5127d0e4
Merge branch 'feature/sink_support_mono_v4.2' into 'release/v4.2'
...
bt: Fixed sink not being able to output mono audio because it can only decode dual channel audio data(v4.2)
See merge request espressif/esp-idf!20080
2022-10-10 17:32:35 +08:00
Wang Meng Yang
82890eee6c
Merge branch 'bugfix/a2dp_can_not_connect_after_ble_connected_v4.2' into 'release/v4.2'
...
fixed the issue iOS devices cannot initiate connection (v4.2)
See merge request espressif/esp-idf!20406
2022-10-10 17:25:25 +08:00
Cao Sen Miao
9a59ed4b7a
I2C: patch for solving watchdog timeout issue
2022-10-10 11:05:25 +08:00
Wang Meng Yang
bd4b68167d
Merge branch 'bugfix/fix_ble_get_cur_pkt_num_crash_sometimes_when_bluetooth_is_disconnecting_v4.2' into 'release/v4.2'
...
Fixed calling esp_ble_get_cur_sendable_packets_num() sometimes crashes when bluetooth is disconnecting(backport v4.2)
See merge request espressif/esp-idf!20379
2022-10-08 16:35:45 +08:00
Jiang Jiang Jian
5976dcc006
Merge branch 'bugfix/fix_send_eapol_key_request_frame_when_wpa_group_handshake_issue_v4.2' into 'release/v4.2'
...
wpa_supplicant: try install gtk before send group key handshake message 2(Backport v4.2)
See merge request espressif/esp-idf!20199
2022-09-28 17:50:35 +08:00
Jin Cheng
396dc28ca9
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:05 +08:00
cjin
1659c3460a
fix on data len change cmd malfunction
2022-09-27 21:47:39 +08:00
cjin
9d9b08ff10
fix err using rpa for confirmation calculation
2022-09-27 21:47:25 +08:00
zwj
4c3a48edea
fix calling esp_ble_get_cur_sendable_packets_num() sometimes crashes when bluetooth is disconnecting
2022-09-27 21:46:57 +08:00
Song Ruo Jing
0f051a5e3b
uart: Fix unwanted processing of TX_DONE interrupt immediately after calling uart_wait_tx_done()
...
In previous transmission(s), the TX_DONE interrupt raw bit may be raised, but never been cleared.
TX_DONE interrrupt status bit should be cleared before enabling it to check the new transmission.
Introduced in 239e56541c0e7aa4bc735b0c6c1cc17df643369c
2022-09-23 16:24:30 +08:00
morris
04f2766b3e
Merge branch 'bugfix/fix_spi_bus_lock_concurrency_issue_v4.2' into 'release/v4.2'
...
spi_bus_lock: fix a concurrency issue (v4.2)
See merge request espressif/esp-idf!20140
2022-09-22 13:30:47 +08:00
Island
d1f4406718
Merge branch 'bugfix/lpn_not_recv_message_to_all_node_4.2' into 'release/v4.2'
...
ble_mesh: stack: Add option for lpn auto sub all-nodes(v4.2)
See merge request espressif/esp-idf!20262
2022-09-21 11:31:29 +08:00
wangjialiang
514e896462
ble_mesh: stack: Add option for lpn auto sub all-nodes.
2022-09-20 20:32:37 +08:00
muhaidong
faf4fd233a
wpa_supplicant: try install gtk before send group key handshake message 2
2022-09-19 08:15:15 +00:00
wangjialiang
c78efa5fa4
ble_mesh: stack: Fix friend relay lpn message when relay disable.
2022-09-18 09:51:31 +00:00
Island
13b05ca6ba
Merge branch 'bugfix/adapt_new_btc_v4.2' into 'release/v4.2'
...
ble_mesh: stack: Corrected parameter size when the btc_transfer_context is used (v4.2)
See merge request espressif/esp-idf!20168
2022-09-18 14:35:49 +08:00
Jiang Jiang Jian
c2bb3afafa
Merge branch 'bugfix/fix_some_wifi_bugs_0805_v4.2' into 'release/v4.2'
...
esp_wifi: fix some wifi bugs(Backport v4.2)
See merge request espressif/esp-idf!19402
2022-09-16 14:16:11 +08:00
Island
98d90cd216
Merge branch 'bugfix/friend_and_lpn_issues_v4.2' into 'release/v4.2'
...
ble_mesh: stack: Fix friend and lpn issues(v4.2)
See merge request espressif/esp-idf!19477
2022-09-15 18:42:41 +08:00
Island
0b03533594
Merge branch 'bugfix/mesh_bqb_test_issues_v4.2' into 'release/v4.2'
...
ble_mesh: stack: Fix mesh v1.0 BQB test issues(v4.2)
See merge request espressif/esp-idf!19504
2022-09-15 18:42:30 +08:00
wangjialiang
3052096ab1
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:02:24 +08:00
morris
949d7da779
Merge branch 'bugfix/driver_rs485_fix_test_sync_issues_v42' into 'release/v4.2'
...
driver: uart rs485 fix test sync issues and fail threshold (backport v4.2)
See merge request espressif/esp-idf!19615
2022-09-15 15:23:21 +08:00
Alex Lisitsyn
3c67e26dce
driver: uart rs485 fix test sync issues and fail threshold (backport v4.2)
2022-09-15 15:23:21 +08:00
wanlei
d7e3f3fb64
spi_master:fix error when use spi_bus_add_device
more than 3 device
...
update gpio_sig at `spics_out` array in each spi_periph.c of chips later than s2
then `spi_bus_add_device` can correctly distribute gpio_signals for cs_signal
Closes https://github.com/espressif/esp-idf/issues/8876
2022-09-14 14:20:16 +08:00
Armando
19098d3eb0
SPI_BUS_LOCK: fix a concurrency issue
...
define: lock_bits = (lock->status & LOCK_MASK) >> LOCK_SHIFT; This `lock_bits` is the Bit 29-20 of the lock->status
1. spi_hdl_1:
acquire_end_core():
uint32_t status = lock_status_clear(lock, dev_handle->mask & LOCK_MASK);
Becuase this is the first `spi_hdl_1`, so after this , lock_bits == 0`b0. status == 0
2. spi_hdl_2:
acquire_core:
uint32_t status = lock_status_fetch_set(lock, dev_handle->mask & LOCK_MASK);
Then here status is 0`b0, but lock_bits == 0`b10. Because this is the `spi_hdl_2`
3. spi_hdl_2:
`acquire_core` return true, because status == 0. `spi_bus_lock_acquire_start(spi_hdl_2)` then won't block.
4. spi_hdl_2:
spi_device_polling_end(spi_hdl_2).
5. spi_hdl_1:
acquire_end_core:
status is 0, so it cleas the lock->acquiring_dev
6. spi_hdl_2:
spi_device_polling_end:
assert(handle == get_acquiring_dev(host)); Fail
Closes https://github.com/espressif/esp-idf/issues/8179
2022-09-14 12:15:06 +08:00
Ivan Grokhotkov
ed22f22632
Merge branch 'bugfix/spi_slave_intr_iram_v4.2' into 'release/v4.2'
...
driver: spi_slave: make sure CS helpers are in IRAM if the ISR is (v4.2)
See merge request espressif/esp-idf!17833
2022-09-13 16:28:14 +08:00
Zim Kalinowski
b32ae67f10
Merge branch 'bugfix/fix_disassembler_interpreting_padding_v4.2' into 'release/v4.2'
...
(Xtensa) Build: add .xt.prop and .xt.lit to the compiled ELF file (backport v4.2)
See merge request espressif/esp-idf!19613
2022-09-13 16:27:52 +08:00
Zim Kalinowski
eb128229a9
Merge branch 'bugfix/i2c_notify_task_in_ISR_v4.2' into 'release/v4.2'
...
I2C: Fix a bug making the I2C task wait too long on an event
See merge request espressif/esp-idf!19619
2022-09-13 16:27:40 +08:00
Michael (XIAO Xufeng)
75ff8d7ff8
spi_flash: add unit tests for qio mode
2022-09-11 02:39:59 +08:00
xiongweichao
7f0c35dd32
bt:Fixed sink not being able to output mono audio because it can only decode dual channel audio data
2022-09-09 17:45:03 +08:00
Pedro
ef23935993
Remove trailing semicolon from bt dft initializer
...
Similar to espressif#6554
2022-09-02 11:14:16 +08:00
Ivan Grokhotkov
f5e484fc79
versions: Update version to 4.2.4
2022-08-31 00:18:44 +02:00
Armando
ea78cd1116
esp_psram: fixed 40mhz cs signal glitch issue
2022-08-18 20:39:56 +08:00
Omar Chebib
ebd63c499c
(Xtensa) Build: add .xt.prop and .xt.lit to the compiled ELF file
...
Adding prop and lit sections to the ELF will let the debugger and the disassembler
have more info about data bytes present in the middle of the Xtensa
instructions, usually used for padding.
2022-08-18 10:44:31 +08:00
Omar Chebib
17a5d4aff7
I2C: Fix a bug making the I2C task wait too long on an event
...
The I2C ISR will now notify the task waiting on an event. Thus, the task can stop waiting on the event queue as soon as possible.
2022-08-17 17:39:10 +08:00
wangjialiang
2850d7ca59
ble_mesh: stack: Fix kr from non-primary subnet shouldn't ignore
...
For case MESH/NODE/KR/BV-02-C
2022-08-11 14:17:46 +08:00
wangjialiang
f14a13b887
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:17:41 +08:00
wangjialiang
5df2e036df
ble_mesh: stack: the count_log field should be set to 0 when HBS is sent.
...
For MESH/NODE/CFG/HBS/BV-02-C
2022-08-11 14:17:35 +08:00
wangjialiang
929f931b88
ble_mesh: stack: The Heartbeat Publication Period Log value can set to 0x11, range: [0, 0x11]
2022-08-11 14:17:29 +08:00