Commit Graph

20444 Commits

Author SHA1 Message Date
Jiang Jiang Jian
5a25786a8a Merge branch 'bugfix/lp_i2c_bugfixes_v5.1' into 'release/v5.1'
Fixed multiple LP I2C bugs (v5.1)

See merge request espressif/esp-idf!25277
2023-08-28 10:20:40 +08:00
Rahul Tank
2baf418119 feat(nimble): Add support for LE Data Set Related Address Change command 2023-08-26 20:42:40 +05:30
morris
ce6d7ba1bb Merge branch 'feature/default_clock_source_can_leave_empty_v5.1' into 'release/v5.1'
feat(mcpwm): default clock source setting can leave empty (v5.1)

See merge request espressif/esp-idf!25548
2023-08-26 17:52:21 +08:00
morris
cd979e293c Merge branch 'bugfix/usb/host/urb_compliance_verification_add_v5.1' into 'release/v5.1'
[USB Host] added URB check args and transfer check compliance for regular EP transfer submit (v5.1)

See merge request espressif/esp-idf!25467
2023-08-25 23:17:32 +08:00
Jin Cheng
6a859a6cc5 fix(bt): Removed an incorrectly defined HCI error code 2023-08-25 11:54:39 +00:00
Chen Jichang
92cc9fca07 feat(pcnt): support set interrupt priority 2023-08-25 17:47:52 +08:00
Chen Jichang
d3aba34baa feat(MCPWM): Support set interrupt priority 2023-08-25 17:41:31 +08:00
Chen Jichang
c240a1f46b feat(MCPWM): Add mcpwm carrier clk source
The MCPWM carrier is part of the operator and can work independently
without the MCPWM timer being enabled. This commit add the MCPWM
carrier clk source.
2023-08-25 17:34:58 +08:00
Nachiket Kukade
c15472b12e fix(supplicant): Fix abstraction violation in wpa_supplicant 2023-08-25 12:30:44 +05:30
Liu Zhongwei
3c9f407c1d feat(esp_lcd): spi add support for quad mode 2023-08-25 14:18:31 +08:00
Liu Zhongwei
f96a9ad84c feat(esp_lcd): rgb add callback when bounce buffer finish 2023-08-25 14:18:31 +08:00
luomanruo
6503758ec0 ble: Assert when getting memory fail 2023-08-25 12:25:33 +08:00
luomanruo
01fbc285b0 ble: Fix hci issues when chain mbuf exists 2023-08-25 12:25:11 +08:00
morris
9080a7ac7c Merge branch 'bugfix/fix_legacy_adc_continuous_driver_dma_descriptor_not_internal_issue_v5.1' into 'release/v5.1'
adc: fixed legacy adc continuous driver dma descriptor not in internal ram issue (v5.1)

See merge request espressif/esp-idf!25508
2023-08-25 10:38:09 +08:00
morris
860e0477ee Merge branch 'bugfix/fix_adc_filter_acquire_logic_v5.1' into 'release/v5.1'
adc: fix adc filter driver acquire logic (v5.1)

See merge request espressif/esp-idf!25507
2023-08-25 10:37:05 +08:00
morris
842f5385a3 feat(mcpwm): default clock source setting can leave empty 2023-08-25 10:29:57 +08:00
Island
48052e4d1f Merge branch 'bugfix/fix_current_issue_after_ble_init_5.1' into 'release/v5.1'
ble: move phy enabled/disable to controller enable/disable

See merge request espressif/esp-idf!25081
2023-08-25 10:25:11 +08:00
morris
3d8744476b fix(adc): invalid assertion on the adc_unit 2023-08-25 10:18:03 +08:00
Marius Vikhammer
9332a31d27 Merge branch 'bugfix/usb_hcd_interrupt_alloc_error_return_v5.1' into 'release/v5.1'
USB Host: Fix coverity issues with hcd_install() (v5.1)

