Commit Graph

18991 Commits

Author SHA1 Message Date
Island
bcc7d4e427 Merge branch 'bugfix/fix_ble_memory_leak_v5.0' into 'release/v5.0'
fix(ble/bluedroid): Fix ble memory leak when gattc config off(backport v5.0)

See merge request espressif/esp-idf!28497
2024-01-25 12:18:59 +08:00
muhaidong
48b9fde3e3 fix(wifi): fix pmk invalid lead same ssid wpa and wpa2 connect fail issue 2024-01-24 16:38:43 +08:00
Mahavir Jain
4b13be6cf0 Merge branch 'bugfix/update_jtag_disabling_api_v5.0' into 'release/v5.0'
fix(esp_hw_support): fix API esp_hmac_disable_jtag() to disable JTAG (v5.0)

See merge request espressif/esp-idf!28502
2024-01-24 15:07:27 +08:00
Mahavir Jain
44593bf3ef Merge branch 'feat/update_cjson_v1_7_17_v5.0' into 'release/v5.0'
feat(cJSON): update submodule to v1.7.17 (v5.0)

See merge request espressif/esp-idf!28350
2024-01-24 15:06:59 +08:00
Jiang Jiang Jian
9be6e00f1e Merge branch 'bugfix/fix_scan_request_ifs_error_v5.0' into 'release/v5.0'
Fixed BLE scan request ifs time error in coexistence scenarios(backport v5.0)

See merge request espressif/esp-idf!28576
2024-01-24 14:00:49 +08:00
laokaiyao
12714a6fda fix(i2s): fixed incorrect reg base name on C3
Closes https://github.com/espressif/esp-idf/issues/12643
2024-01-23 12:07:50 +08:00
zhanghaipeng
ca056b198f feat(bt/bluedroid): Support ext adv aux option 2024-01-22 20:54:04 +08:00
zhanghaipeng
e37dcaa92f fix(bt/bluedroid): Fix BLE malloc internal wrapper fail 2024-01-22 20:53:53 +08:00
Zeke Gustafson
570cc22bdc feat(ble/bluedroid): Add getter for BLE GAP callback 2024-01-22 20:53:44 +08:00
Zeke Gustafson
46253edd6a feat(ble/bluedroid): Add getter for BLE GATTS callback 2024-01-22 20:53:36 +08:00
zhanghaipeng
b9caeb4559 feat(ble/bluedroid): Add getter for BLE GATTC calllback 2024-01-22 20:53:28 +08:00
zhanghaipeng
a3759a122e docs(ble/bluedroid): Optimize documentation for BLE duplicate scan 2024-01-22 20:53:20 +08:00
zhanghaipeng
b447216f8a fix(ble/bluedroid): Fix dangling pointer issue in deletion of bonded devices 2024-01-22 20:53:08 +08:00
zhanghaipeng
00b839ca66 fix(ble/bluedroid): Fix BLE background connection log level 2024-01-22 20:53:00 +08:00
sonika.rathi
4ffa46428e feat(example/storage/littlefs): add LittleFS demo example 2024-01-22 20:21:21 +08:00
Ondrej Kosta
8c305d182b ci(esp_eth): enabled Ethernet ip101 jobs 2024-01-22 12:48:41 +01:00
Jiang Jiang Jian
ad2c1809ce Merge branch 'bugfix/ble_update_lib_20231229_v5.0' into 'release/v5.0'
update lib on release/v5.0

See merge request espressif/esp-idf!28187
2024-01-22 11:15:01 +08:00
linruihao
698c736c06 fix(esp_coex): Fixed potential BLE scan request ifs timer error bug 2024-01-19 19:42:32 +08:00
luoxu
90ee8c4cb8 bugfix(ble_mesh): add duplicate scan config for esp32s3 2024-01-19 16:57:59 +08:00
luoxu
e138aae301 feat(ble_mesh): Miscellaneous updates for mesh kconfig, relay related 2024-01-19 16:57:59 +08:00
Harshit Malpani
a2ed654c6d
feat(cjson): update submodule to v1.7.17
Changelog: https://github.com/DaveGamble/cJSON/releases/tag/v1.7.17
2024-01-19 14:08:06 +05:30
zhiweijian
8aa3f66084 Fixed BLE scan request ifs timer error in coexistence scenarios 2024-01-19 14:53:40 +08:00
Jiang Jiang Jian
d6933bd3c7 Merge branch 'bugfix/fix_crash_issue_when_mesh_deinit_v5.0' into 'release/v5.0'
fix(wifi): fix the crash and malloc fail issue (v5.0)

See merge request espressif/esp-idf!28557
2024-01-19 11:10:38 +08:00
Jiang Jiang Jian
463514a3ba Merge branch 'bugfix/fix_mac_bb_pd_iwdt_timeout_v5.0' into 'release/v5.0'
fix(ble): fixed interrupt timeout in MAC_BB_PD callback (v5.0)

See merge request espressif/esp-idf!28466
2024-01-18 19:42:56 +08:00
zhangyanjiao
8e8c240f84 fix(wifi): fix the crash and malloc fail issue
1. fix(wifi/mesh): fix the crash issue when mesh deinit
2. fix(wifi):fix when ap recv auth in sa query porcess will memset psq issue
2024-01-18 11:27:22 +08:00
Jiang Jiang Jian
2398c20ce9 Merge branch 'bugfix/fix_wpa3_connect_fail_issue_v5.0' into 'release/v5.0'
fix(wifi): fix wpa3 connect fail issue

See merge request espressif/esp-idf!28436
2024-01-18 11:19:10 +08:00
Michael (XIAO Xufeng)
5a3a5b47a7 Merge branch 'bugfix/recalib_bbpll_before_tuning_v5.0' into 'release/v5.0'
fix(bbpll): fix bbpll may not lock or not stable bug for stop early (ESP32C2/S3/C6/H2) (v5.0)

