Commit Graph

23006 Commits

Author SHA1 Message Date
linruihao
3d5852131b fix(esp_coex): add support_coexistence soc_caps for esp32c2 and esp32h2 2024-02-23 16:15:45 +08:00
zhanghaipeng
4521a50db5 fix(ble/bluedroid): Update maximum BLE reconnection attempts configuration 2024-02-23 15:57:45 +08:00
zwl
f04e4f99e6 ble(update):
Update c2 lib to 79be7ec9
Update h2 lib to c6f7cb08
Update c6 lib to c6f7cb08
2024-02-23 14:08:03 +08:00
Mahavir Jain
72ba89f191 fix(spi_flash): check for safe write address in encrypted flash API 2024-02-23 12:42:31 +08:00
Jiang Jiang Jian
a328e1a08f Merge branch 'bugfix/fixed_some_wifi_bugs_240222_v5.2' into 'release/v5.2'
fix(wifi): fixed some wifi bugs 240222 v5.2 (Backport v5.2)

See merge request espressif/esp-idf!29185
2024-02-23 00:18:45 +08:00
Darshan Dobariya
80a1f5e18c fix(nimble): Fix compilation issue in nimble for -O2 flag (v5.2) 2024-02-22 21:36:12 +05:30
Rahul Tank
e573b7cee1 Merge branch 'bugfix/remove_namespace_variable_name_v5.2' into 'release/v5.2'
fix(nimble): update variable name to avoid using keyword (v5.2)

See merge request espressif/esp-idf!28973
2024-02-22 23:58:10 +08:00
Lou Tianhao
f0ae83d056 change(pm): use old ext1 api for pytest 2024-02-22 20:06:28 +08:00
Jiang Jiang Jian
8e1cd38970 Merge branch 'c6_auto_dbias_master_hsq_v5.2' into 'release/v5.2'
ESP32C6: Active & sleep dbg and dbias get from efuse to fix the voltage (v5.2)

See merge request espressif/esp-idf!28729
2024-02-22 20:04:08 +08:00
KonstantinKondrashov
2f707291eb fix(esp_hw_support): Fix esp_intr_free when taks has no core affinity
Closes https://github.com/espressif/esp-idf/issues/12608
2024-02-22 13:00:34 +02:00
Omar Chebib
f10d734f30 change(espcoredump): save RAM space by placing constants in flash
All the log messages of espcoredump component used to be in DRAM, which would
lower the available RAM space for the user application. Since the cache is always
enabled after an exception, constants can be put in flash.
2024-02-22 18:45:52 +08:00
Jiang Jiang Jian
2fc023ef95 Merge branch 'bugfix/cannot_jump_range_v5.2' into 'release/v5.2'
fix(temperature_sensor): Cannot switch the range smmothly on esp32h2(backport v5.2)

See merge request espressif/esp-idf!29152
2024-02-22 16:53:41 +08:00
muhaidong
20a3c78034 fix(wifi): fixed some wifi issues
1. fix(wifi/mesh): wait for child disconnect when mesh deinit
2. fix(wifi): fix wifi stop cost too much time
3. fix(clk): clear all lpclk source at clk init
4. fix(wifi): fixed scan and home channel change issues
5. fix(wifi):fix issues that in mplen clear and esp_wifi_set_mode
6. fix(wifi): fix qos encapsulated eapol issue
7. fix(wifi): fixed dhcp offer and dhcp ack data rates
8. fix(wifi): fix lmac_stop_hw_txq issue
2024-02-22 15:36:14 +08:00
Jiang Jiang Jian
3f730f2453 Merge branch 'feature/add_fall_back_dns_config_in_menuconfig_v5.2' into 'release/v5.2'
feat(lwip): add fall back dns config in menuconfig (v5.2)

See merge request espressif/esp-idf!29154
2024-02-22 15:21:51 +08:00
muhaidong
1aca617c33 fix(wifi): fix some wifi issues
1. fix qos encapsulated eapol issue
2. fixed dhcp offer and dhcp ack data rates
2024-02-22 15:11:10 +08:00
zhangyanjiao
8a6c2fe68f fix(wifi): fixed scan and home channel change issues
1. update scan ap number when clear scan ap records
2. fixed the old_snd filed error in WIFI_EVENT_HOME_CHANNEL_CHANGE event

Closes https://github.com/espressif/esp-idf/issues/13051
2024-02-22 15:09:09 +08:00
liuning
27e3d41026 fix(clk): clear all lpclk source at clk init 2024-02-22 15:07:59 +08:00
hongshuqing
b3a73d5b63 feat(pmu): set fix voltage to different mode for esp32c6 2024-02-22 14:49:01 +08:00
Marius Vikhammer
e930ff0b1f fix(system): update reset reasons for C6 and H2 2024-02-22 12:37:49 +08:00
Jiang Jiang Jian
77f5391037 Merge branch 'feat/add_test_api_for_sec_v5.2' into 'release/v5.2'
Feat/add test api for sec v5.2

