mirror of
https://github.com/apache/nuttx.git
synced 2026-05-31 23:40:19 +08:00
risc-v/esp32c3: Fix erroneous references to ESP32-C3
This commit is contained in:
committed by
Xiang Xiao
parent
62321fa5db
commit
48ff647fe9
@@ -60,4 +60,4 @@
|
|||||||
# undef CONFIG_UART1_SERIAL_CONSOLE
|
# undef CONFIG_UART1_SERIAL_CONSOLE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /* __ARCH_XTENSA_SRC_ESP32C3_ESP32C3_CONFIG_H */
|
#endif /* __ARCH_RISCV_SRC_ESP32C3_ESP32C3_CONFIG_H */
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* arch/risc-v/src/esp32/esp32c3_gpio.h
|
* arch/risc-v/src/esp32c3/esp32c3_gpio.h
|
||||||
*
|
*
|
||||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||||
* contributor license agreements. See the NOTICE file distributed with
|
* contributor license agreements. See the NOTICE file distributed with
|
||||||
|
|||||||
@@ -352,7 +352,7 @@ static int esp32c3_attach(struct uart_dev_s *dev)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Name: esp32_detach
|
* Name: esp32c3_detach
|
||||||
*
|
*
|
||||||
* Description:
|
* Description:
|
||||||
* Detach UART interrupts. This method is called when the serial port is
|
* Detach UART interrupts. This method is called when the serial port is
|
||||||
|
|||||||
@@ -18,8 +18,8 @@
|
|||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#ifndef __ARCH_XTENSA_SRC_ESP32_HARDWARE_ESP32_GPIO_H
|
#ifndef __ARCH_RISCV_SRC_ESP32C3_HARDWARE_ESP32C3_GPIO_H
|
||||||
#define __ARCH_XTENSA_SRC_ESP32_HARDWARE_ESP32_GPIO_H
|
#define __ARCH_RISCV_SRC_ESP32C3_HARDWARE_ESP32C3_GPIO_H
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Included Files
|
* Included Files
|
||||||
@@ -5311,4 +5311,4 @@
|
|||||||
#define GPIO_DATE_V 0xfffffff
|
#define GPIO_DATE_V 0xfffffff
|
||||||
#define GPIO_DATE_S 0
|
#define GPIO_DATE_S 0
|
||||||
|
|
||||||
#endif /* __ARCH_XTENSA_SRC_ESP32_HARDWARE_ESP32_GPIO_H */
|
#endif /* __ARCH_RISCV_SRC_ESP32C3_HARDWARE_ESP32C3_GPIO_H */
|
||||||
|
|||||||
@@ -18,8 +18,8 @@
|
|||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#ifndef __ARCH_RISCV_SRC_ESP32_HARDWARE_ESP32_GPIO_SIGMAP_H
|
#ifndef __ARCH_RISCV_SRC_ESP32C3_HARDWARE_ESP32C3_GPIO_SIGMAP_H
|
||||||
#define __ARCH_RISCV_SRC_ESP32_HARDWARE_ESP32_GPIO_SIGMAP_H
|
#define __ARCH_RISCV_SRC_ESP32C3_HARDWARE_ESP32C3_GPIO_SIGMAP_H
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Pre-processor Definitions
|
* Pre-processor Definitions
|
||||||
@@ -193,4 +193,4 @@
|
|||||||
#define SIG_GPIO_OUT_IDX 128
|
#define SIG_GPIO_OUT_IDX 128
|
||||||
#define GPIO_MAP_DATE_IDX 0x2006130
|
#define GPIO_MAP_DATE_IDX 0x2006130
|
||||||
|
|
||||||
#endif /* __ARCH_RISCV_SRC_ESP32_HARDWARE_ESP32_GPIO_SIGMAP_H */
|
#endif /* __ARCH_RISCV_SRC_ESP32C3_HARDWARE_ESP32C3_GPIO_SIGMAP_H */
|
||||||
|
|||||||
@@ -18,8 +18,8 @@
|
|||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#ifndef __ARCH_RISCV_SRC_ESP32_HARDWARE_ESP32_IOMUX_H
|
#ifndef __ARCH_RISCV_SRC_ESP32C3_HARDWARE_ESP32C3_IOMUX_H
|
||||||
#define __ARCH_RISCV_SRC_ESP32_HARDWARE_ESP32_IOMUX_H
|
#define __ARCH_RISCV_SRC_ESP32C3_HARDWARE_ESP32C3_IOMUX_H
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Included Files
|
* Included Files
|
||||||
@@ -307,4 +307,4 @@
|
|||||||
#define IO_MUX_DATE_S 0
|
#define IO_MUX_DATE_S 0
|
||||||
#define IO_MUX_DATE_VERSION 0x2006050
|
#define IO_MUX_DATE_VERSION 0x2006050
|
||||||
|
|
||||||
#endif
|
#endif /* __ARCH_RISCV_SRC_ESP32C3_HARDWARE_ESP32C3_IOMUX_H */
|
||||||
|
|||||||
Reference in New Issue
Block a user