mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-08 04:02:27 +00:00
feat(hal/usb): Make USB-DWC HAL&LL configuration independent
Previously, we included symbols from soc/usb_dwc_cfg.h and configured the HAL and LL according to it. Now we get the configuration in runtime from USB-DWC registers. Added missing definition for USB FS peripheral on ESP32-P4.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* SPDX-FileCopyrightText: 2015-2023 Espressif Systems (Shanghai) CO LTD
|
||||
* SPDX-FileCopyrightText: 2015-2024 Espressif Systems (Shanghai) CO LTD
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
@@ -88,7 +88,7 @@ typedef union {
|
||||
struct {
|
||||
uint32_t toutcal: 3;
|
||||
uint32_t phyif: 1;
|
||||
uint32_t reserved_4: 1;
|
||||
uint32_t ulpiutmisel: 1;
|
||||
uint32_t fsintf: 1;
|
||||
uint32_t physel: 1;
|
||||
uint32_t reserved_7: 1;
|
||||
|
Reference in New Issue
Block a user