See merge request espressif/esp-idf!29169
2024-02-22 12:20:47 +08:00
Jiang Jiang Jian
9dcc8c9e7d Merge branch 'bugfix/update_spp_doc_v5.2' into 'release/v5.2'
docs(bt/bluedroid): update API documents of SPP (v5.2)

See merge request espressif/esp-idf!29170
2024-02-22 12:20:12 +08:00
Jiang Jiang Jian
12ae1c19d2 Merge branch 'bugfix/fix_coex_lib_circular_dependency_v5.2' into 'release/v5.2'
fix(esp_coex): fix circular dependency issue on esp32 (v5.2)

See merge request espressif/esp-idf!29155
2024-02-22 11:45:50 +08:00
Island
95b5f1290e Merge branch 'bugfix/ble_mesh_pb_adv_compile_error_v5.2' into 'release/v5.2'
fix(ble_mesh): Fix compiling error when PB-ADV is disabled (v5.2)

See merge request espressif/esp-idf!29151
2024-02-22 11:34:02 +08:00
Jiang Jiang Jian
b0fc0210df Merge branch 'bugfix/fix_ble_free_all_crash_issue_5.2' into 'release/v5.2'
fix(ble): Fixed the free_all crash on esp32c6 and esp32h2

See merge request espressif/esp-idf!29161
2024-02-22 11:33:22 +08:00
Abhik Roy
2d03df48b0 fix(lwip): Fixed debug format, added ci test config
Detailed description of the changes:
  - lwip_debug: Fixed string format error in ip6 and napt (espressif/esp-lwip@f5c43549)
  - dns: fix init with only ipv4 enabled (espressif/esp-lwip@5aab73d7)
2024-02-22 11:30:39 +08:00
morris
56c7df9fbd Merge branch 'feat/usb_host_set_device_config_v5.2' into 'release/v5.2'
USB Host: Add enumeration callback filter (backport v5.2)

See merge request espressif/esp-idf!28550
2024-02-22 11:07:43 +08:00
Jiang Jiang Jian
1cd164b8fa Merge branch 'bugfix/fix_some_wifi_bugs_240221_v5.2' into 'release/v5.2'
fix(lwip): fixed some wifi bugs(Backport v5.2)

See merge request espressif/esp-idf!29147
2024-02-22 11:06:56 +08:00
Jiang Jiang Jian
527ce5eb3b Merge branch 'bugfix/spi_eth_recv_alloc_v5.2' into 'release/v5.2'
fix(esp_eth): improved SPI Ethernet _alloc_recv_buf error handling (v5.2)

See merge request espressif/esp-idf!29081
2024-02-22 11:05:26 +08:00
Jiang Jiang Jian
4bf00b2ce2 Merge branch 'bugfix/one_byte_receive_v5.2' into 'release/v5.2'
fix(i2c_master): Fix bug on esp32 that read one byte data fails(backport v5.2)

See merge request espressif/esp-idf!28634
2024-02-22 10:57:52 +08:00
Jin Cheng
5b6fbea041 docs(bt/bluedroid): update API documents of SPP 2024-02-22 09:52:53 +08:00
Jin Cheng
7560b70244 feat(bt/bluedroid): Added an event to notify the encryption mode to applicaiton layer 2024-02-22 09:51:48 +08:00
Jin Cheng
fdd1f41836 feat(bt/bluedroid): Added report for the type of link key in ESP_BT_GAP_AUTH_CMPL_EVT 2024-02-22 09:51:48 +08:00
Roland Dobai
61db22a55a Merge branch 'feature/esp32p4_coredump_support_v5.2' into 'release/v5.2'
feat(coredump): add esp32p4 chip support and doc update (v5.2)

See merge request espressif/esp-idf!28391
2024-02-22 02:41:58 +08:00
Rahul Tank
e6d7705a67 fix(nimble): update variable name to avoid using keyword (v5.2) 2024-02-21 23:40:18 +05:30
Rahul Tank
a707ab946f Merge branch 'bugfix/missing_controller_disabled_guard_v5.2' into 'release/v5.2'
fix(nimble): Fixes related to nimble host only (v5.2)

See merge request espressif/esp-idf!29138
2024-02-22 02:08:42 +08:00
Erhan Kurubas
fdc6099961 feat(esp-coredump): add esp32p4 chip support and doc update 2024-02-21 21:26:39 +08:00
Jiang Jiang Jian
34ec96ef23 Merge branch 'feature/spi_eth_no_int_v5.2' into 'release/v5.2'
feat(esp_eth): added SPI Ethernet module polling mode (v5.2)