See merge request espressif/esp-idf!28286
2024-01-17 21:22:30 +08:00
xiongweichao
6674d0f0e5 fix(bt/bluedroid): Fixed SPP connection failure
The connection failure is caused by the BTU and application layer status being out of sync.
2024-01-17 19:40:38 +08:00
cjin
dd7bd8ab34 Revert "change(ble): added ble cca en and thresh option"
This reverts commit f6760db77d.
2024-01-17 18:01:06 +08:00
Sudeep Mohanty
a5ad77accf fix(console): Fixed linenoise prompt length calculation
This commit fixes a potential issue where in the prompt length used
for the linenoise based console could be calculated as a negative
integer, leading to a console hang.

Closes https://github.com/espressif/esp-idf/issues/4924
2024-01-17 09:42:41 +01:00
harshal.patil
8176a0341e
feat(bootloader_support): Encrypt only the app image instead of the whole partition
Currently, when flash encryption is enabled, the whole partition gets encrypted.
This can be optimised by encrypting only the app image instead of encrypting the whole partition.

Closes https://github.com/espressif/esp-idf/issues/12576
2024-01-17 14:06:49 +05:30
harshal.patil
c3facf79da
fix(bootloader_support): Fix image_length calculation when secure boot v1 is enabled
Fixed the value of the image_length field of the image metadata populated by esp_image_verfiy()
to include the size of the signature sector when Secure Boot V1 is enabled.
2024-01-17 14:06:48 +05:30
luomanruo
6cc8d4e697 ble(update):
Update c2 lib to e5789394
2024-01-17 15:41:51 +08:00
luomanruo
46bbb6cb48 ble: npl count is zero if nimble host is not used 2024-01-17 15:41:51 +08:00
luomanruo
edcb550e85 ble(update):
Update c2 lib to e5789394
2024-01-17 15:41:51 +08:00
Darshan Dobariya
c35c5adfb2 fix(nimble): Added support for address resolution during inquiry (v5.0) 2024-01-17 11:30:48 +05:30
nilesh.kale
1cd2bb4b22 fix(esp_hw_support): fix API esp_hmac_disable_jtag() to disable JTAG
After ets_hmac_disable(), invalidating JTAG register process is ineffective.
So, added call to enable hmac begore invalidating JTAG REG.
And similarly disabled it after invalidation.
2024-01-16 14:40:09 +05:30
zhanghaipeng
587a797f7b fix(ble/bluedroid): Fix ble memory leak when gattc config off 2024-01-16 15:44:54 +08:00
schottj
75f1a51f3e
fix(app_update): fixed undeclared variable 'ret' in esp_ota_ops.c 2024-01-16 12:10:17 +05:30
Harshit Malpani
e713b3cbb5
feat: Add API to verify the bootloader and app image
Added an API to verify the bootloader and app image before revoking the key in Secure Boot V2.
This will help in preventing the device to be bricked if the bootloader/application cannot be
verified by any other keys in efuse
2024-01-16 11:57:06 +05:30
linruihao
50ef9e3533 fix(ble): fixed interrupt timeout in MAC_BB_PD callback 2024-01-15 16:17:06 +08:00
Xiao Xufeng
376be14e1c fix(rtc): fixed bbpll not calibrated from bootloader issue 2024-01-14 02:38:49 +08:00
muhaidong
ef3830b4d8 fix(wifi): fix wpa3 connect fail issue 2024-01-12 16:35:13 +08:00
Jiang Jiang Jian
6e4eb1a6cc Merge branch 'bugfix/fix_some_wifi_bugs_240111_v5.0' into 'release/v5.0'
fix(wifi): fix some wifi bugs (Backport v5.0)

See merge request espressif/esp-idf!28410
2024-01-11 22:44:15 +08:00
Jiang Jiang Jian
2b16bd7eac Merge branch 'bugfix/change_default_value_for_ip_ttl_5.0' into 'release/v5.0'
Fix(lwip):bugfix for change default value for ip ttl 5.0

See merge request espressif/esp-idf!28399
2024-01-11 21:20:32 +08:00
muhaidong
be1be3c64a fix(wifi): fix some wifi bugs
1. support dump ACK frame for CSI
2. fix psram enabled but initialized fail issue
2024-01-11 17:51:00 +08:00
Jiang Jiang Jian
d4693f85d8 Merge branch 'bugfix/fix_http_client_error_v5.0' into 'release/v5.0'
esp_http_client: Fix reset errno to 0 before call esp_transport_read(backport v5.0)

See merge request espressif/esp-idf!28327
2024-01-11 16:52:14 +08:00
alanmaxwell
93d1c3125e feat(wifi): support dump 802.11 ACK frame for CSI 2024-01-11 16:41:55 +08:00
zhanghaipeng
8476ff2fa3 fix(bt/bluedroid): Fix ble adv data check to avoid memory overflow 2024-01-11 16:34:59 +08:00
xueyunfei
8926466b4d Fix(lwip):bugfix for change default value for ip ttl 2024-01-11 14:30:23 +08:00
morris
c940cf08c4 feat(rmt): support update bytes encoder configurations at runtime
Closes https://github.com/espressif/esp-idf/issues/12775
2024-01-11 13:47:04 +08:00
Jiang Jiang Jian
50de63e280 Merge branch 'bugfix/coex_ble_scan_rate_v5.0' into 'release/v5.0'
fix(coex): Fix esp32 ble scan not restart when wifi start stop

See merge request espressif/esp-idf!27601
2024-01-11 13:42:06 +08:00
Mahavir Jain
3af1b71f0b Merge branch 'bugfix/fix_dynamic_mbedtls_crash_v5.0' into 'release/v5.0'
mbedtls: Fix enable dynamic mbedtls will occur heap corruption when server support TLS renegotiation(backport v5.0)

