15732 Commits

Author SHA1 Message Date
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
Michael (XIAO Xufeng)
e5f6cd9cc5 Merge branch 'feat/essl_extra_component_v4.2' into 'release/v4.2'
sdio/example: fixed the essl return value issue (v4.2)

See merge request espressif/esp-idf!20347
2022-10-08 14:07:19 +08:00
Roland Dobai
05830cb46d Merge branch 'bugfix/missing_idfSelectedId_v4.2' into 'release/v4.2'
Tools: bugfix wrong format of idf-env.json, KeyError: 'idfSelectedId' (v4.2)

See merge request espressif/esp-idf!20382
2022-09-29 01:31:01 +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
Yuan Hong Hui
8f01785e2f ble_mesh:example:change the method of get model 2022-09-28 15:34:08 +08:00
Wang Meng Yang
91874c837c Merge branch 'bugfix/hfp_examples_not_work_with_default_sdkconfig_v4.2' into 'release/v4.2'
bugfix/set default number of sco connection to 1 (v4.2)

See merge request espressif/esp-idf!19589
2022-09-28 15:28:01 +08:00
Island
ec05def4cd Merge branch 'bugfix/ble_mesh_console_support_nimble_host_for_v4.2' into 'release/v4.2'
ble_mesh:ble mesh console support nimble(v4.2)

See merge request espressif/esp-idf!19606
2022-09-28 12:32:31 +08:00
Marek Fiala
77569c24b9 Tools: bugfix wrong format of idf-env.json, KeyError: 'idfSelectedId'
Closes https://github.com/espressif/esp-idf/issues/9837
2022-09-27 22:42:10 +02: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
Michael (XIAO Xufeng)
cff557ce07 sdio/example: fixed the essl return type issue 2022-09-26 19:42:24 +08:00
Roland Dobai
0b92a1b40d Merge branch 'fix/ci_macos_idf_env_json_v4.2' into 'release/v4.2'
CI: Clean-up idf-env.json which might not be compatible with newer versions (v4.2)

See merge request espressif/esp-idf!20322
2022-09-23 21:47:12 +08:00
Roland Dobai
b3a80b4229 CI: Clean-up idf-env.json which might not compatible with newer versions 2022-09-23 12:26:23 +02: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
Jiang Jiang Jian
e81c5be7d8 Merge branch 'ci/optimize_ats_ci_flow_v4.2' into 'release/v4.2'
CI: optimize ATS ci flow (v4.2)

See merge request espressif/esp-idf!20179
2022-09-22 14:12:17 +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
Jiang Jiang Jian
138bbec8ab Merge branch 'bugfix/relay_friend_cred_message_v4.2' into 'release/v4.2'
ble_mesh: stack: Fix friend relay lpn message when relay disable(v4.2)

See merge request espressif/esp-idf!20206
2022-09-19 14:03:31 +08: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
Chen Yudong
9d5275375a CI: optimize ATS ci flow 2022-09-16 13:53:15 +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
Roland Dobai
691c4ddeb5 Merge branch 'feature/oocd_ver_upgrade_v4.2' into 'release/v4.2'
tools: Updates OpenOCD version to 'v0.11.0-esp32-20220706' (v4.2)

See merge request espressif/esp-idf!19492
2022-09-12 16:54:19 +08:00
Michael (XIAO Xufeng)
afbfcbaef1 ci: add job num 2022-09-12 00:52:20 +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
Mahavir Jain
1ec5e249b6 Merge branch 'update/version_4_2_4' into 'release/v4.2'
Update version to 4.2.4

See merge request espressif/esp-idf!19867
2022-09-08 12:25:02 +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 v4.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
Yuan Hong Hui
db99a12578 ble_mesh:ble mesh console support nimble 2022-08-17 14:39:53 +08:00
jincheng
c92e55cb4a 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:34 +08:00
Alexey Gerenkov
d42d181f27 test/examples: Fixes expected GDB message upon thread hit breakpoint 2022-08-15 19:06:19 +03:00
Alexey Gerenkov
4d9aed7511 tools: Updates OpenOCD version to 'v0.11.0-esp32-20220706' 2022-08-12 14:11:40 +03:00