See merge request espressif/esp-idf!29044
2024-02-21 20:43:46 +08:00
Jiang Jiang Jian
6e7029016f Merge branch 'bugfix/bunch_tsens_v5.2' into 'release/v5.2'
fix(temperature_sensor): Fix the value is incorrect if disable and enable again (backport v5.2)

See merge request espressif/esp-idf!28626
2024-02-21 20:33:38 +08:00
Jiang Jiang Jian
001b8ff92d Merge branch 'fix/fatfs_sdmmc_triming_v5.2' into 'release/v5.2'
fix(storage/fatfs): check whether sdcard supports trimming (v5.2)

See merge request espressif/esp-idf!28335
2024-02-21 20:26:22 +08:00
Michael (XIAO Xufeng)
db3aa57a9b Merge branch 'bugfix/workaround_reset_eof_counter_c3_v5.2' into 'release/v5.2'
fix(adc): workaround to fix adc continuous get less results on c3 (v5.2)

See merge request espressif/esp-idf!29136
2024-02-21 20:08:57 +08:00
ShenWeilong
03da41e7d7 fix(ble): Fixed the free_all crash on esp32c6 and esp32h2 2024-02-21 20:05:48 +08:00
Peter Marcisovsky
d786f187e9 feat(us/host): set device cfg during enumeration
- user callback funciton to set device configuration
      as a part of usb_host_install
    - callback provides device descriptor of a device being enumerated
    - user can set which cfg descriptor the USB device will be set with
    - user can filter device enumeration
    - Kconfig menu to enable callback function
    - usb_host_lib example demonstration
2024-02-21 12:34:04 +01:00
Roshan Bangar
821185d6ec fix(nimble): fixed missing controller disabled guard in esp_nimble_deinit 2024-02-21 16:59:58 +05:30
Rahul Tank
9feab17051 Merge branch 'bugfix/signed_write_fix_v5.2' into 'release/v5.2'
fix(nimble): message to be signed is corrected in signed write (v5.2)

See merge request espressif/esp-idf!29121
2024-02-21 19:22:00 +08:00
linruihao
b5a2054070 fix(esp_coex): fix circular dependency issue on esp32
Closes https://github.com/espressif/esp-idf/issues/13113
2024-02-21 19:14:53 +08:00
xueyunfei
aa21e87cd9 feat(lwip): add fall back dns config in menuconfig 2024-02-21 19:07:01 +08:00
Cao Sen Miao
4df78f9cff fix(temperature_sensor): Cannot switch the range smmothly on esp32h2 2024-02-21 18:51:29 +08:00
Liu Linyan
63ba58e9a8 fix(ble_mesh): Fix compiling error when PB-ADV is disabled
Closes https://github.com/espressif/esp-idf/issues/13203
2024-02-21 18:46:49 +08:00
Cao Sen Miao
715ee3576e fix(i2c_master): Fix bug on esp32 that read one byte data fails 2024-02-21 18:42:21 +08:00
Ondrej Kosta
4df9fa5b50 fix(esp_eth): improved SPI Ethernet _alloc_recv_buf error handling 2024-02-21 10:07:12 +01:00
muhaidong
d0afffe8c9 fix(wifi): fix esp_wifi_scan_start memory leakage issue
Closes https://github.com/espressif/esp-idf/issues/10693
2024-02-21 16:32:31 +08:00
muhaidong
ffd01bf73b fix(lwip): fix log format resulting in compilation failue issue
Closes https://github.com/espressif/esp-idf/issues/12982
2024-02-21 16:32:14 +08:00
Jiang Jiang Jian
4a3f224fe1 Merge branch 'bugfix/esp32c2_eap_auth_v5.2' into 'release/v5.2'
fix(wifi): Added low heap usage Kconfig option for eap enterprise (v5.2)

See merge request espressif/esp-idf!28824
2024-02-21 14:31:32 +08:00
Sumeet Singh
2e1e17524e fix(nimble): message to be signed is corrected in signed write (v5.2) 2024-02-21 11:45:55 +05:30
gaoxu
94ef39472b fix(adc): workaround to fix adc continuous get less results on c3 2024-02-21 13:38:46 +08:00
Cao Sen Miao
c5759b6d2b fix(tsens): 300us delay in phy cause extra power consumption 2024-02-21 11:58:30 +08:00
Cao Sen Miao
b69ac0fb27 fix(tsens,adc): Fix issue that disable adc will make temperature sensor crash,
Closes https://github.com/espressif/esp-idf/issues/12921
2024-02-21 11:58:26 +08:00
Cao Sen Miao
84e44e230b fix(temperature_sensor): Fix the value is incorrect if disable and enable again
Closes https://github.com/espressif/esp-idf/issues/12864
2024-02-21 11:58:22 +08:00
Mahavir Jain
c05940a0fb Merge branch 'ci/test_limit_main_cleanup_v5.2' into 'release/v5.2'
ci(test_apps): limit dependencies for misc test_apps (v5.2)