See merge request espressif/esp-idf!28324
2024-01-11 12:40:06 +08:00
liuning
11f4f925bd fix(coex): Fix esp32 ble scan not restart when wifi start stop, fix(wifi): Fix no sleep null after data sent 2024-01-11 11:42:12 +08:00
liuning
7a8230ef35 esp_wifi: support connectionless manually pwr mgmt 2024-01-11 11:42:12 +08:00
Jiang Jiang Jian
e313438eb0 Merge branch 'bugfix/dpp_listen_bugs_v5.0' into 'release/v5.0'
fix(wpa_supplicant): Fix few bugs in dpp(v5.0)

See merge request espressif/esp-idf!26794
2024-01-10 11:27:19 +08:00
Marius Vikhammer
01dabff7c3 Merge branch 'bugfix/fix_wrong_dcache_0_size_issue_on_s2_v5.0' into 'release/v5.0'
fix(cache): fix wrong dcache size 0 configuration issue on s2 (v5.0)

See merge request espressif/esp-idf!28291
2024-01-09 14:16:11 +08:00
David Čermák
25b8c3d573 Merge branch 'feature/lan8720_to_new_runner_v5.0' into 'release/v5.0'
ci(esp_eth): moved LAN8720 test to a new runner

See merge request espressif/esp-idf!28258
2024-01-08 23:52:08 +08:00
Rahul Tank
37ccf9b6c5 Merge branch 'bugfix/reattempt_conn_feat_extended_v5.0' into 'release/v5.0'
fix(nimble): Support for reattempt connection in ext connect (v5.0)

See merge request espressif/esp-idf!28307
2024-01-08 20:36:50 +08:00
jgujarathi
6cb42e4304 fix(wpa_supplicant): Add support for a dpp authentication timeout
- Adds support for a 1 second dpp authentication timeout.
2024-01-08 15:57:50 +05:30
jgujarathi
d982e66c21 fix(wpa_supplicant): Restructuring DPP init method to ensure cleanup
- Restructuring DPP init function to ensure cleanup of variables in case of
  init failure
2024-01-08 15:57:50 +05:30
jgujarathi
339efe8cae fix(wpa_supplicant): Fix location of clearing up dpp global variables
- Fix location of cleaing up dpp global variables to ensure that there are
  no concurrency issues.
2024-01-08 15:57:50 +05:30
jgujarathi
ed4582c9e0 fix(wpa_supplicant): Fix a memory leak in dpp deinit path
- Ensures that the auth information of dpp gets freed when there is
  dpp gets deinited.
2024-01-08 15:57:50 +05:30
jgujarathi
8009cdae1d fix(wpa_supplicant): Move concurrent wps and dpp check to before creating task
- Move the check for checking concurrent wps and dpp check to before creating
  task rather than after.
2024-01-08 15:57:50 +05:30
jgujarathi
290b30e56e fix(wpa_supplicant): Fix a crash in esp_wifi_wps_disable
- Fixes a crash observed in esp_wifi_wps_disable when wps process
  is ongoing, caused due to concurrency issues in cancelling timers.
2024-01-08 15:57:50 +05:30
aditi_lonkar
5fbe36db0f fix(esp_wifi):Fix WDT when esp_supp_dpp_start_listen called multiple times 2024-01-08 15:57:49 +05:30
jim
56e5190f33 esp_http_client: Fix reset errno to 0 before call esp_transport_read
Closes https://github.com/espressif/esp-idf/issues/9020
2024-01-08 15:31:21 +08:00
jim
dfe28ce029 mbedtls: Fix enable dynamic mbedtls will occur heap corruption when server support TLS renegotiation 2024-01-08 14:37:41 +08:00
linruihao
82a7b0160a fix(bt/bludroid): Increase BTU task stack size 2024-01-08 11:36:53 +08:00
Rahul Tank
f1fe837b23 fix(nimble): Support for reattempt connection in ext connect 2024-01-05 16:43:32 +05:30
Island
97bfd92534 Merge branch 'bugfix/fix_ble_robost_cashing_v5.0' into 'release/v5.0'
fix(bt/bluedroid): Fix BLE robost cashing config(backport v5.0)

See merge request espressif/esp-idf!28199
2024-01-05 12:44:59 +08:00
Armando
d9f7b7fe4a fix(cache): fix wrong dcache size 0 configuration issue on s2
Closes https://github.com/espressif/esp-idf/issues/12711
2024-01-05 10:40:04 +08:00
chaijie@espressif.com
d91c6d0da8 fix(bbpll): fix bbpll calibration may stop early bug(ESP32C2/S3) 2024-01-05 03:36:48 +08:00
Ondrej Kosta
44252caf3f ci(esp_eth): moved LAN8720 test to a new runner 2024-01-04 13:19:36 +01:00
morris
69f1349dd6 Merge branch 'contrib/github_pr_12908_v5.0' into 'release/v5.0'
spi_lcd: add flag to control the DC level in cmd/param/data phase separately (GitHub PR) (v5.0)

See merge request espressif/esp-idf!28242
2024-01-04 10:25:43 +08:00
morris
471db88884 Merge branch 'refactor/uart_read_bytes_from_ringbuf_v5.0' into 'release/v5.0'
change(uart): improved the internal logic of uart_read_bytes (v5.0)

See merge request espressif/esp-idf!28224
2024-01-03 17:29:15 +08:00
Kit Sczudlo
d7602bf30e feat(spi_lcd): control DC level for cmd, param, color phase separately
Closes https://github.com/espressif/esp-idf/issues/10635
Merges https://github.com/espressif/esp-idf/pull/12908
2024-01-03 17:25:17 +08:00
Mahavir Jain
471ca6a6bf Merge branch 'contrib/github_pr_12177_v5.0' into 'release/v5.0'
mbedtls: define MBEDTLS_SSL_CID_TLS1_3_PAD_GRANULARITY for CID padding (GitHub PR) (v5.0)

