doc: update usb pins and provide a note in api-reference/uart

Closes https://github.com/espressif/esp-idf/issues/8811

Signed-off-by: Ivan Grokhotkov <ivan@espressif.com>
This commit is contained in:
Wang Fang 2021-12-28 18:33:18 +08:00 committed by Ivan Grokhotkov
parent a615fccd01
commit 70c336963b
No known key found for this signature in database
GPG Key ID: 1E050E141B280628
2 changed files with 6 additions and 2 deletions

View File

@ -13,14 +13,17 @@ Note that, in contrast with the USB OTG peripheral found in some Espressif chips
Hardware Requirements
=====================
{IDF_TARGET_USB_DP_GPIO:default="Not Updated!",esp32c3="19",esp32s3="20"}
{IDF_TARGET_USB_DM_GPIO:default="Not Updated!",esp32c3="18",esp32s3="19"}
Connect {IDF_TARGET_NAME} to the USB port as follows:
+------+-------------+
| GPIO | USB |
+======+=============+
| 19 | D+ (green) |
| {IDF_TARGET_USB_DP_GPIO} | D+ (green) |
+------+-------------+
| 18 | D- (white) |
| {IDF_TARGET_USB_DM_GPIO} | D- (white) |
+------+-------------+
| GND | GND (black) |
+------+-------------+

View File

@ -62,6 +62,7 @@ Call the function :cpp:func:`uart_param_config` and pass to it a :cpp:type:`uart
// Configure UART parameters
ESP_ERROR_CHECK(uart_param_config(uart_num, &uart_config));
For more information on how to configure the hardware flow control options, please refer to :example:`peripherals/uart/uart_echo`.
Multiple Steps
""""""""""""""