See merge request espressif/esp-idf!29135
2024-02-21 11:44:05 +08:00
Jiang Jiang Jian
7e9a9b35ea Merge branch 'bugfix/mbo_api_flag_v5.2' into 'release/v5.2'
fix(wpa_supplicant):Add MBO config flag for mbo apis(v5.2)

See merge request espressif/esp-idf!28698
2024-02-21 11:08:09 +08:00
Jiang Jiang Jian
8a0132aacf Merge branch 'bugfix/ble_mesh_ble_advtype_v5.2' into 'release/v5.2'
ble_mesh: update ble mesh ble adv type(backport v5.2)

See merge request espressif/esp-idf!28916
2024-02-21 11:05:21 +08:00
Jiang Jiang Jian
62dbf69c0a Merge branch 'bugfix/ble_mesh_deinit_reinit_v5.2' into 'release/v5.2'
feat: ble mesh: improve ble mesh deinit when nimble enable(backport v5.2)

See merge request espressif/esp-idf!28926
2024-02-21 11:04:04 +08:00
Jiang Jiang Jian
7a9b686174 Merge branch 'bugfix/struct_init_order_blemesh_v5.2' into 'release/v5.2'
ble_mesh: example: fix the structure init order to meet C++ requirements(backport v5.2)

See merge request espressif/esp-idf!28928
2024-02-21 11:01:01 +08:00
Marius Vikhammer
f1561c6bc9 Merge branch 'contrib/github_pr_12867_v5.2' into 'release/v5.2'
fix(esp32): Removed rogue semicolon in #define in esp_smartconfig.h (GitHub PR) (v5.2)

See merge request espressif/esp-idf!29111
2024-02-21 11:00:38 +08:00
Jiang Jiang Jian
3c7c5829b7 Merge branch 'h2_auto_dbias_master_hsq_v5.2' into 'release/v5.2'
ESP32H2: Active & sleep dbias get from efuse to fix the voltage (v5.2)

See merge request espressif/esp-idf!28714
2024-02-21 10:49:16 +08:00
Marius Vikhammer
da6412b216 Merge branch 'bugfix/bootloader_custom_rtc_data_crc_v5.2' into 'release/v5.2'
fix(bootloader): add legacy retained memory CRC calculation (backport v5.2)

See merge request espressif/esp-idf!28937
2024-02-21 10:43:50 +08:00
Lou Tianhao
901c5624d3 change(pm): change CMakeLists for wakeup pytest 2024-02-21 10:42:39 +08:00
Lou Tianhao
229a974252 change(pm): change test_io_wakeup 2024-02-21 10:42:39 +08:00
Lou Tianhao
0cdaf0008d feat(pm): add test_io_wakeup 2024-02-21 10:42:39 +08:00
Marius Vikhammer
bab0fa8a03 ci(test_apps): limit dependencies for misc test_apps
Only pull in direct dependencies for the test apps, reducing build time
as well making it possible for CI to determine if the test should run or not
when dependencies are changed.
2024-02-21 09:34:29 +08:00
Aditya Patwardhan
546e9e0b6e Merge branch 'bugfix/anti_rollback_check_regression_v5.2' into 'release/v5.2'
fix(bootloader_support): check the secure version only for app image (v5.2)

See merge request espressif/esp-idf!29127
2024-02-20 23:30:04 +08:00
Simon H
7e9fdf598e
fix(esp_wifi): Remove semicolon from SMARTCONFIG_START_CONFIG_DEFAULT
Removed rogue semicolon from SMARTCONFIG_START_CONFIG_DEFAULT() macro. This
fixes build issues when this macro is used via C++ brace initialization.

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

[Darian Leung: Updated commit message]
Signed-off-by: Darian Leung <darian@espressif.com>
2024-02-20 19:43:12 +08:00
morris
7fafe4a9f4 Merge branch 'feature/usb_host_collective_backport_v5.2' into 'release/v5.2'
USB Host: Collective backport to v5.2

See merge request espressif/esp-idf!28095
2024-02-20 18:51:26 +08:00
Marius Vikhammer
08a50af080 Merge branch 'bugfix/heap_task_includes_v5.2' into 'release/v5.2'
fix(heap): fixed missing include in esp_heap_task_info.h (v5.2)

See merge request espressif/esp-idf!29116
2024-02-20 18:24:30 +08:00
Mahavir Jain
b2cdc06789
fix(bootloader_support): check the secure version only for app image
Secure version in the image header is only available for the application
image. However, for certain security workflows, bootloader verifies
itself (own image) and hence the secure version check during that must be
avoided.