See merge request espressif/esp-idf!28210
2024-01-03 16:52:10 +08:00
xueyunfei
e0cdfe3590 Fix(esp_wifi): Add the missing header file to the wifi header files 2024-01-03 10:38:31 +08:00
Song Ruo Jing
e2ee4d03c3 change(uart): improved the internal logic of uart_read_bytes
Ringbuffer usage becomes more efficient with the use of xRingbufferReceiveUpTo

Closes https://github.com/espressif/esp-idf/issues/12386
2024-01-02 20:19:21 +08:00
Jiang Jiang Jian
600991b43c Merge branch 'bugfix/timer_index_out_of_bound_v5.0' into 'release/v5.0'
Fix timer index out of bound issue (Backport v5.0)

See merge request espressif/esp-idf!27445
2024-01-02 17:44:34 +08:00
Jiang Jiang Jian
15fa0a88d4 Merge branch 'bigfix/BLEQABR23-503_v50' into 'release/v5.0'
fix(ble_mesh): reject node-reseting when provision link is active (V5.0)

See merge request espressif/esp-idf!25847
2024-01-02 15:38:38 +08:00
Wu Meng Shi
b278566acc fix(ble_mesh): reject node-reseting when provision link is active (V5.0) 2024-01-02 15:38:37 +08:00
Daniel Mangum
3ef1cf7edb
mbedtls: define MBEDTLS_SSL_CID_TLS1_3_PAD_GRANULARITY for CID padding
Updates config to define the new MBEDTLS_SSL_CID_TLS1_3_PAD_GRANULARITY
option, which replaced the previously used
MBEDTLS_SSL_CID_PADDING_GRANULARITY. The old option is continuing to be
used as the new one exceeds the maximum length for an option name in
esp-idf.

See https://github.com/Mbed-TLS/mbedtls/pull/4490 for more information.

Signed-off-by: Daniel Mangum <georgedanielmangum@gmail.com>
2024-01-02 11:22:38 +05:30
zhanghaipeng
e8a7e1f600 fix(bt/bluedroid): Fix BLE robost cashing config 2024-01-02 13:28:05 +08:00
Shyamal Khachane
bc866f36df fix(esp_wifi): Fix timer index out of bound issue causing execution of timer function to fail 2024-01-02 11:26:13 +08:00
Jiang Jiang Jian
35556a6a85 Merge branch 'backport/fix_ble_prepare_write_v5.0' into 'release/v5.0'
Backport/fix ble prepare write v5.0

See merge request espressif/esp-idf!27908
2023-12-31 14:25:28 +08:00
Jiang Jiang Jian
1a9fe8e426 Merge branch 'bugfix/fix_ble_app_unregister_no_event_v5.0' into 'release/v5.0'
fix(bt/bluedroid): Fix ble app unregister no event(backport v5.0)

See merge request espressif/esp-idf!28174
2023-12-31 14:23:32 +08:00
Rahul Tank
91e1bf2e01 Merge branch 'bugfix/fix_gatts_stop_race_condition_v5.0' into 'release/v5.0'
fix(nimble): Handled race condition for conn variables being set to NULL (v5.0)

See merge request espressif/esp-idf!28170
2023-12-29 21:03:07 +08:00
zhanghaipeng
558cc16710 fix(bt/bluedroid): Fix ble app unregister no event 2023-12-28 19:13:21 +08:00
Rahul Tank
61a772e5c0 fix(nimble): Handled race condition for conn variables being set to NULL(v5.0) 2023-12-28 15:20:15 +05:30
zhanghaipeng
36c57c023a fix(phy): Fix ble tx ifs time for ESP32 2023-12-28 14:57:45 +08:00
Jiang Jiang Jian
3ce7f472bf Merge branch 'bugfix/fix_ble_recorrect_enable_bug_v5.0' into 'release/v5.0'
fix(ble/controller): Fixed BLE recorrect enable bug and fixed BLE bb isr enable by default (backport v5.0)

See merge request espressif/esp-idf!28109
2023-12-27 20:11:16 +08:00
Jiang Jiang Jian
bdfbb2fe73 Merge branch 'bugfix/crash_in_btc_hf_init_v5.0' into 'release/v5.0'
fix(bt/bluedroid): Avoided crash of LoadProhibited during HFP AG deinitialization (v5.0)

See merge request espressif/esp-idf!28118
2023-12-27 19:42:30 +08:00
Jin Cheng
2a82608282 fix(bt/bluedroid): Disabled Sniff Subrating temporarily as it did not work well 2023-12-26 11:52:13 +08:00
Jin Cheng
75c54798dc fix(bt/bluedroid): Changed the default air mode to invalid value 2023-12-26 11:52:13 +08:00
Jin Cheng
0dc2e89604 fix(bt/bluedroid): Removed redundant operation of SCO clean up 2023-12-26 11:52:13 +08:00
Jin Cheng
eb2cdbdc91 fix(bt/bluedroid): Corrected the definitions of HF Client callback events 2023-12-26 11:52:13 +08:00
Jin Cheng
cfb6bf4c6b fix(bt/bluedroid): Avoided crash of LoadProhibited during HFP AG deinitialization
Move the release of the control blocks from the start
of deinitialization to the profile disabled event.
2023-12-26 11:52:13 +08:00
Jin Cheng
886a0cfe84 fix(bt/bluedroid): Added dynamic memory allocation for HFP control blocks 2023-12-26 11:52:13 +08:00
zhiweijian
d09adbc8fc fix(ble/controller): Fixed BLE recorrect enable bug and fixed BLE bb isr enable by default 2023-12-25 16:16:53 +08:00
linruihao
42bdbcc946 fix(bt/controller): Fixed establish two sco connections failed 2023-12-25 15:48:39 +08:00
Jiang Jiang Jian
86f06e0560 Merge branch 'bugfix/fix_memory_leak_in_c3_s3_controller_v5.0' into 'release/v5.0'
Fixed memory leak in ESP32C3 and ESP32S3 controller (Backport v5.0)