See merge request espressif/esp-idf!25463
2023-08-24 22:48:00 +08:00
David Čermák
f0cd979746 Merge branch 'lwip/dhcp_client_fix_forwardportV5.1' into 'release/v5.1'
Fix: Added check to ensure safe restart of dhcp fine timer (v5.1)

See merge request espressif/esp-idf!24706
2023-08-24 21:03:17 +08:00
Aditya Patwardhan
920ca1c882 Merge branch 'contrib/github_pr_11923_v5.1' into 'release/v5.1'
fix(esp-tls): fix pointer cast and condition for CONFIG_ATECC608A_TCUSTOM (GitHub PR) (v5.1)

See merge request espressif/esp-idf!25500
2023-08-24 20:08:48 +08:00
baohongde
6340713fef feat(bt/bluedroid): Add option whether to include device name in extended inquiry response 2023-08-24 19:37:35 +08:00
Rahul Tank
9396753e1a Merge branch 'feature/enc_adv_data_v5.1' into 'release/v5.1'
NimBLE: Added support of encrypted advertising data (v5.1)

See merge request espressif/esp-idf!25325
2023-08-24 19:12:55 +08:00
Wang Meng Yang
c3987d2163 Merge branch 'test/bqb_test_bt_classic_spp_rfcomm_5.1' into 'release/v5.1'
feat(bt/bqb): Add BQB enabling and rfcomm msc command sending support (backport v5.1)

See merge request espressif/esp-idf!25091
2023-08-24 18:59:15 +08:00
Rahul Tank
2de3e90c21 Merge branch 'feature/periodic_adv_enhancement_v5.1' into 'release/v5.1'
NimBLE : Added periodic Adv Feature Updates in BLE 5.3 (v5.1)

See merge request espressif/esp-idf!25489
2023-08-24 17:14:43 +08:00
Rahul Tank
eca9a818c5 Merge branch 'feature/add_duplicate_excep_list_vsc_v5.1' into 'release/v5.1'
feat(mesh): Add support for Duplicate Exception list update VSC for Nimble (v5.1)

See merge request espressif/esp-idf!25131
2023-08-24 17:13:57 +08:00
Rahul Tank
0c4ac54fcf Merge branch 'bugfix/fix_pcl_set_rssi_vsc_v5.1' into 'release/v5.1'
fix(nimble): Add API to send pcl set rssi vsc (v5.1)

See merge request espressif/esp-idf!25434
2023-08-24 17:13:25 +08:00
Marius Vikhammer
79d403a713 Merge branch 'bugfix/esp_timer_prevents_delay_for_isr_dispatch_callbacks_v5.1' into 'release/v5.1'
fix(esp_timer): Fix delay in ISR dispatch callbacks (v5.1)

See merge request espressif/esp-idf!25471
2023-08-24 14:54:19 +08:00
Jiang Jiang Jian
4d044ab25d Merge branch 'bugfix/v5.1_ble_issues_bugfix_c2' into 'release/v5.1'
update btlib to f9db7b90, some esp32c2 issues bugfixed

See merge request espressif/esp-idf!25433
2023-08-24 14:13:39 +08:00
Michael (XIAO Xufeng)
ccfa68c827 Merge branch 'feat/psram_support_d2wd_single_clk_u4wdh_v5.1' into 'release/v5.1'
spiram: Add support for U4WDH, and fixed D0WD/D2WD cannot share CLK pins (v5.1)

See merge request espressif/esp-idf!25171
2023-08-24 12:49:46 +08:00
Kapil Gupta
a22ba76f33 change(esp_wifi): Update copyright info for wpa_supplicant 2023-08-24 10:05:39 +05:30
Mahavir Jain
5758b66a9f Merge branch 'ci/fix_test_switch_ota_v5.1' into 'release/v5.1'
fix(app_update): Fix CI test_switch_ota by increasing deepsleep (v5.1)