Regression introduced in recent commit-id: 3305cb4d

Tested that both secure boot and flash-enc workflows work correctly
with the anti-rollback scenario.
2024-02-20 14:45:27 +05:30
Shu Chen
dbbe2cf173 Merge branch 'backport5.2/openthread_backport' into 'release/v5.2'
some openthread changes backport to release/v5.2

See merge request espressif/esp-idf!28637
2024-02-20 17:01:36 +08:00
Marius Vikhammer
cb270eebd6 Merge branch 'bugfix/remove_o0_bootloader_v5.2' into 'release/v5.2'
fix(build): remove CONFIG_BOOTLOADER_COMPILER_OPTIMIZATION_NONE option from c6, h2 and p4 (v5.2)

See merge request espressif/esp-idf!28752
2024-02-20 16:52:33 +08:00
Jiang Jiang Jian
5cb1e9f6f4 Merge branch 'feat/support_get_bluedroid_status_v5.2' into 'release/v5.2'
Support get status of bluedroid host (backport v5.2)

See merge request espressif/esp-idf!28881
2024-02-20 14:33:46 +08:00
aditi_lonkar
a3ba6b299d fix(wpa_supplicant):Add MBO config flag for mbo apis 2024-02-20 13:54:20 +08:00
Rahul Tank
768bd4750d Merge branch 'feat/ble_gap_dev_auth_v5.2' into 'release/v5.2'
feat(nimble): Authorize or deauthorize a BLE device for a connection (v5.2)

See merge request espressif/esp-idf!29079
2024-02-20 12:38:35 +08:00
Marius Vikhammer
6b1413c3e9 fix(heap): fixed missing include in esp_heap_task_info.h
Would fail to compile if esp_heap_task_info.h was included without/before freertos includes
2024-02-20 12:04:45 +08:00
morris
1156370c00 Merge branch 'bugfix/fix_adc_reset_issue_on_legacy_v5.2' into 'release/v5.2'
fix(adc): fix adc continuous get less results beacuse do not reset apb clk(legacy) (v5.2)

See merge request espressif/esp-idf!28332
2024-02-20 11:25:00 +08:00
zwx
fff9980a5b feat(openthread): disable the rx on when idle in coex scenario 2024-02-20 10:41:10 +08:00
zwx
cb04df5ddf fix(openthread): fix RCP handle timeout crashing issue
* update openthread upstream
2024-02-20 10:41:00 +08:00
zwx
a64744883d fix(openthread): support uart ISR in IRAM 2024-02-20 10:32:10 +08:00
zwx
3a9bf62ed6 fix(802154): fix pending tx will be delayed issue 2024-02-20 10:32:00 +08:00
Shu Chen
c923dd4df4 feat(ieee802154): make the receive done handler feature mandatory 2024-02-20 10:31:29 +08:00
Shu Chen
1085fece61 feat(ieee802154): remove the ieee802154 lib submodule 2024-02-20 10:31:29 +08:00
zwx
51bc01b557 feat(openthread): support openthread radio caps rx on when idle 2024-02-20 10:31:29 +08:00
xiaqilin
dfb75ff2ac fix(ieee802154): add next operation in ieee802154 test when rx abort by tx ack coex 2024-02-20 10:31:29 +08:00
zwx
f978fc10c0 feat(802.15.4): introduce pending tx while rx feature 2024-02-20 10:31:29 +08:00
zwx
4184b48aa8 feat(openthread): integrate console command with ot command 2024-02-20 10:31:29 +08:00
Xu Si Yu
06cca86017 feat(openthread): add menuconfig for openthread address query 2024-02-20 10:31:29 +08:00
Xu Si Yu
4ddb253788 fix(openthread): set spinel frame buffer to member variables 2024-02-20 10:31:29 +08:00
Xu Si Yu
936bba8073 feat(openthread): support esp openthread radio spinel 2024-02-20 10:31:29 +08:00
Darshan Dobariya
d9de786520 feat(nimble): Authorize or deauthorize a BLE device for a connection (v5.2) 2024-02-19 16:27:45 +05:30
Rahul Tank
e0944287f3 Merge branch 'bugfix/backport_ble_nimble_fixes_5.2' into 'release/v5.2'
fix(nimble) : Bugfix/backport ble nimble fixes 5.2

See merge request espressif/esp-idf!29098
2024-02-19 18:04:35 +08:00
Darian Leung
471fe41828
refactor(soc): Remove soc/usb_types.h
This header has been removed for the following reasons:

