Commit Graph

18924 Commits

Author SHA1 Message Date
morris
1ecf62bf14 Merge branch 'bugfix/fix_spi_bus_lock_concurrency_issue_v4.3' into 'release/v4.3'
spi_bus_lock: fix a concurrency issue (v4.3)

See merge request espressif/esp-idf!20139
2022-09-22 13:34:00 +08:00
Harshit Malpani
f310113c91
expat: Update expat library to R_2_4_8 release
Detailed changelog: https://github.com/libexpat/libexpat/blob/R_2_4_8/expat/Changes
2022-09-22 10:04:59 +05:30
jingli
b85e5627d3 esp_hw_support/clk_cali: remove redundant check for cali value 2022-09-21 16:30:17 +08:00
jingli
07d69b7cae esp_hw_support/clk_cali: fix xtal32k error detect 2022-09-21 16:29:36 +08:00
morris
179d12db47 Merge branch 'bugfix/fix_ledc_timer_update_usage_v4.3' into 'release/v4.3'
ledc: Fix the usage of ledc_ls_timer_update and ledc_timer_rst (backport v4.3)

See merge request espressif/esp-idf!20243
2022-09-21 15:00:37 +08:00
Michael (XIAO Xufeng)
02c45b6e52 Merge branch 'bugfix/spi_hd_quad_issue_4.3' into 'release/v4.3'
SPI : fix wrong dummy cycle on quad mode and put get-command function in spi_ll.h(backport v4.3)

See merge request espressif/esp-idf!19836
2022-09-21 12:10:23 +08:00
wangjialiang
e54506ceaa ble_mesh: stack: Fix friend relay lpn message when relay disable. 2022-09-21 03:36:36 +00:00
Island
894b1ad79d Merge branch 'bugfix/lpn_not_recv_message_to_all_node_4.3' into 'release/v4.3'
ble_mesh: stack: Add option for lpn auto sub all-nodes(v4.3)

See merge request espressif/esp-idf!20263
2022-09-21 11:31:39 +08:00
wangjialiang
7e2ebcde7a ble_mesh: stack: Add option for lpn auto sub all-nodes. 2022-09-20 20:31:37 +08:00
Song Ruo Jing
4cd54d6e32 ledc: Fix the usage of ledc_ls_timer_update and ledc_timer_rst
ledc_ls_timer_update is required only when CLK_DIV and DUTY_RES bits are changed.
Calling ledc_timer_rst while re-configure PWM frequency through ledc_set_freq can cause glitch in the signal
2022-09-20 12:04:13 +08:00
Michael (XIAO Xufeng)
5666813ce0 Merge branch 'bugfix/driver_rs485_fix_test_sync_issues_v43' into 'release/v4.3'
driver: uart rs485 fix test sync issues and fail threshold (backport v4.3)

See merge request espressif/esp-idf!19611
2022-09-19 16:16:01 +08:00
Alex Lisitsyn
ec7bab9b19 driver: uart rs485 fix test sync issues and fail threshold (backport v4.3) 2022-09-19 16:16:00 +08:00
xueyunfei
f1b8861f2b esp_wifi:add clear ap list interface 2022-09-19 15:52:06 +08:00
muhaidong
1773cdb3ac docs: update wifi country code docs. 2022-09-19 15:51:52 +08:00
muhaidong
e8abfaa20e esp_wifi: add small UT for country code. 2022-09-19 15:51:39 +08:00
muhaidong
5a6cbcd29b esp_wifi: fix country policy issue. 2022-09-19 15:51:19 +08:00
Jiang Jiang Jian
5c3e729198 Merge branch 'bugfix/fix_send_eapol_key_request_frame_when_wpa_group_handshake_issue_v4.3' into 'release/v4.3'
wpa_supplicant: try install gtk before send group key handshake message 2(Backport v4.3)

See merge request espressif/esp-idf!20200
2022-09-19 10:58:19 +08:00
Island
26369071d4 Merge branch 'bugfix/adapt_new_btc_v4.3' into 'release/v4.3'
ble_mesh: stack: Corrected parameter size when the btc_transfer_context is used (v4.3)