See merge request espressif/esp-idf!27893
2023-12-25 14:28:16 +08:00
Jiang Jiang Jian
f41f731c56 Merge branch 'fix/build_error_in_compiler_performance_mode_v5.0' into 'release/v5.0'
fix(bt/bluedroid): fixed build error when compiler in performace mode (backport v5.0)

See merge request espressif/esp-idf!27865
2023-12-25 14:07:18 +08:00
Jiang Jiang Jian
31194d3646 Merge branch 'bugfix/fix_some_ble_bugs_v5.0' into 'release/v5.0'
Fixed some BLE bugs (backport v5.0)

See merge request espressif/esp-idf!27697
2023-12-25 14:06:39 +08:00
Jiang Jiang Jian
2988dbe3a6 Merge branch 'fix/esp_hw_support_remove_unused_include_dirs_v5.0' into 'release/v5.0'
fix(esp_hw_support): Removed nonexistent include directories from cmake (v5.0)

See merge request espressif/esp-idf!27609
2023-12-25 14:06:18 +08:00
Jiang Jiang Jian
042fe83a61 Merge branch 'bugfix/BLEQABR23-35_v5.0' into 'release/v5.0'
fix(ble_mesh): avoid ble_mesh packet collision by using random adv interval(v5.0)

See merge request espressif/esp-idf!27489
2023-12-25 14:05:25 +08:00
Jiang Jiang Jian
b9ee54988f Merge branch 'fix/esp_netif_lock_v5.0' into 'release/v5.0'
fix(esp_netif): Lock netif list with TCPIP context (v5.0)

See merge request espressif/esp-idf!26712
2023-12-25 14:02:57 +08:00
Jiang Jiang Jian
bb2f5aed5b Merge branch 'fix/btc_config_lock_error_v5.0' into 'release/v5.0'
fix(bt/bluedroid): fixed btc_config_lock error (backport v5.0)

See merge request espressif/esp-idf!28071
2023-12-25 14:01:09 +08:00
zhanghaipeng
412ea9d23e fix(bt/bluedroid): Fix BLE prepare write 2023-12-23 20:19:29 +08:00
Cao Sen Miao
99ed0a2dcd bugfix(spi_flash): Fix build error when octal flash is enabled,
Closes https://github.com/espressif/esp-idf/issues/12850
2023-12-22 19:10:04 +08:00
morris
b823435d78 Merge branch 'fix/usb_host_soc_caps_backport_v5.0' into 'release/v5.0'
USB host soc caps (backport v5.0)

See merge request espressif/esp-idf!27400
2023-12-22 17:15:50 +08:00
Island
d7149ac4fc Merge branch 'bugfix/ble_update_lib_20231219_v5.0' into 'release/v5.0'
update lib on release/v5.0

See merge request espressif/esp-idf!27998
2023-12-22 14:57:26 +08:00
gongyantao
e38db79729 fix(bt/bluedroid): fixed btc_config_lock error 2023-12-22 11:30:57 +08:00
Island
561300bfd3 Merge branch 'bugfix/BLEQABR23-811_v5.0' into 'release/v5.0'
bugfix(ble_mesh): Enable CONFIG_BT_NIMBLE_VS_SUPPORT when using the duplicate...(v5.0)

See merge request espressif/esp-idf!27569
2023-12-21 20:22:13 +08:00
Jiang Jiang Jian
8991849b74 Merge branch 'bufix/Backport_some_lwip_bugs_for_5.0_1215' into 'release/v5.0'
Bufix/backport some lwip bugs for 5.0 1215

See merge request espressif/esp-idf!27941
2023-12-21 11:13:12 +08:00
Island
85a2945adb Merge branch 'bugfix/ble_stack_disable_v5.0' into 'release/v5.0'
Bugfix/ble stack disable v5.0(backport v5.0)

See merge request espressif/esp-idf!27649
2023-12-20 21:45:52 +08:00
David Čermák
d45d83dfd2 Merge branch 'feature/eth_loopback_v5.0' into 'release/v5.0'
Ethernet driver fixes backport to v5.0

See merge request espressif/esp-idf!26808
2023-12-20 21:15:50 +08:00
luoxu
9c9af32f7a bugfix(ble_mesh): Supplementary configuration options that should be enabled. 2023-12-20 11:18:55 +08:00
Liu Linyan
9e193a03f1 fix(ble_mesh): Support using random adv interval for mesh packets 2023-12-20 11:18:55 +08:00
luoxu
6e3ab36441 bugfix(ble_mesh): Enable CONFIG_BT_NIMBLE_VS_SUPPORT when using the duplicate scan feature on the NimBLE host. 2023-12-20 11:18:03 +08:00
morris
a20d0b234c Merge branch 'bugfix/u32_reg_tsens_v5.0' into 'release/v5.0'
fix(tempertuer_sensor): Fix regs on temperature sensor is not volatile due to GCC bug(backport v5.0)

See merge request espressif/esp-idf!27949
2023-12-20 10:43:20 +08:00
morris
acf76e323a Merge branch 'bugfix/fix_adc_continuous_do_not_rst_apb_clk_v5.0' into 'release/v5.0'
fix(adc): fix adc continuous get less results beacuse do not reset apb clk (v5.0)

See merge request espressif/esp-idf!27605
2023-12-19 16:53:51 +08:00
morris
6dc42296d7 Merge branch 'contrib/github_pr_12559_v5.0' into 'release/v5.0'
fix(spi): Correct REG_SPI_BASE(i) macro for all targets (GitHub PR) (v5.0)

