mirror of
https://github.com/espressif/esp-idf.git
synced 2025-09-21 08:34:47 +00:00
uart: Add support for esp32h2
This commit is contained in:
@@ -1,13 +1,12 @@
|
||||
/*
|
||||
* SPDX-FileCopyrightText: 2022 Espressif Systems (Shanghai) CO LTD
|
||||
* SPDX-FileCopyrightText: 2022-2023 Espressif Systems (Shanghai) CO LTD
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
// This file defines GPIO lookup macros for available UART IO_MUX pins on ESP32C3.
|
||||
// This file defines GPIO lookup macros for available UART IO_MUX pins on ESP32H2.
|
||||
|
||||
#ifndef _SOC_UART_CHANNEL_H
|
||||
#define _SOC_UART_CHANNEL_H
|
||||
#pragma once
|
||||
|
||||
//UART channels
|
||||
#define UART_GPIO24_DIRECT_CHANNEL UART_NUM_0
|
||||
@@ -17,5 +16,3 @@
|
||||
|
||||
#define UART_TXD_GPIO24_DIRECT_CHANNEL UART_GPIO24_DIRECT_CHANNEL
|
||||
#define UART_RXD_GPIO23_DIRECT_CHANNEL UART_GPIO23_DIRECT_CHANNEL
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user