Commit Graph

18916 Commits

Author SHA1 Message Date
morris
8ac48a138e fix(rgb_lcd): relax the check for the data line GPIO
There are a bunch of cases you might want some pins not exposed.

Eg.

  * Reading say 8 bit data and outputting the top 5 bits, discarding the rest by not mapping those data pins to output pins

 * Not using hsync/vsync because sync data is embedded within the data bits for more timing flexibility (eg. interlacing).

 * Using the LCD module as a high speed parallel data output bus, with no need for sync/control pins.

Removing this validation makes these cases work.

Merges https://github.com/espressif/esp-idf/pull/13103
2024-02-06 10:37:20 +08:00
zhiweijian
4a413b9d27 feat(ble/controller): Add API to get BLE controller status on ESP32 2024-02-05 16:11:26 +08:00
zhiweijian
fb94d9175f Fixed xQueueSemaphoreTask assert when deinit host during scan 2024-02-05 16:11:08 +08:00
nilesh.kale
4f63e93118 feat(mbedtls): updated mbedtls version from 3.5.0 to 3.5.2
This updates the submodule mbedtls to its latest version 3.5.2.
2024-02-05 12:50:59 +05:30
chenjianhua
479ec4af2a feat(bt/bluedroid): Support get status of bluedroid host 2024-02-04 16:52:12 +08:00
chenjianhua
1e5296008a feat(bt/bluedroid): Make the max number of bond device to be configurable 2024-02-04 16:51:55 +08:00
zhanghaipeng
50ef8650ac fix(ble/controller): Fixed tx count in direct test mode on ESP32-C3 and ESP32-S3
- Fixed tx count in direct test mode on ESP32-C3 and ESP32-S3
- fixed modem sleep enter failed sometimes
2024-02-04 14:28:28 +08:00
chenjianhua
1363cbe1ca fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(91980c2)
- Fixed scheduling when modem sleep wakeup delayed
- Fixed IRQ FIFO overflow when enter critical
- Fixed clock sync timeout for modem sleep
- Fixed directed adv with RPA when privacy disabled
- Fixed instant passed for connection update and PHY update
2024-02-04 14:28:12 +08:00
morris
1ce7be11fa fix(mcpwm): reset GPIO used by generator after delete
Closes https://github.com/espressif/esp-idf/issues/12980
2024-02-01 17:49:53 +08:00
Jiang Jiang Jian
899bc1d6b2 Merge branch 'bugfix/no_wakeup_sleep_v5.0' into 'release/v5.0'
fix(ble): Fixed Bluetooth not waking up due to clock drift(v5.0)

See merge request espressif/esp-idf!28723
2024-02-01 00:02:09 +08:00
Brian Whitman
d44dc57f8a fix(rgb_lcd): don't assume 16 bit width on panels for restart logic
Merges https://github.com/espressif/esp-idf/pull/13020
2024-01-31 18:56:49 +08:00
Island
1d83a2125a Merge branch 'feat/ble_mesh_miscellaneous_update_v5.0' into 'release/v5.0'
feat(ble_mesh): Miscellaneous updates for mesh kconfig, relay related(v5.0)

See merge request espressif/esp-idf!28034
2024-01-31 18:29:34 +08:00
Island
68a90a1f05 Merge branch 'bugfix/fix_sm_inject_io_return_val_v5.0' into 'release/v5.0'
fix(nimble): Added change to ensure that API execution returns success (v5.0)

See merge request espressif/esp-idf!28651
2024-01-31 17:34:02 +08:00
Jiang Jiang Jian
decb0c21c5 Merge branch 'bugfix/fix_systick_lost_in_esp32_dfs_v5.0' into 'release/v5.0'
fix(esp_pm): safely check ccompare validity in DFS update_ccompare (v5.0)

See merge request espressif/esp-idf!28563
2024-01-31 10:42:18 +08:00
Darshan Dobariya
c5c3b5bfe8 fix(nimble): Added change to ensure that API execution returns success (v5.0) 2024-01-30 14:48:53 +05:30
Island
cb4aa11362 Merge branch 'bugfix/add_minor_fixes_debug_v5.0' into 'release/v5.0'
fix(nimble): Add minor debug fixes (v5.0)

See merge request espressif/esp-idf!28534
2024-01-30 17:00:50 +08:00
wuzhenghui
6a63a5b69c fix(esp_pm): safely check ccompare validity in DFS update_ccompare 2024-01-30 16:03:40 +08:00
xiongweichao
332b293215 fix(ble): Fixed macro definition error for 136K clock drift 2024-01-30 15:36:22 +08:00
xiongweichao
08061d3414 fix(ble): Fixed Bluetooth not waking up due to clock drift 2024-01-30 15:36:22 +08:00
Rahul Tank
18caeb919a fix(nimble): Add minor debug fixes 2024-01-30 08:11:37 +05:30
zhiweijian
e988463ea4 fix(esp_phy): Fixed BLE TX 2M problem causing by phy_wifi_enable_set()
1. Fixed BLE 2M phy TX problem causing by phy_wifi_enable_set() on ESP32-C3 and ESP32-S3
2. Fixed BLE CCA bug on ESP32-C2
3. Fixed BLE and WIFI could not receive packets after entering light sleep for a long time on ESP32-C3, ESP32-S3 and ESP32-C2
2024-01-29 16:36:35 +08:00
Harshit Malpani
484de5ee1c
fix(esp_http_client): Fix http digest auth without qop
Closes https://github.com/espressif/esp-idf/issues/12962
2024-01-29 11:22:40 +05:30
Jiang Jiang Jian
f16621c429 Merge branch 'bugfix/fix_pmk_invalid_wpa_or_wpa2_connect_fail_issue_v5.0' into 'release/v5.0'
fix(wifi): fix pmk invalid lead same ssid wpa and wpa2 connect fail issue(Backport v5.0)

See merge request espressif/esp-idf!28674
2024-01-29 10:44:38 +08:00
Kapil Gupta
443842fd9d fix(wifi): Add support to move supplicant BSS to external memory 2024-01-27 11:15:10 +05:30
Island
1da4afc70a Merge branch 'bugfix/address_resolution_v5.0' into 'release/v5.0'
fix(nimble): Added support for address resolution during inquiry (v5.0)

See merge request espressif/esp-idf!28520
2024-01-25 14:07:04 +08:00
Island
acf8c3e9e3 Merge branch 'bugfix/fix_some_ble_issue_v5.0' into 'release/v5.0'
Bugfix/fix some ble issue v5.0(backport v5.0)

See merge request espressif/esp-idf!28615
2024-01-25 12:19:24 +08:00
Island
7324e55dc0 Merge branch 'bugfix/ble_check_adv_data_v5.0' into 'release/v5.0'
fix(bt/bluedroid): Fix ble adv data check to avoid memory overflow(backport v5.0)

See merge request espressif/esp-idf!28407
2024-01-25 12:19:11 +08:00
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
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