See merge request espressif/esp-idf!27716
2023-12-19 16:50:14 +08:00
morris
e4a487da22 Merge branch 'bugfix/i80_lcd_tx_param_check_enhancement_v5.0' into 'release/v5.0'
fix(i80_lcd): enhance the check of a valid data phase (v5.0)

See merge request espressif/esp-idf!27429
2023-12-19 16:48:45 +08:00
Roland Dobai
792e27d7b1 Merge branch 'feature/add_fatfs_sbom_v5.0' into 'release/v5.0'
feat(storage/fatfs): add sbom file manifest for FatFs (v5.0)

See merge request espressif/esp-idf!27481
2023-12-19 16:47:01 +08:00
Tomas Rohlinek
ec8b402046 feat(storage/fatfs): add sbom file manifest for FatFs (v5.0) 2023-12-19 16:47:01 +08:00
cjin
f6760db77d change(ble): added ble cca en and thresh option 2023-12-19 14:42:48 +08:00
luomanruo
8b513228e3 ble: support for selecting CSA#2 by menuconfig
ble(fix): fixed event receiving on host side without returning event buffer to pool
2023-12-19 14:32:18 +08:00
luomanruo
9af84f4ff7 ble(update):
Update c2 lib to 7c6c9d53
2023-12-19 12:25:17 +08:00
Island
f2221c055a Merge branch 'bugfix/ble_update_lib_20231201_v5.0' into 'release/v5.0'
update lib on release/v5.0

See merge request espressif/esp-idf!27586
2023-12-19 12:06:46 +08:00
Island
7c5cb1054c Merge branch 'backport/fix_ble_menuconfig_v5.0' into 'release/v5.0'
Backport/fix ble menuconfig v5.0(backport v5.0)

See merge request espressif/esp-idf!27496
2023-12-19 11:59:19 +08:00
Martin Vychodil
ead2652c33 Merge branch 'fix/fatfsgen_construct_v5.0' into 'release/v5.0'
fix(tools): Fix fatfsgen construct dependency (v5.0)

See merge request espressif/esp-idf!27656
2023-12-18 21:20:23 +08:00
zhanghaipeng
55603c9a3d fix(bt/bluedroid): Fix ble gattc deregister 2023-12-18 17:55:24 +08:00
zhanghaipeng
c06869b2e7 fix(bt/bluedroid): Fix ble adv and scan status when deinit bluedroid 2023-12-18 17:55:24 +08:00
Cao Sen Miao
c7b7f1568d fix(tempertuer_sensor): Fix regs on temperature sensor is not volatile due to GCC bug 2023-12-18 14:59:41 +08:00
Jiang Jiang Jian
a1339e949c Merge branch 'bugfix/fix_issuse_in_scan_and_mesh_v5.0' into 'release/v5.0'
fix(wifi): fix issues in scan and wifi mesh (backport v5.0)

See merge request espressif/esp-idf!27839
2023-12-18 10:23:09 +08:00
Mahavir Jain
52f8747e8e Merge branch 'fix/cleanup_deleted_menuconfig_option_entries_v5.0' into 'release/v5.0'
fix(mbedtls): Fix menuconfig option entries (v5.0)

See merge request espressif/esp-idf!27465
2023-12-17 16:28:14 +08:00
Darshan Dobariya
4d0c8e8a35 fix(nimble): Fixed authcomplete failure caused by a mismatch in the c1 value (v5.0) 2023-12-16 15:31:45 +05:30
Rahul Tank
83ebd694fa fix(nimble): Added NULL peer addr check 2023-12-16 13:22:59 +05:30
Rahul Tank
6161d7732f Merge branch 'bugfix/fix_duplicate_exception_vsc_v5.0' into 'release/v5.0'
fix(nimble): Fix the parameters in duplicate exception list vsc command(v5.0)

See merge request espressif/esp-idf!27559
2023-12-16 15:47:16 +08:00
Jiang Jiang Jian
871247de22 Merge branch 'test/ctrl_acl_u_pkt_type_v5.0' into 'release/v5.0'
feat(bt/bluedroid): Added an API to specify data types for ACL-U traffic

See merge request espressif/esp-idf!27599
2023-12-15 19:34:55 +08:00
Jiang Jiang Jian
5e319c6760 Merge branch 'bugfix/fix_onebyte_watchpoint_setting_v5.0' into 'release/v5.0'
fix(riscv): supports 1 byte and larger than 64byte range watchpoint setting (v5.0 )

See merge request espressif/esp-idf!27216
2023-12-15 19:29:57 +08:00
Jiang Jiang Jian
2808077645 Merge branch 'fix/twai_tag_not_defined_in_configure_gpio' into 'release/v5.0'
fix(twai): fix build error TWAI_TAG used but not defined (v5.0)

See merge request espressif/esp-idf!27811
2023-12-15 19:29:27 +08:00
Rahul Tank
259006a8c3 fix(nimble): Fix the parameters in duplicate exception list vsc command 2023-12-15 15:56:19 +05:30
Rahul Tank
9b28d121f0 Merge branch 'bugfix/add_legacy_adv_clear_vsc_v5.0' into 'release/v5.0'
fix(nimble): Add support for VSC to clear legacy adv memory (v5.0)

See merge request espressif/esp-idf!27473
2023-12-15 18:02:34 +08:00
Aditya Patwardhan
5a14730f75 fix(mbedtls): Removed redundant menuconfig entry 2023-12-15 09:50:22 +00:00
Mahavir Jain
d198439225 Merge branch 'fix/aes_mpi_interrupt_allocation_workflow_v5.0' into 'release/v5.0'
fix(mbedtls): move interrupt allocation during initialization phase (v5.0)