See merge request espressif/esp-idf!25465
2023-08-24 12:16:51 +08:00
Harshit Malpani
240f420f1a feat: Update cJSON version to v1.7.16
Changelog: https://github.com/DaveGamble/cJSON/releases/tag/v1.7.16
2023-08-24 04:14:08 +00:00
Roman Leonov
29a38ceeca usb_host: added URB check args and transfer check compliance for regular EP transfer submit 2023-08-24 12:02:49 +08:00
Darian Leung
6b585fe542 usb_host: Fix coverity issues with hcd_install()
- Use single "err_ret" variable for returning errors
- Simplify bail out procedure by using more labels
2023-08-24 12:01:50 +08:00
Marius Vikhammer
9dbefdbb41 Merge branch 'refactor/usb_host_usbh_interface_v5.1' into 'release/v5.1'
USB Host: Refactor USBH interface (v5.1)

See merge request espressif/esp-idf!24210
2023-08-24 11:16:02 +08:00
Kapil Gupta
c7a7bb62c6 esp_wifi: Move ccmp mgmt enc/decrypt logs to verbose 2023-08-24 03:11:42 +00:00
Armando
8b6957a99c test(adc): continuous driver iram test with gdma iram safe option only 2023-08-24 11:04:43 +08:00
Armando
879b5d4401 fix(adc): fix adc continuous hal func not in iram when gdma isr iram 2023-08-24 11:04:43 +08:00
morris
a66f61e33f Merge branch 'feature/usb_host_restrict_ahb_errata_workaround_to_esp32s2_eco0_v5.1' into 'release/v5.1'
USB Host: Restrict ESP32-S2 AHB errata workaround to only ECO0 chips (v5.1)

See merge request espressif/esp-idf!25054
2023-08-24 10:12:48 +08:00
morris
3a79e3694c Merge branch 'bugfix/twai_install_returns_error_on_intr_alloc_fail_v5.1' into 'release/v5.1'
TWAI: twai_driver_install() returns error on interrupt allocation failure (GitHub PR) (v5.1)

See merge request espressif/esp-idf!24823
2023-08-24 10:11:57 +08:00
morris
3cc358102b Merge branch 'bugfix/i80_lcd_reset_gpio_config_v5.1' into 'release/v5.1'
fix(i80_lcd): reset cs gpio on exit (v5.1)

See merge request espressif/esp-idf!25243
2023-08-24 10:08:03 +08:00
morris
ed6e997d4c Merge branch 'feature/gptimer_interrupt_priority_v5.1' into 'release/v5.1'
feat(gptimer): support set interrupt priority (v5.1)

See merge request espressif/esp-idf!25199
2023-08-24 10:07:48 +08:00
morris
54ef954292 Merge branch 'contrib/github_pr_11878_v5.1' into 'release/v5.1'
feat(mcpwm): Allow for pull up/down to be configurable on generators (GitHub PR) (v5.1)

See merge request espressif/esp-idf!24893
2023-08-24 10:07:35 +08:00
Marius Vikhammer
9838675d3b Merge branch 'bugfix/intr_flags_to_level_v5.1' into 'release/v5.1'
fix(intr_flags_to_level): fix value returned one more than correct value (v5.1)

See merge request espressif/esp-idf!25424
2023-08-24 08:34:37 +08:00
morris
f41df5641a Merge branch 'bugfix/gptimer_hal_placement_wrong_condition_v5.1' into 'release/v5.1'
fix(gptimer): hal function placement under wrong condition (v5.1)

See merge request espressif/esp-idf!25280
2023-08-23 23:21:20 +08:00
Abhik Roy
59a06a8ad2 fix: Added check to ensure safe restart of dhcp fine timer 2023-08-24 00:51:36 +10:00
Roshan Bangar
d57466da3c feat(nimble): Added periodic Adv Feature Updates in BLE 5.3 2023-08-23 18:53:51 +05:30
isha.pardikar@espressif.com
db5b50af2c NimBLE: Added support of encrypted advertising data 2023-08-23 18:18:23 +05:30
Jiang Jiang Jian
64926fd137 Merge branch 'doc_5.1/c2_h2_c6' into 'release/v5.1'
c2 h2 c6 headfile re-organized

