Commit Graph

15560 Commits

Author SHA1 Message Date
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
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
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
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
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
Ivan Grokhotkov
f5e484fc79 versions: Update version to 4.2.4 2022-08-31 00:18:44 +02: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
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
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
wangjialiang
892b9b9def ble_mesh: stack: The value of expect_ack_for will be rewrited after send_pub_key().
For case MESH/PVNR/PROV/BV-04-C
2022-08-11 14:17:22 +08:00
wangjialiang
6a88790a74 ble_mesh: stack: Fix ignore connectable PB-ADV PDU containing a Link Open message.
For case MESH/NODE/PBADV/BI-04-C
2022-08-11 14:17:13 +08:00
wangjialiang
80630b1e6a ble_mesh: stack: Fix PB-GATT not check invalid link flag
For case MESH/NODE/PROV/BI-03-C
2022-08-11 14:17:05 +08:00
wangjialiang
386da9df0c ble_mesh: stack: Fix invalid provisioning pdu type check
For case MESH/NODE/PROV/BI-15-C
2022-08-11 14:17:01 +08:00
wangjialiang
2e190452b8 ble_mesh: stack: Fix add continuously secure update into friend queue.
For MESH/NODE/FRND/FN/BV-20-C
2022-08-09 21:50:24 +08:00
wangjialiang
a6b2103948 ble_mesh: stack: Fix friend relay lpn message when relay feature is disable
For MESH/NODE/FRND/FN/BV-23-C
2022-08-09 21:50:20 +08:00
Ivan Grokhotkov
5a65ac50e0
driver: spi_slave: make sure CS helpers are in IRAM if the ISR is
Closes https://github.com/espressif/esp-idf/issues/3870
2022-08-08 10:34:09 +02:00
Island
997844bbc3 Merge branch 'bugfix/vendor_model_send_message_no_memory_forv4.2' into 'release/v4.2'
ble_mesh:example: free the memory of malloc (v4.2)

See merge request espressif/esp-idf!19187
2022-08-08 12:25:38 +08:00
Yuan Hong Hui
10f0879fdb ble_mesh:the memory requested by malloc has not benn released 2022-08-05 12:13:47 +00:00
Jiang Jiang Jian
d016f69ffc Merge branch 'feat/make_property_idf_component_manager_root_level_v4.2' into 'release/v4.2'
Feat/make property idf component manager root level (v4.2)

See merge request espressif/esp-idf!19084
2022-08-05 19:58:57 +08:00
Jiang Jiang Jian
847d9631b9 Merge branch 'bugfix/restore_missing_ble_mesh_videos_v4.2' into 'release/v4.2'
ble_mesh: doc: Restore missing ble mesh videos(v4.2)

See merge request espressif/esp-idf!19405
2022-08-05 19:58:42 +08:00
wangjialiang
3c5eb41914 ble_mesh: doc: Restore missing ble mesh videos 2022-08-05 13:57:25 +08:00
muhaidong
647526af47 esp_wifi: fix some wifi bugs
1. fix not update phy according to country code.
2. sync peripheral device reg base.
3. fix for default ap ssid not set.
4. do not recv unencrypted unicaset ESPNOW packets when local encrypted.
2022-08-05 13:29:52 +08:00
Jiang Jiang Jian
be26894259 Merge branch 'bugfix/install_key_refactor_v4.2' into 'release/v4.2'
esp_wifi: backported some wifi fixes (19472381)

See merge request espressif/esp-idf!19385
2022-08-05 10:42:26 +08:00
Kapil Gupta
bdc671aee3 esp_wifi: backported some wifi fixes (19472381)
1. G1 rx drop from key install code refactoring
2. Remove group cipher check for PMF connection
2022-08-04 12:21:20 +05:30
Marius Vikhammer
ca1628b310 Merge branch 'bugfix/freertos_event_group_unblock_race_condition_v4.2' into 'release/v4.2'
FreeRTOS: Fix event group task list race condition (v4.2)

See merge request espressif/esp-idf!19105
2022-08-04 13:14:26 +08:00
Jiang Jiang Jian
2f634a82d5 Merge branch 'bugfix/wlan_fixes_backports_v4.2' into 'release/v4.2'
esp_wifi: Fix some wlan issues(backport v4.2)

See merge request espressif/esp-idf!19362
2022-08-04 11:33:57 +08:00
Jiang Jiang Jian
a46d166c49 Merge branch 'bugfix/combined_softap_pmf_fixes_v4.2' into 'release/v4.2'
Combined bugfixes for SoftAP and PMF (Backport v4.2)

See merge request espressif/esp-idf!19121
2022-08-04 11:05:10 +08:00