See merge request espressif/esp-idf!27442
2023-12-15 17:49:12 +08:00
Mahavir Jain
bd3cd0cc0c Merge branch 'bugfix/preencrypted_ota_failed_with_partial_download_v5.0' into 'release/v5.0'
fix(esp_https_ota): fix preencrypted ota failed with pytest server and partial http enabled (v5.0)

See merge request espressif/esp-idf!27355
2023-12-15 17:47:52 +08:00
Mahavir Jain
60c62958ca Merge branch 'bugfix/wrong_ota_upgrade_size_log_v5.0' into 'release/v5.0'
fix(esp_https_ota): Fix wrong debug print for ota upgrade size (v5.0)

See merge request espressif/esp-idf!27353
2023-12-15 17:47:37 +08:00
Mahavir Jain
0e19d1ff9c Merge branch 'bugfix/fix_http_client_async_mode_v5.0' into 'release/v5.0'
fix(esp_http_client): Fix esp_http_client async mode (v5.0)

See merge request espressif/esp-idf!27515
2023-12-15 17:47:21 +08:00
Mahavir Jain
330fbdda57 Merge branch 'fix/esp32s3_soc_drom_high_addr_v5.0' into 'release/v5.0'
fix(soc): esp32s3/Fix the DROM_HIGH_ADDR (v5.0)

See merge request espressif/esp-idf!27823
2023-12-15 17:46:55 +08:00
Mahavir Jain
0797e1cb96 Merge branch 'contrib/github_pr_12460_v5.0' into 'release/v5.0'
fixing OTA write up to SPI_FLASH_SEC_SIZE margins (GitHub PR) (v5.0)

See merge request espressif/esp-idf!27645
2023-12-15 17:46:14 +08:00
Mahavir Jain
104580865d Merge branch 'fix/wrong_order_of_includes_in_esp_tls_v5.0' into 'release/v5.0'
fix(esp-tls): Fix missing header files in esp_tls_errors.h header file (v5.0)

See merge request espressif/esp-idf!27705
2023-12-15 17:45:26 +08:00
Xue yun fei
a60e0adb66 optimize(lwip):when psram is enable the number of ooseq is not limited 2023-12-15 15:29:44 +08:00
xueyunfei
ec63da0753 Backport some lwip bugs for 5.0
* Update submodule: git log --oneline 6bf7044c0368d587f70f7083e39e0a619b4d5788..542ba2997f6cc14fe9c3d781bf9b0d890cd70bb1
Detailed description of the changes:
- fix router forwarding flag set (esp-lwip@542ba299)
- optimize add TCP ooseq buf timeout configuration (esp-lwip@4a8286ab)
2023-12-15 15:28:53 +08:00
Rahul Tank
d31cb0d0cd fix(nimble): Add support for VSC to clear legacy adv memory
Legacy adv does not have an API for clear adv memory in controller.
 Added VSC for same.
2023-12-14 17:41:19 +05:30
linruihao
9a4c4b11d3 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(9129dec) 2023-12-13 20:06:55 +08:00
Aditya Patwardhan
03d7a3807b change(version): Update version to 5.0.5 2023-12-13 13:49:52 +05:50
gongyantao
264a743a7b fix(bt/bluedroid): fixed build error when compiler in performace mode
Closes https://github.com/espressif/esp-idf/issues/12751
2023-12-12 19:04:36 +08:00
zhangyanjiao
82f409107c feat(wifi): add new api to get one scan ap record 2023-12-11 18:09:13 +08:00
zhangyanjiao
192f9025fb fix(wifi): fix issues in scan and wifi mesh
1. fix(wifi): fix the crash issue when clear scan ap list
2. fix the bug that station can't found AP when the authmode is WPA
2. fix wifi mode error when mesh start after station has connected to router
2023-12-11 18:05:55 +08:00
Aditya Patwardhan
d9aab654c4
fix(soc): esp32s3/Fix the DROM_DROM_HIGH limit
Previously the DROM_HIGH_ADDR for esp32s3 was 0x3D000000, which
    convers only 16 MB of address range. But esp32s3 supports 32 MB
    external memory. So this address should be 0x3E000000
2023-12-11 12:22:48 +05:30
wanlei
62efb02ecf fix(twai): fix build error TWAI_TAG used but not defined
bug introduced from efef8401
closes https://github.com/espressif/esp-idf/issues/12760
2023-12-11 14:19:37 +08:00
Jiang Jiang Jian
9fe3bf2a3c Merge branch 'bugfix/fix_ble_clear_white_list_v5.0' into 'release/v5.0'
Fixed add(remove) RPA to(from) white list on ESP32C3(65db61f)(backport 5.0)

See merge request espressif/esp-idf!27757
2023-12-08 19:09:05 +08:00
chenjianhua
32d3bf7919 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(65db61f)
- Fixed remove and clear white list
2023-12-08 13:40:44 +08:00
Abhinav Kudnar
2d14933dbc fix(nimble): Handled IRK/LTK deletion based on key availability. 2023-12-07 13:47:16 +05:30
wanlei
64ac8f0874 fix(spi): correct some signals and dummy bits docs 2023-12-06 16:28:51 +08:00
TD-er
a27b43a6db fix(spi): Correct REG_SPI_BASE(i) macro for all targets
The existing formula can never match these registers.