- Header is misplaced. 'xxx_types.h' headers should be placed in the 'hal'
component.
- The 'usb_xxx_endpoint_t' should be placed in the 'xxx_struct.h' header.
2024-02-19 15:45:04 +08:00
Darian Leung
b07a43e630
refactor(soc): Rename usb_otg_periph to usb_dwc_periph
- Renamed usb_otg_periph.h/c to usb_dwc_periph.h/c to match naming convention
of other DWC OTG related files
- Added compatibility header for usb_otg_periph.h
2024-02-19 15:45:04 +08:00
Darian Leung
50b3a35c52
refactor(soc): Deprecate usb pin mappings
usb_pins.h and usb_periph.h/c lists mappings of USB DWC signals to GPIOs used
to connect to external FSLS PHYs. However, those signals can be routed to any
GPIOs via the GPIO matrix. Thus, these mapping are meaningless and have been
deprecated.
2024-02-19 15:45:03 +08:00
Darian Leung
86fb02efa4
refactor(hal): Remove usb_hal and usb_ll
This commit removes some legacy USB related HAL and LL files that are no longer
used.
2024-02-19 15:45:03 +08:00
Tomas Rezucha
f57ef07e14
feat(usb/host): Calculate FIFO sizes based on USB configuration 2024-02-19 15:45:02 +08:00
Darian Leung
2f6e45c79b
refactor(usb): Deprecate CONFIG_USB_OTG_SUPPORTED, use SOC_USB_OTG_SUPPORTED instead
Previously, USB build dependencies used the CONFIG_USB_OTG_SUPPORTED. However,
they could depend on `soc_caps.h` instead.
2024-02-19 15:45:02 +08:00
Darian Leung
f0219b73f9
refactor(hal/usb): Rename usb_fsls_phy API to match header/source names
Note: Also fixed some formatting issues in usb_wrap_struct.h
2024-02-19 15:45:02 +08:00
Darian Leung
f2ede42191
refactor(hal/usb): Rename usb_phy files to usb_fsls_phy
This commit renames USB PHY related HAL files from "usb_phy_xxx" to
"usb_fsls_phy_xxx" since they are only designed to support Full-Speed/Low-Speed
Serial USB PHYs. This renmaing is done to accommodate future USB PHYs that use
other PHY interfaces (e.g., UTMI, ULPI etc).
2024-02-19 15:45:01 +08:00
Darian Leung
c1f0823795
refactor(hal/usb): Remove usage of old USB OTG config macros 2024-02-19 15:45:01 +08:00
Darian Leung
d08b90c5cc
refactor(soc/host): Update USB OTG struct fields
This commit updates the "*_struct.h" files for the USB OTG peripheral:

- Added/removed some missing/non-existing register fields
- Added "reserved" place holders for registers that are missing due to IP
configuration.
- Added "usb_dwc_cfg.h" listing the USB OTG IP configuration for each target.
- Updated LL/HAL according to register field updates. Also tidied up the include
directives in those headers.
2024-02-19 15:45:00 +08:00
Darian Leung
bf9706dc31
refactor(hal/usb): Fix USB OTG compilation dependency
Update "hal/CMakeLists.txt" so that USB OTG related HAL files depend on
the "SOC_USB_OTG_SUPPORTED" capability.
2024-02-19 15:45:00 +08:00
Darian Leung
3964fb2d04
refactor(usb/host): reformat code with astyle_py 2024-02-19 15:45:00 +08:00
Tomas Rezucha
1e2c271bd0
fix(usb/host): Correctly parse bInterval field in HighSpeed EP descriptors
For LS and FS interrupt endpoint: interval = bInterval
For isochronous and HS interrupt endpoint: interval = 2^(bInterval-1)
2024-02-19 15:44:59 +08:00
Tomas Rezucha
0ce4aa114e
fix(usb/host): Correctly parse MPS fields in HighSpeed EP descriptors
Bits [11,12] in HighSpeed periodic endpoints specify
the number of additional transaction opportunities per microframe
2024-02-19 15:44:59 +08:00
Island
1c2a6712e3 Merge branch 'bugfix/ble_update_lib_20240125_v5.2' into 'release/v5.2'
Bugfix/ble update lib 20240125 v5.2

See merge request espressif/esp-idf!28710
2024-02-19 15:29:25 +08:00
Island
d4dd0d4201 Merge branch 'bugfix/fix_some_ble_issue_v5.2' into 'release/v5.2'
Bugfix/fix some ble issue v5.2(backport v5.2)

