risc-v/esp32c3: Rename legacy approach esp32c3 as esp32c3-legacy

This commit is contained in:
Eren Terzioglu
2024-01-04 14:20:50 +03:00
committed by Alin Jerpelea
parent 4c4d62ff93
commit c8d7c81cb9
275 changed files with 553 additions and 553 deletions
+15 -15
View File
@@ -304,20 +304,20 @@ config ARCH_FAMILY
config ARCH_CHIP
string
default "fe310" if ARCH_CHIP_FE310
default "k210" if ARCH_CHIP_K210
default "litex" if ARCH_CHIP_LITEX
default "bl602" if ARCH_CHIP_BL602
default "esp32c3" if ARCH_CHIP_ESP32C3
default "espressif" if ARCH_CHIP_ESPRESSIF
default "c906" if ARCH_CHIP_C906
default "mpfs" if ARCH_CHIP_MPFS
default "rv32m1" if ARCH_CHIP_RV32M1
default "qemu-rv" if ARCH_CHIP_QEMU_RV
default "hpm6750" if ARCH_CHIP_HPM6750
default "jh7110" if ARCH_CHIP_JH7110
default "bl808" if ARCH_CHIP_BL808
default "k230" if ARCH_CHIP_K230
default "fe310" if ARCH_CHIP_FE310
default "k210" if ARCH_CHIP_K210
default "litex" if ARCH_CHIP_LITEX
default "bl602" if ARCH_CHIP_BL602
default "esp32c3-legacy" if ARCH_CHIP_ESP32C3
default "espressif" if ARCH_CHIP_ESPRESSIF
default "c906" if ARCH_CHIP_C906
default "mpfs" if ARCH_CHIP_MPFS
default "rv32m1" if ARCH_CHIP_RV32M1
default "qemu-rv" if ARCH_CHIP_QEMU_RV
default "hpm6750" if ARCH_CHIP_HPM6750
default "jh7110" if ARCH_CHIP_JH7110
default "bl808" if ARCH_CHIP_BL808
default "k230" if ARCH_CHIP_K230
config ARCH_RISCV_INTXCPT_EXTENSIONS
bool "RISC-V Integer Context Extensions"
@@ -458,7 +458,7 @@ if ARCH_CHIP_BL602
source "arch/risc-v/src/bl602/Kconfig"
endif
if ARCH_CHIP_ESP32C3
source "arch/risc-v/src/esp32c3/Kconfig"
source "arch/risc-v/src/esp32c3-legacy/Kconfig"
endif
if ARCH_CHIP_ESPRESSIF
source "arch/risc-v/src/espressif/Kconfig"
@@ -1,5 +1,5 @@
/****************************************************************************
* arch/risc-v/include/esp32c3/chip.h
* arch/risc-v/include/esp32c3-legacy/chip.h
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
@@ -18,8 +18,8 @@
*
****************************************************************************/
#ifndef __ARCH_RISCV_INCLUDE_ESP32C3_CHIP_H
#define __ARCH_RISCV_INCLUDE_ESP32C3_CHIP_H
#ifndef __ARCH_RISCV_INCLUDE_ESP32C3_LEGACY_CHIP_H
#define __ARCH_RISCV_INCLUDE_ESP32C3_LEGACY_CHIP_H
/****************************************************************************
* Included Files
@@ -35,4 +35,4 @@
#define ESP32C3_NGPIOS 22 /* GPIO0-21 */
#endif /* __ARCH_RISCV_INCLUDE_ESP32C3_CHIP_H */
#endif /* __ARCH_RISCV_INCLUDE_ESP32C3_LEGACY_CHIP_H */
@@ -1,5 +1,5 @@
/****************************************************************************
* arch/risc-v/include/esp32c3/esp_efuse_table.h
* arch/risc-v/include/esp32c3-legacy/esp_efuse_table.h
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
@@ -1,5 +1,5 @@
/****************************************************************************
* arch/risc-v/include/esp32c3/irq.h
* arch/risc-v/include/esp32c3-legacy/irq.h
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
@@ -1,5 +1,5 @@
############################################################################
# arch/risc-v/src/esp32c3/Bootloader.mk
# arch/risc-v/src/esp32c3-legacy/Bootloader.mk
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
@@ -1144,7 +1144,7 @@ config ESP32C3_USER_IMAGE_OFFSET
endif
source "arch/risc-v/src/esp32c3/Kconfig.security"
source "arch/risc-v/src/esp32c3-legacy/Kconfig.security"
endmenu # Application Image Configuration
@@ -1,5 +1,5 @@
############################################################################
# arch/risc-v/src/esp32c3/Make.defs
# arch/risc-v/src/esp32c3-legacy/Make.defs
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
@@ -1,5 +1,5 @@
/****************************************************************************
* arch/risc-v/src/esp32c3/chip.h
* arch/risc-v/src/esp32c3-legacy/chip.h
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
@@ -1,5 +1,5 @@
/****************************************************************************
* arch/risc-v/src/esp32c3/esp32c3.h
* arch/risc-v/src/esp32c3-legacy/esp32c3.h
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
@@ -18,8 +18,8 @@
*
****************************************************************************/
#ifndef __ARCH_RISCV_SRC_ESP32C3_ESP32C3_H
#define __ARCH_RISCV_SRC_ESP32C3_ESP32C3_H
#ifndef __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_H
#define __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_H
/****************************************************************************
* Included Files
@@ -46,4 +46,4 @@
#endif
#endif /* __ARCH_RISCV_SRC_ESP32C3_ESP32C3_H */
#endif /* __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_H */
@@ -1,5 +1,5 @@
/****************************************************************************
* arch/risc-v/src/esp32c3/esp32c3_adc.c
* arch/risc-v/src/esp32c3-legacy/esp32c3_adc.c
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
@@ -1,5 +1,5 @@
/****************************************************************************
* arch/risc-v/src/esp32c3/esp32c3_adc.h
* arch/risc-v/src/esp32c3-legacy/esp32c3_adc.h
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
@@ -18,8 +18,8 @@
*
****************************************************************************/
#ifndef __ARCH_RISCV_SRC_ESP32C3_ESP32C3_ADC_H
#define __ARCH_RISCV_SRC_ESP32C3_ESP32C3_ADC_H
#ifndef __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_ADC_H
#define __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_ADC_H
/****************************************************************************
* Included Files
@@ -76,4 +76,4 @@ struct adc_dev_s *esp32c3_adc_init(int channel);
#undef EXTERN
#endif /* __ASSEMBLY__ */
#endif /* __ARCH_RISCV_SRC_ESP32C3_ESP32C3_ADC_H */
#endif /* __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_ADC_H */
@@ -1,5 +1,5 @@
/****************************************************************************
* arch/risc-v/src/esp32c3/esp32c3_aes.c
* arch/risc-v/src/esp32c3-legacy/esp32c3_aes.c
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
@@ -1,5 +1,5 @@
/****************************************************************************
* arch/risc-v/src/esp32c3/esp32c3_aes.h
* arch/risc-v/src/esp32c3-legacy/esp32c3_aes.h
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
@@ -22,8 +22,8 @@
* Included Files
****************************************************************************/
#ifndef __ARCH_RISCV_SRC_ESP32C3_ESP32C3_AES_H
#define __ARCH_RISCV_SRC_ESP32C3_ESP32C3_AES_H
#ifndef __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_AES_H
#define __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_AES_H
#include <nuttx/config.h>
#include <stdint.h>
@@ -214,4 +214,4 @@ int esp32c3_aes_init(void);
#undef EXTERN
#endif /* __ASSEMBLY__ */
#endif /* __ARCH_RISCV_SRC_ESP32C3_ESP32C3_AES_H */
#endif /* __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_AES_H */
@@ -1,5 +1,5 @@
/****************************************************************************
* arch/risc-v/src/esp32c3/esp32c3_allocateheap.c
* arch/risc-v/src/esp32c3-legacy/esp32c3_allocateheap.c
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
@@ -88,7 +88,7 @@ void up_allocate_heap(void **heap_start, size_t *heap_size)
#else
/* These values come from the linker scripts
* (<legacy/mcuboot>_sections.ld and flat_memory.ld).
* Check boards/risc-v/esp32c3.
* Check boards/risc-v/esp32c3-legacy.
*/
extern uint8_t _sheap[];
@@ -120,7 +120,7 @@ void up_allocate_kheap(void **heap_start, size_t *heap_size)
{
/* These values come from the linker scripts (kernel-space.ld and
* protected_memory.ld).
* Check boards/risc-v/esp32c3.
* Check boards/risc-v/esp32c3-legacy.
*/
extern uint8_t _sheap[];
@@ -1,5 +1,5 @@
/****************************************************************************
* arch/risc-v/src/esp32c3/esp32c3_attr.h
* arch/risc-v/src/esp32c3-legacy/esp32c3_attr.h
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
@@ -18,8 +18,8 @@
*
****************************************************************************/
#ifndef __ARCH_RISCV_SRC_ESP32C3_ESP32C3_ATTR_H
#define __ARCH_RISCV_SRC_ESP32C3_ESP32C3_ATTR_H
#ifndef __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_ATTR_H
#define __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_ATTR_H
/****************************************************************************
* Pre-processor Definitions
@@ -50,4 +50,4 @@
#define RTC_RODATA_ATTR locate_data(".rtc.rodata")
#endif /* __ARCH_RISCV_SRC_ESP32C3_ESP32C3_ATTR_H */
#endif /* __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_ATTR_H */
@@ -1,5 +1,5 @@
/****************************************************************************
* arch/risc-v/src/esp32c3/esp32c3_bignum.c
* arch/risc-v/src/esp32c3-legacy/esp32c3_bignum.c
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
@@ -1,5 +1,5 @@
/****************************************************************************
* arch/risc-v/src/esp32c3/esp32c3_bignum.h
* arch/risc-v/src/esp32c3-legacy/esp32c3_bignum.h
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
@@ -18,8 +18,8 @@
*
****************************************************************************/
#ifndef __ARCH_RISCV_SRC_ESP32C3_ESP32C3_BIGNUM_H
#define __ARCH_RISCV_SRC_ESP32C3_ESP32C3_BIGNUM_H
#ifndef __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_BIGNUM_H
#define __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_BIGNUM_H
/****************************************************************************
* Included Files
@@ -869,4 +869,4 @@ int esp32c3_mpi_inv_mod(struct esp32c3_mpi_s *X,
#undef EXTERN
#endif /* __ASSEMBLY__ */
#endif /* __ARCH_RISCV_SRC_ESP32C3_ESP32C3_BIGNUM_H */
#endif /* __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_BIGNUM_H */
@@ -1,5 +1,5 @@
/****************************************************************************
* arch/risc-v/src/esp32c3/esp32c3_ble.c
* arch/risc-v/src/esp32c3-legacy/esp32c3_ble.c
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
@@ -1,5 +1,5 @@
/****************************************************************************
* arch/risc-v/src/esp32c3/esp32c3_ble.h
* arch/risc-v/src/esp32c3-legacy/esp32c3_ble.h
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
@@ -18,8 +18,8 @@
*
****************************************************************************/
#ifndef __ARCH_RISCV_SRC_ESP32C3_ESP32C3_BLE_H
#define __ARCH_RISCV_SRC_ESP32C3_ESP32C3_BLE_H
#ifndef __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_BLE_H
#define __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_BLE_H
/****************************************************************************
* Included Files
@@ -47,4 +47,4 @@
int esp32c3_ble_initialize(void);
#endif /* __ARCH_RISCV_SRC_ESP32C3_ESP32C3_BLE_H */
#endif /* __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_BLE_H */
@@ -1,5 +1,5 @@
/****************************************************************************
* arch/risc-v/src/esp32c3/esp32c3_ble_adapter.c
* arch/risc-v/src/esp32c3-legacy/esp32c3_ble_adapter.c
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
@@ -1,5 +1,5 @@
/****************************************************************************
* arch/risc-v/src/esp32c3/esp32c3_ble_adapter.h
* arch/risc-v/src/esp32c3-legacy/esp32c3_ble_adapter.h
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
@@ -18,8 +18,8 @@
*
****************************************************************************/
#ifndef __ARCH_RISCV_SRC_ESP32C3_ESP32C3_BLE_ADAPTER_H
#define __ARCH_RISCV_SRC_ESP32C3_ESP32C3_BLE_ADAPTER_H
#ifndef __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_BLE_ADAPTER_H
#define __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_BLE_ADAPTER_H
/****************************************************************************
* Included Files
@@ -158,4 +158,4 @@ void esp32c3_vhci_host_send_packet(uint8_t *data, uint16_t len);
int esp32c3_vhci_register_callback(
const esp_vhci_host_callback_t *callback);
#endif /* __ARCH_RISCV_SRC_ESP32C3_ESP32C3_BLE_ADAPTER_H */
#endif /* __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_BLE_ADAPTER_H */
@@ -1,5 +1,5 @@
/****************************************************************************
* arch/risc-v/src/esp32c3/esp32c3_brownout.c
* arch/risc-v/src/esp32c3-legacy/esp32c3_brownout.c
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
@@ -1,5 +1,5 @@
/****************************************************************************
* arch/risc-v/src/esp32c3/esp32c3_brownout.h
* arch/risc-v/src/esp32c3-legacy/esp32c3_brownout.h
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
@@ -18,8 +18,8 @@
*
****************************************************************************/
#ifndef __ARCH_RISCV_SRC_ESP32C3_ESP32C3_BROWNOUT_H
#define __ARCH_RISCV_SRC_ESP32C3_ESP32C3_BROWNOUT_H
#ifndef __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_BROWNOUT_H
#define __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_BROWNOUT_H
/****************************************************************************
* Included Files
@@ -62,4 +62,4 @@ void esp32c3_brownout_init(void);
#endif /* __ASSEMBLY__ */
#endif /* __ARCH_RISCV_SRC_ESP32C3_ESP32C3_BROWNOUT_H */
#endif /* __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_BROWNOUT_H */
@@ -1,5 +1,5 @@
/****************************************************************************
* arch/risc-v/src/esp32c3/esp32c3_clockconfig.c
* arch/risc-v/src/esp32c3-legacy/esp32c3_clockconfig.c
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
@@ -1,5 +1,5 @@
/****************************************************************************
* arch/risc-v/src/esp32c3/esp32c3_clockconfig.h
* arch/risc-v/src/esp32c3-legacy/esp32c3_clockconfig.h
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
@@ -18,8 +18,8 @@
*
****************************************************************************/
#ifndef __ARCH_RISCV_SRC_ESP32C3_ESP32C3_CLOCKCONFIG_H
#define __ARCH_RISCV_SRC_ESP32C3_ESP32C3_CLOCKCONFIG_H
#ifndef __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_CLOCKCONFIG_H
#define __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_CLOCKCONFIG_H
/****************************************************************************
* Included Files
@@ -101,4 +101,4 @@ uint32_t IRAM_ATTR esp32c3_cpu_cycle_count(void);
#endif /* __ASSEMBLY__ */
#endif /* __ARCH_RISCV_SRC_ESP32C3_ESP32C3_CLOCKCONFIG_H */
#endif /* __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_CLOCKCONFIG_H */
@@ -1,5 +1,5 @@
/****************************************************************************
* arch/risc-v/src/esp32c3/esp32c3_config.h
* arch/risc-v/src/esp32c3-legacy/esp32c3_config.h
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
@@ -18,8 +18,8 @@
*
****************************************************************************/
#ifndef __ARCH_RISCV_SRC_ESP32C3_ESP32C3_CONFIG_H
#define __ARCH_RISCV_SRC_ESP32C3_ESP32C3_CONFIG_H
#ifndef __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_CONFIG_H
#define __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_CONFIG_H
/****************************************************************************
* Included Files
@@ -68,4 +68,4 @@
# define HAVE_UART_DEVICE 1
#endif
#endif /* __ARCH_RISCV_SRC_ESP32C3_ESP32C3_CONFIG_H */
#endif /* __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_CONFIG_H */
@@ -1,5 +1,5 @@
/****************************************************************************
* arch/risc-v/src/esp32c3/esp32c3_crypto.c
* arch/risc-v/src/esp32c3-legacy/esp32c3_crypto.c
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
@@ -1,5 +1,5 @@
/****************************************************************************
* arch/risc-v/src/esp32c3/esp32c3_dma.c
* arch/risc-v/src/esp32c3-legacy/esp32c3_dma.c
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
@@ -1,5 +1,5 @@
/****************************************************************************
* arch/risc-v/src/esp32c3/esp32c3_dma.h
* arch/risc-v/src/esp32c3-legacy/esp32c3_dma.h
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
@@ -22,8 +22,8 @@
* Included Files
****************************************************************************/
#ifndef __ARCH_RISCV_SRC_ESP32C3_ESP32C3_DMA_H
#define __ARCH_RISCV_SRC_ESP32C3_ESP32C3_DMA_H
#ifndef __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_DMA_H
#define __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_DMA_H
#include <nuttx/config.h>
#include <stdbool.h>
@@ -222,4 +222,4 @@ void esp32c3_dma_init(void);
#undef EXTERN
#endif /* __ASSEMBLY__ */
#endif /* __ARCH_RISCV_SRC_ESP32C3_ESP32C3_DMA_H */
#endif /* __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_DMA_H */
@@ -1,5 +1,5 @@
/****************************************************************************
* arch/risc-v/src/esp32c3/esp32c3_efuse.c
* arch/risc-v/src/esp32c3-legacy/esp32c3_efuse.c
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
@@ -28,7 +28,7 @@
#include <string.h>
#include <sys/param.h>
#include <nuttx/efuse/efuse.h>
#include <arch/esp32c3/chip.h>
#include <arch/esp32c3-legacy/chip.h>
#include "riscv_internal.h"
#include "hardware/esp32c3_soc.h"
@@ -1,5 +1,5 @@
/****************************************************************************
* arch/risc-v/src/esp32c3/esp32c3_efuse.h
* arch/risc-v/src/esp32c3-legacy/esp32c3_efuse.h
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
@@ -18,8 +18,8 @@
*
****************************************************************************/
#ifndef __ARCH_RISCV_SRC_ESP32C3_ESP32C3_EFUSE_H
#define __ARCH_RISCV_SRC_ESP32C3_ESP32C3_EFUSE_H
#ifndef __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_EFUSE_H
#define __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_EFUSE_H
/****************************************************************************
* Included Files
@@ -186,4 +186,4 @@ int esp32c3_efuse_initialize(const char *devpath);
#undef EXTERN
#endif /* __ASSEMBLY__ */
#endif /* __ARCH_RISCV_SRC_ESP32C3_ESP32C3_EFUSE_H */
#endif /* __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_EFUSE_H */
@@ -1,5 +1,5 @@
/****************************************************************************
* arch/risc-v/src/esp32c3/esp32c3_efuse_lowerhalf.c
* arch/risc-v/src/esp32c3-legacy/esp32c3_efuse_lowerhalf.c
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
@@ -1,5 +1,5 @@
/****************************************************************************
* arch/risc-v/src/esp32c3/esp32c3_efuse_table.c
* arch/risc-v/src/esp32c3-legacy/esp32c3_efuse_table.c
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
@@ -1,5 +1,5 @@
/****************************************************************************
* arch/risc-v/src/esp32c3/esp32c3_extraheaps.c
* arch/risc-v/src/esp32c3-legacy/esp32c3_extraheaps.c
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
@@ -1,5 +1,5 @@
/****************************************************************************
* arch/risc-v/src/esp32c3/esp32c3_freerun.c
* arch/risc-v/src/esp32c3-legacy/esp32c3_freerun.c
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
@@ -1,5 +1,5 @@
/****************************************************************************
* arch/risc-v/src/esp32c3/esp32c3_freerun.h
* arch/risc-v/src/esp32c3-legacy/esp32c3_freerun.h
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
@@ -18,8 +18,8 @@
*
****************************************************************************/
#ifndef __ARCH_RISCV_SRC_ESP32C3_ESP32C3_FREERUN_H
#define __ARCH_RISCV_SRC_ESP32C3_ESP32C3_FREERUN_H
#ifndef __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_FREERUN_H
#define __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_FREERUN_H
/****************************************************************************
* Included Files
@@ -142,4 +142,4 @@ int esp32c3_freerun_uninitialize(struct esp32c3_freerun_s *freerun);
#endif
#endif /* CONFIG_ESP32C3_FREERUN */
#endif /* __ARCH_RISCV_SRC_ESP32C3_ESP32C3_FREERUN_H */
#endif /* __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_FREERUN_H */
@@ -1,5 +1,5 @@
/****************************************************************************
* arch/risc-v/src/esp32c3/esp32c3_gpio.c
* arch/risc-v/src/esp32c3-legacy/esp32c3_gpio.c
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
@@ -32,7 +32,7 @@
#include <nuttx/arch.h>
#include <nuttx/irq.h>
#include <arch/irq.h>
#include <arch/esp32c3/chip.h>
#include <arch/esp32c3-legacy/chip.h>
#include "riscv_internal.h"
#ifdef CONFIG_ESP32C3_GPIO_IRQ
@@ -1,5 +1,5 @@
/****************************************************************************
* arch/risc-v/src/esp32c3/esp32c3_gpio.h
* arch/risc-v/src/esp32c3-legacy/esp32c3_gpio.h
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
@@ -18,8 +18,8 @@
*
****************************************************************************/
#ifndef __ARCH_RISCV_SRC_ESP32C3_ESP32C3_GPIO_H
#define __ARCH_RISCV_SRC_ESP32C3_ESP32C3_GPIO_H
#ifndef __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_GPIO_H
#define __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_GPIO_H
/****************************************************************************
* Included Files
@@ -222,4 +222,4 @@ void esp32c3_gpioirqdisable(int irq);
#undef EXTERN
#endif /* __ASSEMBLY__ */
#endif /* __ARCH_RISCV_SRC_ESP32C3_ESP32C3_GPIO_H */
#endif /* __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_GPIO_H */
@@ -1,5 +1,5 @@
/****************************************************************************
* arch/risc-v/src/esp32c3/esp32c3_head.S
* arch/risc-v/src/esp32c3-legacy/esp32c3_head.S
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
@@ -1,5 +1,5 @@
/****************************************************************************
* arch/risc-v/src/esp32c3/esp32c3_i2c.c
* arch/risc-v/src/esp32c3-legacy/esp32c3_i2c.c
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
@@ -1,5 +1,5 @@
/****************************************************************************
* arch/risc-v/src/esp32c3/esp32c3_i2c.h
* arch/risc-v/src/esp32c3-legacy/esp32c3_i2c.h
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
@@ -22,8 +22,8 @@
* Included Files
****************************************************************************/
#ifndef __ARCH_RISCV_SRC_ESP32C3_ESP32C3_I2C_H
#define __ARCH_RISCV_SRC_ESP32C3_ESP32C3_I2C_H
#ifndef __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_I2C_H
#define __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_I2C_H
/****************************************************************************
* Included Files
@@ -91,4 +91,4 @@ int esp32c3_i2cbus_uninitialize(struct i2c_master_s *dev);
#undef EXTERN
#endif /* __ASSEMBLY__ */
#endif /* __ARCH_RISCV_SRC_ESP32C3_ESP32C3_I2C_H */
#endif /* __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_I2C_H */
@@ -1,5 +1,5 @@
/****************************************************************************
* arch/risc-v/src/esp32c3/esp32c3_idle.c
* arch/risc-v/src/esp32c3-legacy/esp32c3_idle.c
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
@@ -1,5 +1,5 @@
/****************************************************************************
* arch/risc-v/src/esp32c3/esp32c3_irq.c
* arch/risc-v/src/esp32c3-legacy/esp32c3_irq.c
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
@@ -1,5 +1,5 @@
/****************************************************************************
* arch/risc-v/src/esp32c3/esp32c3_irq.h
* arch/risc-v/src/esp32c3-legacy/esp32c3_irq.h
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
@@ -18,8 +18,8 @@
*
****************************************************************************/
#ifndef __ARCH_RISCV_SRC_ESP32C3_ESP32C3_IRQ_H
#define __ARCH_RISCV_SRC_ESP32C3_ESP32C3_IRQ_H
#ifndef __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_IRQ_H
#define __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_IRQ_H
/****************************************************************************
* Included Files
@@ -143,4 +143,4 @@ void esp32c3_teardown_irq(int periphid, int cpuint);
#endif
#endif /* __ASSEMBLY__ */
#endif /* __ARCH_RISCV_SRC_ESP32C3_ESP32C3_IRQ_H */
#endif /* __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_IRQ_H */
@@ -1,5 +1,5 @@
/****************************************************************************
* arch/risc-v/src/esp32c3/esp32c3_ledc.c
* arch/risc-v/src/esp32c3-legacy/esp32c3_ledc.c
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
@@ -1,5 +1,5 @@
/****************************************************************************
* arch/risc-v/src/esp32c3/esp32c3_ledc.h
* arch/risc-v/src/esp32c3-legacy/esp32c3_ledc.h
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
@@ -18,8 +18,8 @@
*
****************************************************************************/
#ifndef __ARCH_RISCV_SRC_ESP32C3_ESP32C3_LEDC_H
#define __ARCH_RISCV_SRC_ESP32C3_ESP32C3_LEDC_H
#ifndef __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_LEDC_H
#define __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_LEDC_H
/****************************************************************************
* Included Files
@@ -49,4 +49,4 @@
struct pwm_lowerhalf_s *esp32c3_ledc_init(int timer);
#endif /* __ARCH_RISCV_SRC_ESP32C3_ESP32C3_LEDC_H */
#endif /* __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_LEDC_H */
@@ -1,5 +1,5 @@
/****************************************************************************
* arch/risc-v/src/esp32c3/esp32c3_libc_stubs.c
* arch/risc-v/src/esp32c3-legacy/esp32c3_libc_stubs.c
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
@@ -1,5 +1,5 @@
/****************************************************************************
* arch/risc-v/src/esp32c3/esp32c3_lowputc.c
* arch/risc-v/src/esp32c3-legacy/esp32c3_lowputc.c
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with

Some files were not shown because too many files have changed in this diff Show More