See merge request espressif/esp-idf!25079
2023-08-23 20:18:31 +08:00
Rahul Tank
4b512c5e7b fix(nimble): Add API to send pcl set rssi vsc 2023-08-23 17:43:22 +05:30
Jiang Jiang Jian
b638cb3335 Merge branch 'bringup/esp32h2_deep_sleep_for_rebase_v5.1' into 'release/v5.1'
esp32h2: support deep_sleep(backport v5.1)

See merge request espressif/esp-idf!24962
2023-08-23 20:12:01 +08:00
Rahul Tank
acc08b9421 feat(mesh): Add support for Duplicate Exception list update VSC for
Nimble
2023-08-23 17:41:18 +05:30
Rahul Tank
6e3c700bf6 Merge branch 'bugfix/handle_NULL_data_periodic_adv_v5.1' into 'release/v5.1'
fix(nimble): Add check to set length only if data is valid in periodic adv (v5.1)

See merge request espressif/esp-idf!25178
2023-08-23 20:09:13 +08:00
Jiang Jiang Jian
4fc363546e Merge branch 'bugfix/netif_default_sta_init_v5.1' into 'release/v5.1'
wifi: Fix default wifi-netif creation to assert if no event loop (v5.1)

See merge request espressif/esp-idf!25344
2023-08-23 19:57:06 +08:00
Jiang Jiang Jian
372a34f6d5 Merge branch 'fix/wifi_wps_pbc_overlap_v5.1' into 'release/v5.1'
fix(wpa_supplicant): Add support to detect PBC overlap in wps registrar mode (Backport v5.1)

See merge request espressif/esp-idf!25440
2023-08-23 19:54:50 +08:00
Jiang Jiang Jian
43d6f90d72 Merge branch 'bugfix/ignore_eapol_nonkey_v5.1' into 'release/v5.1'
Ignore EAPOL non-key frames in EAPOL txdone callback (Backport v5.1)

See merge request espressif/esp-idf!25453
2023-08-23 19:54:14 +08:00
Jiang Jiang Jian
5256c317f9 Merge branch 'bugfix/role_switch_enc_mode_lmp_timeout_v5.1' into 'release/v5.1'
bt: Fix disconnection due to lmp messages not being processed by both sides(v5.1)

See merge request espressif/esp-idf!25202
2023-08-23 19:53:29 +08:00
Jiang Jiang Jian
d00077e5a9 Merge branch 'bugfix/incr_sdp_max_conns_v5.1' into 'release/v5.1'
fix(bt): Increased SDP maximum connections to avoid connection exhausted (v5.1)

See merge request espressif/esp-idf!25429
2023-08-23 19:51:39 +08:00
Armando
71f2f98b60 adc: fixed legacy adc continuous driver dma descriptor not in internal ram issue 2023-08-23 19:44:25 +08:00
Armando
888ccfe0cb adc: added adc filter exhausted allocation test 2023-08-23 19:41:15 +08:00
Armando
628162d71e adc: fix adc filter acquire logic 2023-08-23 19:41:02 +08:00
Alex
1360b5fa83
fix(esp-tls): fix pointer cast and condition for CONFIG_ATECC608A_TCUSTOM
Closes https://github.com/espressif/esp-idf/pull/11923
2023-08-23 15:49:56 +05:30
Mahavir Jain
4d95619595 Merge branch 'fix/mmu_hal_valid_vaddr_check_v5.1' into 'release/v5.1'
fix(hal): Fix the external memory vaddr region validity check (v5.1)

See merge request espressif/esp-idf!25154
2023-08-23 18:17:53 +08:00
Mahavir Jain
10e100f584 Merge branch 'feature/update_mbedtls_v5.1' into 'release/v5.1'
feat(mbedtls): Update to release/v3.4.1 (v5.1)

See merge request espressif/esp-idf!25394
2023-08-23 18:17:20 +08:00
Mahavir Jain
75692c96e2 Merge branch 'feature/support_mbedtls_ecp_fixed_point_configurable_v5.1' into 'release/v5.1'
feat(mbedtls): support ecp fixed-point multiplication configurable (backport v5.1)