See merge request espressif/esp-idf!28617
2024-02-19 15:19:24 +08:00
gaoxu
7ab43c0fbd fix(adc): fix adc continuous get less results beacuse do not reset apb clk(legacy) 2024-02-19 15:02:30 +08:00
Kapil Gupta
3d8fd79a10 fix(wifi): add low memory options for eap enterprise 2024-02-19 14:33:55 +08:00
Sumeet Singh
d9561b8fc7 fix(nimble): Out of order messages during SMP causing DOS vulerability (v5.2) 2024-02-19 09:27:55 +05:30
Rahul Tank
bc3dcdfc0d fix(nimble): Merge hci_common.h file for all chips 2024-02-19 09:27:09 +05:30
Roshan Bangar
012506114e feat(nimble): Nimble Host only mode over uart 2024-02-19 09:26:34 +05:30
SumeetSingh19
e23a61a47a feat(nimble): client presentation and aggregate format descriptor support 2024-02-19 09:24:34 +05:30
SumeetSingh19
c0f48a19fc feat(nimble): signed write support 2024-02-19 09:24:30 +05:30
SumeetSingh19
7d6f5fa71d feat(nimble): additional AD types for advertisements 2024-02-19 09:24:26 +05:30
SumeetSingh19
16acdf1bbb feat(nimble): authorization permission on gatt read and write 2024-02-19 09:24:21 +05:30
SumeetSingh19
e16882f0cd fix(nimble): allow auto connection and observer role 2024-02-19 09:24:14 +05:30
Jiang Jiang Jian
7e6e769aed Merge branch 'bugfix/ble_bug_backport_20240205' into 'release/v5.2'
Bugfix/ble bug backport 20240205 (backport v5.2)

See merge request espressif/esp-idf!28901
2024-02-19 11:07:29 +08:00
Jiang Jiang Jian
8ab1027fee Merge branch 'bugfix/fix_ble_tx_2m_problem_causing_by_phy_wifi_enable_set_v5.2' into 'release/v5.2'
fix(esp_phy): Fixed BLE TX 2M problem causing by phy_wifi_enable_set() (backport v5.2)

See merge request espressif/esp-idf!28762
2024-02-19 11:04:45 +08:00
Jiang Jiang Jian
65d127da88 Merge branch 'feature/supplicant_bss_extmem_v5.2' into 'release/v5.2'
WiFi: Add support to move supplicant BSS to external memory (v5.2)

See merge request espressif/esp-idf!28743
2024-02-19 11:04:24 +08:00
Jiang Jiang Jian
e8548e7a1a Merge branch 'bugfix/fix_pmk_invalid_wpa_or_wpa2_connect_fail_issue_v5.2' into 'release/v5.2'
fix(wifi): fix pmk invalid lead same ssid wpa and wpa2 connect fail issue(Backport v5.2)

See merge request espressif/esp-idf!28666
2024-02-19 11:03:52 +08:00
Jiang Jiang Jian
6bfe219bb1 Merge branch 'ci/enable_ip101_jobs_v5.2' into 'release/v5.2'
ci(esp_eth): enabled Ethernet ip101 jobs (v5.2)

See merge request espressif/esp-idf!28613
2024-02-19 11:02:42 +08:00
Jiang Jiang Jian
4f5c87a294 Merge branch 'fix/ble_mesh_reject_node_reset_v5.2' into 'release/v5.2'
fix(ble_mesh): reject node-reseting when provision link is active (v5.2)

See merge request espressif/esp-idf!28235
2024-02-19 11:00:18 +08:00
Jiang Jiang Jian
5a557bb595 Merge branch 'bugfix/lan8720_ci_speed_v5.2' into 'release/v5.2'
feat(esp_eth): added ioctl option to read/write PHY registers - v5.2

See merge request espressif/esp-idf!27098
2024-02-19 10:59:46 +08:00
Jiang Jiang Jian
2b084b1f6b Merge branch 'feature/support_gdma_retention_v5.2' into 'release/v5.2'
feature: support gdma retention in pd_top lightsleep (v5.2)

See merge request espressif/esp-idf!29090
2024-02-19 10:56:16 +08:00
Darian Leung
b7c3f01ac8
change(usb/host): Remove some handler function event flags
This commit removes internal event flags in the USB Host Library event handling
functions (i.e., usb_host_lib_handle_events() and usb_host_client_handle_events()).

Previously, these flags were added to reduce the number of times semaphores
were given. However, these flags were removed as the performance gain is
negligible and made the logic more complicated.

For usb_host_client_handle_events(), the following flags were removed:

- Remove 'events_pending' flag. The semaphore is now always given
- Remove 'blocked' flag. The 'handling_events' flag is already sufficient
- Critical sections are now shortened due to simplication of semaphore usage.

For usb_host_lib_handle_events(), the following flags were removed:

- Remove 'process_pending' flag. The semaphore is now always given
- Renamed 'blocked' flag to 'handling_events'
2024-02-19 06:57:31 +08:00
Darian Leung
d9de61cbad
change(usb/host): Remove data buffer headers from URBs
This commit removes the ability to reserve a header in the data buffer of an
allocated URB. The header was required for a now defunct implementation of a
synchronous USB Host library API. Thus, headers are no longer required in
URB data buffers.
2024-02-19 06:57:30 +08:00
morris
8d2c1a6265 Merge branch 'bugfix/fix_integral_div_calc_in_hal_util_v5.2' into 'release/v5.2'
fix(hal_utils): add division range check in integral algorithm (v5.2)