Closes https://github.com/espressif/esp-idf/pull/12559
Closes https://github.com/espressif/esp-idf/pull/12562
2023-12-06 16:27:06 +08:00
luomanruo
38f9aa04f8 ble(fix): Fixed crash issue when reset event queue 2023-12-06 14:16:33 +08:00
Harshit Malpani
0728e4cdf4
fix(esp-tls): Add headers in esp_tls_errors.h header file
Closes https://github.com/espressif/esp-idf/issues/12541
2023-12-06 10:20:07 +05:30
chenjianhua
51ba771176 fix(bt): Update bt lib for ESP32(fa43201)
- Fixed assert for instant passed workaround
- Fixed scan evt timeout
- Fixed random address setting when scanning
2023-12-06 10:51:38 +08:00
shangke
2c3b392b0e fix(bt/controller): Fixed some HCI commands parameter 2023-12-06 10:51:31 +08:00
xueyunfei
112ce3f3a5 fix(dhcp server):dhcp server can not restore address pool 2023-12-06 10:32:27 +08:00
luomanruo
8e48c4756e ble: update ble log on ESP32C2
ble(fix): clear event queue when init event queue
2023-12-05 16:11:15 +08:00
Roland Dobai
53bebcade5 fix(tools): Fix fatfsgen construct exception type and dependency
construct=2.10.70 fixed an issue
(c3866e9492)
and StringError is raised instead of UnicodeDecodeError.
2023-12-04 17:24:46 +01:00
kohait00
7a4cec1edb
fix(app_update): avoid erasing an extra sector than the actual required size
OTA update used to fail if `firmware_size == partition_size`, because the code was trying to
erase one additional sector beyond the space reserved for the firmware partition.

This commit fixes the problem and OTA update can work if the firmware
size exactly matches the allocated partition size.

Closes https://github.com/espressif/esp-idf/pull/12460
2023-12-04 18:48:30 +05:30
chenjianhua
259e8ab25b fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(b8f0db9)
- Fixed assert when llcp instant passed
2023-12-04 17:09:50 +08:00
chenjianhua
19919a2222 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(70ab55f)
- Fixed assert for instant passed workaround
- Fixed add RPA to white list
- Fixed AES encryption for RPA resolution
2023-12-04 17:09:38 +08:00
chenjianhua
52333aeac9 fix(bt/bluedroid): Fixed add RPA to white list 2023-12-04 17:09:28 +08:00
Jiang Jiang Jian
1d611df0b5 Merge branch 'bugfix/alarm_args_double_free_v5.0' into 'release/v5.0'
Bugfix/alarm args double free v5.0

See merge request espressif/esp-idf!27539
2023-12-04 14:57:21 +08:00
zhanghaipeng
1355f58180 feat(bt/bluedroid): Support ble create sync report disable and filter duplicate 2023-12-04 14:38:51 +08:00
gaoxu
38d0be39a8 fix(adc): fix adc continuous get less results beacuse do not reset apb clk 2023-12-04 14:29:57 +08:00
Jakob Hasse
900ee4e7a6 fix(esp_hw_support): Removed unused include directories from cmake
* Closes https://github.com/espressif/esp-idf/issues/12700
2023-12-04 14:12:18 +08:00
Jin Cheng
e7a52632f0 feat(bt/bluedroid): Added an API to specify data types for ACL-U traffic 2023-12-04 10:28:05 +08:00
luomanruo
63c78087ed ble(update):
Update c2 lib to 47a787f0
2023-12-01 19:30:43 +08:00
harshal.patil
206af07ad4
fix(mbedtls/aes): fix AES interrupt allocation for AES-GCM operations 2023-12-01 16:49:47 +05:30
harshal.patil
b72804340c
fix(mbedtls): move interrupt allocation during initialization phase 2023-12-01 16:49:47 +05:30
zhanghaipeng
7129df2ad5 fix(bt/bluedroid): Fix BLE SMP register log level 2023-12-01 17:01:26 +08:00
Island
a060a261ef Merge branch 'bugfix/ble_update_lib_20231124_v5.0' into 'release/v5.0'
ble(update):Update c2 lib to 79ed4e8a

See merge request espressif/esp-idf!27392
2023-12-01 13:58:16 +08:00
Jiang Jiang Jian
c56fa7ce36 Merge branch 'bugfix/fix_wifi_deinit_s_wifi_modem_sleep_lock_v5.0' into 'release/v5.0'
fix(wifi): fix wifi deinit s_wifi_modem_sleep_lock

See merge request espressif/esp-idf!27449
2023-12-01 13:57:41 +08:00
Jin Cheng
db287328bc fix(bt/bluedroid): Set the alarm_arg to NULL after releasing to avoid double free in L2CAP layer 2023-11-30 20:14:31 +08:00
Jin Cheng
bab64a98d8 fix(bt/bluedroid): Set the alarm_arg to NULL after releasing to avoid double free in BTC layer 2023-11-30 20:14:31 +08:00
Harshit Malpani
c2f66b5d89
fix(esp_http_client): Fix esp_http_client async mode
Closes https://github.com/espressif/esp-idf/issues/12358
2023-11-30 12:11:43 +05:30
zhanghaipeng
9ab954096a fix(bt/bluedroid): Fix bluedroid menuconfig 2023-11-30 10:39:06 +08:00
Michael (XIAO Xufeng)
893725dd40 feat(soc): Increase max supported version of C3 to 1.99 2023-11-29 15:52:09 +08:00
luomanruo
0b71f8a2d2 ble(fix): fix RX issue on ESP32-C2(amend) 2023-11-29 11:05:11 +08:00
liuning
606360d33d fix(wifi): fix wifi deinit s_wifi_modem_sleep_lock 2023-11-28 20:52:42 +08:00
morris
f73a701e3c fix(i80_lcd): enhance the check of a valid data phase
in case the user passes a (uint8_t){0x00} parameter with the perameter size
set to zero
2023-11-28 09:57:21 +08:00
David Cermak
41cd40e7f3 fix(esp_netif): Make esp_netif_next_unsafe() public and update usage
Updates usage of esp_netif_next() in examples and tests
* Uses netif_find_if() in IPv6 examples
* Fixes esp_netif_next() usage in L2TAP
2023-11-27 08:22:55 +01:00