See merge request espressif/esp-idf!25286
2023-08-23 18:16:20 +08:00
Mahavir Jain
a1defb4fd9 Merge branch 'feature/wifi_prov_event_security_session_v5.1' into 'release/v5.1'
wifi_prov: Exposed events for secure session establishment and credential mismatch (v5.1)

See merge request espressif/esp-idf!25474
2023-08-23 18:16:07 +08:00
Mahavir Jain
0f849d4c40 Merge branch 'bugfix/secure_ota_without_padding_v5.1' into 'release/v5.1'
fix(secure_ota): secure app verification issue without padding bytes (v5.1)

See merge request espressif/esp-idf!25211
2023-08-23 18:15:30 +08:00
wuzhenghui
c517a15dd2 fix(light_sleep): shouldn't backup uart fifo reg in pd_top light sleep 2023-08-23 18:00:48 +08:00
cjin
fa806d758a ble: move phy enabled/disable to controller enable/disable 2023-08-23 17:56:33 +08:00
Island
6cca4bddd2 Merge branch 'bugfix/esp32c6_heap_corruption_v5.1' into 'release/v5.1'
Bugfix/esp32c6 heap corruption v5.1

See merge request espressif/esp-idf!25333
2023-08-23 17:52:31 +08:00
Aditya Patwardhan
d710a83982 Merge branch 'bugfix/sha_dma_mode_incorrect_result_v5.1' into 'release/v5.1'
fix(sha): DMA mode iteration calculation issue for certain data lengths (v5.1)

See merge request espressif/esp-idf!25127
2023-08-23 17:11:44 +08:00
luomanruo
f35959d7d1 ble: update btlib to f9db7b90, some esp32c2 issues bugfixed 2023-08-23 10:21:20 +08:00
Laukik Hase
a0da805f2b
fix(hal): Fix the external memory vaddr region validity check
- For c6 and h2, the vaddr end calculated was off by 1
  byte.
2023-08-22 15:24:02 +05:30
Laukik Hase
9d905d18bb
wifi_prov: Fix build issue when building only for sec1 or sec2 2023-08-22 15:21:48 +05:30
Laukik Hase
fcb98e5851
wifi_prov: Exposed events for secure session establishment 2023-08-22 15:21:48 +05:30
KonstantinKondrashov
c93310956a refactor(esp_timer): Remove duplicate code and move it to a common file 2023-08-22 17:22:24 +08:00
Alan Fisher
eef3a90871 fix(esp_timer): Fix delay in ISR dispatch callbacks
Set the following alarm before calling the alarm handler.

Closes https://github.com/espressif/esp-idf/pull/11637
Closes https://github.com/espressif/esp-idf/issues/11636
2023-08-22 17:22:24 +08:00
KonstantinKondrashov
7ac7d43541 fix(app_update): Fix CI test_switch_ota by increasing deepsleep
It increases the deepsleep time from 2000 to 20000.
2000 is too small for esp32-s3 chip.
2023-08-22 16:10:49 +08:00
Nachiket Kukade
c05a0b4c50 fix(supplicant): Ignore EAPOL non-key frames in EAPOL txdone callback 2023-08-21 18:06:32 +05:30
Aditya Patwardhan
e088c3766b versions: Update version to 5.1.1 2023-08-21 14:24:40 +05:50
Sarvesh Bodakhe
2791508094 fix(wpa_supplicant): Add support to detect PBC overlap in wps registrar mode 2023-08-21 12:35:50 +05:30
luomanruo
757bd78247 update btlib to f9db7b90, some esp32c2 issues bugfixed 2023-08-21 11:49:14 +08:00
Jin Cheng
3638d265ed fix(bt): Increased SDP maximum connections to avoid connection exhausted 2023-08-21 11:21:56 +08:00
Planck (Lu Zeyu)
e5394440df fix(intr_flags_to_level): fix value returned one more than correct value 2023-08-21 10:08:49 +08:00
chenjianhua
62f5905be2 bluedroid: fixed compile warning when optimize for performance 2023-08-19 12:26:19 +08:00
Jiang Jiang Jian
8d2dbd461f Merge branch 'bugfix/eapol_txdone_cb_issue_v5.1' into 'release/v5.1'
Fix EAPOL Key TxDone callback implementation (Backport v5.1)