See merge request espressif/esp-idf!28628
2024-02-18 16:08:17 +08:00
wuzhenghui
2cd8335818
feat(esp_hw_support): support gdma register context sleep retention 2024-02-18 15:57:15 +08:00
Roland Dobai
202c60bf6b Merge branch 'bugfix/kconcheck_file_checks_v5.2' into 'release/v5.2'
Bugfix/kconcheck file checks v5.2

See merge request espressif/esp-idf!28976
2024-02-18 15:33:12 +08:00
Roland Dobai
04ce3affe9 Merge branch 'coredump_traverse_state_lists_v5.2' into 'release/v5.2'
Improve the probability of accessing healthy TCBs (v5.2)

See merge request espressif/esp-idf!28662
2024-02-18 15:32:18 +08:00
InfiniteYuan
e8d7ecaec8 feat: ble mesh: improve ble mesh deinit when nimble enable 2024-02-18 11:35:47 +08:00
morris
81dc597d1f Merge branch 'bugfix/fix_incorrect_regbase_name_of_i2s_v5.2' into 'release/v5.2'
fix(i2s): fixed incorrect reg base name on C3 (v5.2)

See merge request espressif/esp-idf!28629
2024-02-18 11:29:42 +08:00
morris
a65db35c13 Merge branch 'bugfix/bod_threshold_v5.2' into 'release/v5.2'
fix(bod): Fix BOD threshold value on ESP32H2(backport v5.2)

See merge request espressif/esp-idf!28622
2024-02-18 11:00:47 +08:00
morris
9875bee9d8 Merge branch 'bugfix/fix_wrong_dcache_0_size_issue_on_s2_v5.2' into 'release/v5.2'
fix(cache): fix wrong dcache size 0 configuration issue on s2 (v5.2)

See merge request espressif/esp-idf!28289
2024-02-18 10:58:20 +08:00
morris
eae7bba46f Merge branch 'feature/usb_hs_support_v5.2' into 'release/v5.2'
feat(usb/host): Add High Speed enumeration types (backport v5.2)

See merge request espressif/esp-idf!28058
2024-02-18 10:57:33 +08:00
morris
df558f4f39 Merge branch 'feature/bytes_encoder_config_update_v5.2' into 'release/v5.2'
feat(rmt): support update bytes encoder configurations at runtime (v5.2)

See merge request espressif/esp-idf!28381
2024-02-18 10:54:54 +08:00
morris
715df99f8c Merge branch 'contrib/github_pr_12908_v5.2' into 'release/v5.2'
spi_lcd: add flag to control the DC level in cmd/param/data phase separately (GitHub PR) (v5.2)

See merge request espressif/esp-idf!28240
2024-02-18 10:53:28 +08:00
morris
9961629d58 Merge branch 'feature/rmt_encoder_memory_allocator_v5.2' into 'release/v5.2'
feat(rmt): added a help function for allocating encoder memory (v5.2)

See merge request espressif/esp-idf!28790
2024-02-18 10:52:39 +08:00
morris
de6aecf2ab Merge branch 'contrib/github_pr_13020_v5.2' into 'release/v5.2'
fix (esp_lcd): Don't assume panels are 16bit in VSYNC restart logic (GitHub PR) (v5.2)

See merge request espressif/esp-idf!28810
2024-02-18 10:52:27 +08:00
morris
48e3103c8c Merge branch 'bugfix/mcpwm_reset_generator_gpio_v5.2' into 'release/v5.2'
fix(mcpwm): reset GPIO used by generator after delete (v5.2)

See merge request espressif/esp-idf!28831
2024-02-18 10:51:52 +08:00
Marius Vikhammer
2c0d846eaf Merge branch 'bugfix/rtc_i2c_not_in_od_mode_v5.2' into 'release/v5.2'
fix(ulp_riscv): Updated RTC I2C to use open-drain IOs (v5.2)

See merge request espressif/esp-idf!28931
2024-02-18 10:47:55 +08:00
Marius Vikhammer
709d8ef685 Merge branch 'fix/heap-trace-hash-map-remove_v5.2' into 'release/v5.2'
fix(heap): prevent double traversal of hashmap in map_find_and_remove (backport v5.2)

See merge request espressif/esp-idf!28062
2024-02-18 10:47:04 +08:00
Marius Vikhammer
47b7e61dc3 Merge branch 'contrib/github_pr_12785_v5.2' into 'release/v5.2'
Provide ulp_adc_deinit() API to fix ADC1 handle leakage (GitHub PR) (v5.2)

See merge request espressif/esp-idf!28455
2024-02-18 10:41:30 +08:00