See merge request espressif/esp-idf!20167
2022-09-18 14:35:32 +08:00
muhaidong
6cf2fc39ce wpa_supplicant: try install gtk before send group key handshake message 2 2022-09-17 18:29:20 +08:00
Chen Yudong
977d1a4b95 CI: optimize ATS ci flow 2022-09-16 13:50:34 +08:00
wangjialiang
eb4ec4beda 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 09:17:08 +00:00
morris
2ee1a33ed4 Merge branch 'bugfix/twai_isr_iram_v4.3' into 'release/v4.3'
hal: fix CONFIG_TWAI_ISR_IN_IRAM for C3, hide TWAI menu for C2 (v4.3)

See merge request espressif/esp-idf!20093
2022-09-15 17:04:18 +08:00
gaoxu
8095142796 SPI: change the different soc's spi defintion location and fix the bug that wrong dummy cycle under quad spi mode 2022-09-15 16:03:54 +08:00
morris
4b6a6a2684 Merge branch 'bugfix/fix_spi_slave_example_sender_ccount_issue_v4.3' into 'release/v4.3'
spi: fix spi slave example sender ccount issue (v4.3)

See merge request espressif/esp-idf!18875
2022-09-15 15:34:02 +08:00
morris
f425cd9d15 Merge branch 'bugfix/fix_esp32_psram_cs_hold_time_issue_when_under_80m_v4.3' into 'release/v4.3'
esp_psram: fix esp32 psram cs hold time issue when under 40m (v4.3)

See merge request espressif/esp-idf!19649
2022-09-15 15:30:30 +08:00
Jiang Jiang Jian
08726a8495 Merge branch 'bugfix/remove_bt_dft_init_semicolon_v4.3' into 'release/v4.3'
bt: Remove trailing semicolon from bt dft initializer(v4.3)

See merge request espressif/esp-idf!19916
2022-09-14 17:01:08 +08:00
Jiang Jiang Jian
f1bd2be298 Merge branch 'bugfix/fix_memory_corruption_in_recon_code_v4.3' into 'release/v4.3'
Nimble: Fixed memory corruption introduced in reconnection attempt code (v4.3)

See merge request espressif/esp-idf!19746
2022-09-14 16:59:38 +08:00
Armando
6a1bfa29b0 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:13:24 +08:00
Zim Kalinowski
73509d93a5 Merge branch 'bugfix/spiram_abort_allocation_failure_v4.3' into 'release/v4.3'
SPIRAM: 'Abort on allocation failure' should not trigger when there is available SPI ram (backport v4.3)

See merge request espressif/esp-idf!19550
2022-09-13 16:28:43 +08:00
Zim Kalinowski
867c622136 Merge branch 'bugfix/fix_disassembler_interpreting_padding_v4.3' into 'release/v4.3'
(Xtensa) Build: add .xt.prop and .xt.lit to the compiled ELF file (backport v4.3)

See merge request espressif/esp-idf!19612
2022-09-13 16:28:26 +08:00
Ivan Grokhotkov
5b2bfa0574 Merge branch 'bugfix/ci_check_executable_windows_v4.3' into 'release/v4.3'
ci: fix check_executables issue on Windows (v4.3)

See merge request espressif/esp-idf!20094
2022-09-13 14:57:03 +08:00
morris
7d2e9c45e2 Merge branch 'ci/ignore_adc_dma_single_read_test_v4.3' into 'release/v4.3'
adc: ignore ADC DMA single read test on esp32s2 (v4.3)

See merge request espressif/esp-idf!19726
2022-09-13 14:34:49 +08:00
Ivan Grokhotkov
ff98b2cf80 Merge branch 'update/version_4_3_4' into 'release/v4.3'
Update version to 4.3.4

