mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-22 17:10:28 +00:00
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.
This commit is contained in:
@@ -1,12 +1,18 @@
|
||||
/*
|
||||
* SPDX-FileCopyrightText: 2020-2022 Espressif Systems (Shanghai) CO LTD
|
||||
* SPDX-FileCopyrightText: 2020-2024 Espressif Systems (Shanghai) CO LTD
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
/* GPIOs used to connect an external USB PHY */
|
||||
/*
|
||||
Note: These macros are deprecated. When connecting USB OTG to an external FSLS
|
||||
PHY, the FSLS Serial Interface signals can be routed to any GPIO via the GPIO
|
||||
matrix. Thus, these macros are meaningless.
|
||||
|
||||
Todo: Remove in IDF v6.0 (IDF-9029)
|
||||
*/
|
||||
#define USBPHY_VP_NUM 42
|
||||
#define USBPHY_VM_NUM 41
|
||||
#define USBPHY_RCV_NUM 21
|
||||
|
Reference in New Issue
Block a user