See merge request espressif/esp-idf!25381
2023-08-18 14:36:25 +08:00
Harshit Malpani
7eae1e4534
feat(mbedtls): Update to release/v3.4.1 2023-08-17 17:33:22 +05:30
Darian Leung
96b312ddde soc: Move revision MAX/MIN static assert to esp_hw_support
Previously, "soc/chip_revision.h" contained a static assert to check that the
CONFIG_ESP_REV_MIN_FULL <= CONFIG_ESP_REV_MAX_FULL. There are two issues with
this assert:

- Contained in a header file, so it is only compiled if the "chip_revision.h"
is included somewhere
- CONFIG_ESP_REV_MIN_FULL and CONFIG_ESP_REV_MAX_FULL are defined in
"esp_hw_support", which is a G0 component. This creates a reverse dependency
of G0 on G1.

This commit moves the static assert "revision.c" in "esp_hw_support".
2023-08-17 15:26:23 +08:00
Darian Leung
c98aa927f6 usb_host: Restrict ESP32-S2 AHB errata workaround to only ECO0 chips 2023-08-17 15:26:23 +08:00
Michael (XIAO Xufeng)
5d78511eac Merge branch 'bugfix/temperature_get_value_negative_v5.11' into 'release/v5.1'
bugfix(temperature_sensor): Fix issue that get the value is negative (backport v5.1)

See merge request espressif/esp-idf!25251
2023-08-17 15:24:29 +08:00
Jiang Jiang Jian
cd2172935d Merge branch 'bugfix/fix_esp32h2_wakeup_pll_enable_access_flash' into 'release/v5.1'
fix(esp_hw_support): fix esp32h2 wakeup process access flash cause stuck on v5.1

See merge request espressif/esp-idf!25379
2023-08-17 11:53:19 +08:00
morris
77b74ab091 Merge branch 'bugfix/spi_bus_unify_defualt_mosi_level_v5.1' into 'release/v5.1'
spi: unify default mosi level on all targets (v5.1)

See merge request espressif/esp-idf!25014
2023-08-17 10:13:05 +08:00
Cao Sen Miao
45288496fb bugfix(temperature_sensor): Fix issue that get the value is negative 2023-08-17 10:06:22 +08:00
Nachiket Kukade
feecbad7db fix(wifi): Fix EAPOL Key TxDone callback implementation
Fix issues arising due to not distinguishing between M2 and M4
TxDone during 4-way handshake. Also fix EAPOL frame rate to lowest
possible rate.
2023-08-16 19:26:22 +05:30
wuzhenghui
d5396e1d84 fix(esp_hw_support): fix esp32h2 wakeup process access flash cause crash 2023-08-16 20:44:16 +08:00
zwl
05e44b1021 ble: Added adv report flow control config on ESP32C6 and ESP32H2 2023-08-16 19:37:09 +08:00
zwl
fb6f00158e ble: fixed heap corruption on esp32c6 and esp32h2 2023-08-16 19:37:03 +08:00
muhaidong
98c39e28c8 fix(wifi): fix disassociation callback miss free key issue 2023-08-15 18:01:43 +08:00
Nebojsa Cvetkovic
075bbb526c twai: twai_driver_install() returns error on interrupt allocation failure
This commit updates twai_driver_install() so that an error is returned when
esp_intr_alloc() fails, instead of aborting.

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

[darian@espressif.com: Refactored object allocation and free procedures]
[darian@espressif.com: Updated commit message]
Signed-off-by: Darian Leung <darian@espressif.com>
2023-08-15 03:26:10 +00:00