See merge request espressif/esp-idf!20103
2022-09-12 22:37:17 +08:00
Ivan Grokhotkov
63091bdf8d versions: Update version to 4.3.4 2022-09-12 10:59:15 +02:00
Michael (XIAO Xufeng)
4919358d6b ci: put file sorter to the end of the pre-commit checking
So that the sorter will be done at the end of the checking flow, we don't need to run pre-commit hooks again if another hook also take effect.
2022-09-11 02:55:56 +08:00
Michael (XIAO Xufeng)
7ff41e406b ci: fix check_executables issue on Windows 2022-09-11 02:54:57 +08:00
Ivan Grokhotkov
c38eeeeda1 hal: fix CONFIG_TWAI_ISR_IN_IRAM not taking effect for C3/H2 2022-09-11 01:17:20 +08:00
xiongweichao
59ea02cb4c bt:Fixed sink not being able to output mono audio because it can only decode dual channel audio data 2022-09-09 17:42:30 +08:00
Armando
e1a5315ff7 adc: ignore ADC DMA single read test on esp32s2
This test is only on esp32s2, and using verification adc APIs.
This commit keeps the code, but don't check it on ci
2022-09-09 16:03:10 +08:00
Yuan Hong Hui
372f637f25 ble_mesh:example:fix memory leak 2022-09-08 16:24:18 +08:00
Mahavir Jain
ad857b5f2b Merge branch 'fix/fix_esp_rsa_sign_alt_modifying_input_params_v4.3' into 'release/v4.3'
esp_rsa_sign_alt: Fix esp_init_ds_data_ctx API to not modify user defined data... (v4.3)

See merge request espressif/esp-idf!19715
2022-09-08 13:56:58 +08:00
Mahavir Jain
b4d7495e0d Merge branch 'fix/esp_https_client_compile_warning_v4.3' into 'release/v4.3'
esp_https_ota: Fix build warning when CONFIG_OTA_ALLOW_HTTP is set (v4.3)

See merge request espressif/esp-idf!19981
2022-09-08 13:56:36 +08:00
Anton Maklakov
1dbab6dfc4 Merge branch 'ci/fix_nightly_run_build_jobs_v4.3' into 'release/v4.3'
ci: build all when has env var NIGHTLY_RUN (v4.3)

See merge request espressif/esp-idf!19702
2022-09-08 11:47:18 +08:00
Jiang Jiang Jian
90ef6426a8 Merge branch 'bugfix/ble_disconnect_enable_light_sleep_and_bb_pd_v4.3' into 'release/v4.3'
bt: Fixed bluetooth disconnection issue when light sleep and baseband power down are enabled (v4.3)

See merge request espressif/esp-idf!19804
2022-09-08 10:55:37 +08:00
Jiang Jiang Jian
cfdc0b9fce Merge branch 'bugfix/fix_rtc_clock_freq_value_macro_v4.3' into 'release/v4.3'
rtc_clk: Fix wrong RC_SLOW clock frequency value on ESP32C3 (backport v4.3)

See merge request espressif/esp-idf!19934
2022-09-08 10:41:05 +08:00
Aditya Patwardhan
ead1587caf esp_https_ota: Warn users when CONFIG_OTA_ALLOW_HTTP is set 2022-09-06 13:54:22 +05:30
Axel Lin
460df92e85 esp_https_ota: Fix build warning when CONFIG_OTA_ALLOW_HTTP is set
Fix below build warning when CONFIG_OTA_ALLOW_HTTP is set:
esp_https_ota.c:165:13: warning: 'is_server_verification_enabled' defined but not used [-Wunused-function]

While at it, also simplify the is_server_verification_enabled logic.

Fixes: 48987ad9df ("esp_https_ota: Enable option of using global_ca_store and x509_crt_bundle")
Signed-off-by: Axel Lin <axel.lin@gmail.com>

Closes https://github.com/espressif/esp-idf/pull/6882

Signed-off-by: Aditya Patwardhan <aditya.patwardhan@espressif.com>
2022-09-06 13:54:22 +05:30
Song Ruo Jing
3ce98867a0 rtc_clk: Fix wrong RC_SLOW clock frequency value on ESP32C3 2022-09-02 21:06:24 +08:00
Pedro
86182baaaf Remove trailing semicolon from bt dft initializer
Similar to espressif#6554
2022-09-02 11:10:41 +08:00
Ivan Grokhotkov
5b81524e63 Merge branch 'bugfix/temp_fix_esp_event_test' into 'release/v4.3'
esp_event: lowered performance threshold temporarily for esp_event test

See merge request espressif/esp-idf!19672
2022-08-31 16:42:37 +08:00