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
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
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
Marius Vikhammer
6b6ca2d1ca
Merge branch 'bugfix/linenoise_calculates_negative_prompt_len_v5.2' into 'release/v5.2'
...
fix(console): Fixed linenoise prompt length calculation (v5.2)
See merge request espressif/esp-idf!28526
2024-02-18 10:40:37 +08:00
Marius Vikhammer
228c9a7538
Merge branch 'bugfix_lp_i2c_not_in_od_mode_v5.2' into 'release/v5.2'
...
fix(lp_i2c): Fixed an issue where the LP_I2C IO lines were not in open-drain mode (v5.2)
See merge request espressif/esp-idf!28770
2024-02-18 10:39:56 +08:00
Wang Meng Yang
9e984cd49e
Merge branch 'bugfix/no_wakeup_sleep_v5.2' into 'release/v5.2'
...
fix(ble): Fixed Bluetooth not waking up due to clock drift(v5.2)
See merge request espressif/esp-idf!28720
2024-02-18 09:53:01 +08:00
Wang Meng Yang
ee4fdf8447
Merge branch 'bugfix/spp_disc_connect_btqabr2023_156_v5.2' into 'release/v5.2'
...
fix(bt/bluedroid): Fixed SPP connection failure(v5.2)
See merge request espressif/esp-idf!28524
2024-02-18 09:50:25 +08:00
Wang Meng Yang
406e11bea2
Merge branch 'bugfix/fix_dangling_pointer_in_remove_bond_list_section_v5.2' into 'release/v5.2'
...
fix(bt/bluedroid): fix dangling pointer issue when logging removed section (backport v5.2)
See merge request espressif/esp-idf!28961
2024-02-18 09:45:39 +08:00
Darshan Dobariya
6ce28ee59b
fix(nimble): Added support for address resolution during inquiry.
2024-02-16 20:51:24 +05:30
Roshan Bangar
c1efc55584
feat(nimble): Gatt caching support
2024-02-16 18:15:56 +05:30
Rahul Tank
99552ebd15
Merge branch 'bugfix/handle_task_lock_v5.2' into 'release/v5.2'
...
fix(nimble): Remove unwanted task lock check when HS_DEBUG is enabled (v5.2)
See merge request espressif/esp-idf!28417
2024-02-16 20:41:19 +08:00
Mahavir Jain
b43aa0404a
Merge branch 'fix/build_failure_when_hardware_gcm_is_disabled_v5.2' into 'release/v5.2'
...
fix(mbedtls/gcm): Fix build failure when config `MBEDTLS_HARDWARE_GCM` is disabled (v5.2)
See merge request espressif/esp-idf!29067
2024-02-16 18:22:01 +08:00
Rahul Tank
600bd44c72
fix(nimble): Remove unwanted task lock check when HS_DEBUG is enabled
2024-02-16 15:33:24 +05:30
Rahul Tank
8b1c532754
Merge branch 'bugfix/reattempt_conn_feat_extended_v5.2' into 'release/v5.2'
...
fix(nimble): Support for reattempt connection in ext connect (v5.2)
See merge request espressif/esp-idf!28305
2024-02-16 17:58:17 +08:00
Mahavir Jain
1181f59158
Merge branch 'fix/packed-attribute-definition' into 'release/v5.2'
...
fix(esp_attr): Remove semiclon from PACKED attribute
See merge request espressif/esp-idf!29021
2024-02-16 15:06:07 +08:00
harshal.patil
5862b981ed
fix(mbedtls/gcm): Avoid using GCM hardware when config MBEDTLS_HARDWARE_GCM is disabled
2024-02-16 11:54:39 +05:30
harshal.patil
38f13b15d3
fix(mbedtls/gcm): Fix build failure when config MBEDTLS_HARDWARE_GCM is disabled
2024-02-16 11:54:37 +05:30
Rahul Tank
71932c99fc
fix(nimble): Support for reattempt connection in ext connect
2024-02-16 11:32:15 +05:30