You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by je...@apache.org on 2024/01/30 07:32:13 UTC

(nuttx) 03/08: risc-v/esp32c3: Rename legacy approach esp32c3 as esp32c3-legacy

This is an automated email from the ASF dual-hosted git repository.

jerpelea pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git

commit c8d7c81cb93148835b1eb3531428c640071123b4
Author: Eren Terzioglu <er...@espressif.com>
AuthorDate: Thu Jan 4 14:20:50 2024 +0300

    risc-v/esp32c3: Rename legacy approach esp32c3 as esp32c3-legacy
---
 arch/risc-v/Kconfig                                | 30 +++++++++++-----------
 .../include/{esp32c3 => esp32c3-legacy}/chip.h     |  8 +++---
 .../{esp32c3 => esp32c3-legacy}/esp_efuse_table.h  |  2 +-
 .../include/{esp32c3 => esp32c3-legacy}/irq.h      |  2 +-
 .../src/{esp32c3 => esp32c3-legacy}/.gitignore     |  0
 .../src/{esp32c3 => esp32c3-legacy}/Bootloader.mk  |  2 +-
 .../risc-v/src/{esp32c3 => esp32c3-legacy}/Kconfig |  2 +-
 .../{esp32c3 => esp32c3-legacy}/Kconfig.security   |  0
 .../src/{esp32c3 => esp32c3-legacy}/Make.defs      |  2 +-
 arch/risc-v/src/{esp32c3 => esp32c3-legacy}/chip.h |  2 +-
 .../src/{esp32c3 => esp32c3-legacy}/esp32c3.h      |  8 +++---
 .../src/{esp32c3 => esp32c3-legacy}/esp32c3_adc.c  |  2 +-
 .../src/{esp32c3 => esp32c3-legacy}/esp32c3_adc.h  |  8 +++---
 .../src/{esp32c3 => esp32c3-legacy}/esp32c3_aes.c  |  2 +-
 .../src/{esp32c3 => esp32c3-legacy}/esp32c3_aes.h  |  8 +++---
 .../esp32c3_allocateheap.c                         |  6 ++---
 .../src/{esp32c3 => esp32c3-legacy}/esp32c3_attr.h |  8 +++---
 .../{esp32c3 => esp32c3-legacy}/esp32c3_bignum.c   |  2 +-
 .../{esp32c3 => esp32c3-legacy}/esp32c3_bignum.h   |  8 +++---
 .../src/{esp32c3 => esp32c3-legacy}/esp32c3_ble.c  |  2 +-
 .../src/{esp32c3 => esp32c3-legacy}/esp32c3_ble.h  |  8 +++---
 .../esp32c3_ble_adapter.c                          |  2 +-
 .../esp32c3_ble_adapter.h                          |  8 +++---
 .../{esp32c3 => esp32c3-legacy}/esp32c3_brownout.c |  2 +-
 .../{esp32c3 => esp32c3-legacy}/esp32c3_brownout.h |  8 +++---
 .../esp32c3_clockconfig.c                          |  2 +-
 .../esp32c3_clockconfig.h                          |  8 +++---
 .../{esp32c3 => esp32c3-legacy}/esp32c3_config.h   |  8 +++---
 .../{esp32c3 => esp32c3-legacy}/esp32c3_crypto.c   |  2 +-
 .../src/{esp32c3 => esp32c3-legacy}/esp32c3_dma.c  |  2 +-
 .../src/{esp32c3 => esp32c3-legacy}/esp32c3_dma.h  |  8 +++---
 .../{esp32c3 => esp32c3-legacy}/esp32c3_efuse.c    |  4 +--
 .../{esp32c3 => esp32c3-legacy}/esp32c3_efuse.h    |  8 +++---
 .../esp32c3_efuse_lowerhalf.c                      |  2 +-
 .../esp32c3_efuse_table.c                          |  2 +-
 .../esp32c3_extraheaps.c                           |  2 +-
 .../{esp32c3 => esp32c3-legacy}/esp32c3_freerun.c  |  2 +-
 .../{esp32c3 => esp32c3-legacy}/esp32c3_freerun.h  |  8 +++---
 .../src/{esp32c3 => esp32c3-legacy}/esp32c3_gpio.c |  4 +--
 .../src/{esp32c3 => esp32c3-legacy}/esp32c3_gpio.h |  8 +++---
 .../src/{esp32c3 => esp32c3-legacy}/esp32c3_head.S |  2 +-
 .../src/{esp32c3 => esp32c3-legacy}/esp32c3_i2c.c  |  2 +-
 .../src/{esp32c3 => esp32c3-legacy}/esp32c3_i2c.h  |  8 +++---
 .../src/{esp32c3 => esp32c3-legacy}/esp32c3_idle.c |  2 +-
 .../src/{esp32c3 => esp32c3-legacy}/esp32c3_irq.c  |  2 +-
 .../src/{esp32c3 => esp32c3-legacy}/esp32c3_irq.h  |  8 +++---
 .../src/{esp32c3 => esp32c3-legacy}/esp32c3_ledc.c |  2 +-
 .../src/{esp32c3 => esp32c3-legacy}/esp32c3_ledc.h |  8 +++---
 .../esp32c3_libc_stubs.c                           |  2 +-
 .../{esp32c3 => esp32c3-legacy}/esp32c3_lowputc.c  |  2 +-
 .../{esp32c3 => esp32c3-legacy}/esp32c3_lowputc.h  |  8 +++---
 .../esp32c3_memorymap.h                            |  8 +++---
 .../{esp32c3 => esp32c3-legacy}/esp32c3_oneshot.c  |  2 +-
 .../{esp32c3 => esp32c3-legacy}/esp32c3_oneshot.h  |  8 +++---
 .../esp32c3_oneshot_lowerhalf.c                    |  2 +-
 .../esp32c3_partition.c                            |  2 +-
 .../esp32c3_partition.h                            |  8 +++---
 .../src/{esp32c3 => esp32c3-legacy}/esp32c3_perf.c |  2 +-
 .../src/{esp32c3 => esp32c3-legacy}/esp32c3_pm.c   |  2 +-
 .../src/{esp32c3 => esp32c3-legacy}/esp32c3_pm.h   |  8 +++---
 .../esp32c3_pminitialize.c                         |  2 +-
 .../{esp32c3 => esp32c3-legacy}/esp32c3_region.c   |  2 +-
 .../{esp32c3 => esp32c3-legacy}/esp32c3_region.h   |  8 +++---
 .../esp32c3_resetcause.c                           |  2 +-
 .../esp32c3_resetcause.h                           |  2 +-
 .../src/{esp32c3 => esp32c3-legacy}/esp32c3_rng.c  |  2 +-
 .../src/{esp32c3 => esp32c3-legacy}/esp32c3_rsa.c  |  2 +-
 .../src/{esp32c3 => esp32c3-legacy}/esp32c3_rsa.h  |  8 +++---
 .../{esp32c3 => esp32c3-legacy}/esp32c3_rt_timer.c |  2 +-
 .../{esp32c3 => esp32c3-legacy}/esp32c3_rt_timer.h |  8 +++---
 .../src/{esp32c3 => esp32c3-legacy}/esp32c3_rtc.c  |  2 +-
 .../src/{esp32c3 => esp32c3-legacy}/esp32c3_rtc.h  |  8 +++---
 .../{esp32c3 => esp32c3-legacy}/esp32c3_rtc_gpio.c |  2 +-
 .../{esp32c3 => esp32c3-legacy}/esp32c3_rtc_gpio.h |  8 +++---
 .../esp32c3_rtc_lowerhalf.c                        |  2 +-
 .../esp32c3_rtc_lowerhalf.h                        |  8 +++---
 .../{esp32c3 => esp32c3-legacy}/esp32c3_rtcheap.c  |  4 +--
 .../{esp32c3 => esp32c3-legacy}/esp32c3_rtcheap.h  |  8 +++---
 .../{esp32c3 => esp32c3-legacy}/esp32c3_serial.c   |  2 +-
 .../src/{esp32c3 => esp32c3-legacy}/esp32c3_sha.c  |  2 +-
 .../src/{esp32c3 => esp32c3-legacy}/esp32c3_sha.h  |  8 +++---
 .../src/{esp32c3 => esp32c3-legacy}/esp32c3_spi.c  |  2 +-
 .../src/{esp32c3 => esp32c3-legacy}/esp32c3_spi.h  |  8 +++---
 .../esp32c3_spi_slave.c                            |  2 +-
 .../{esp32c3 => esp32c3-legacy}/esp32c3_spiflash.c |  2 +-
 .../{esp32c3 => esp32c3-legacy}/esp32c3_spiflash.h |  8 +++---
 .../esp32c3_spiflash_mtd.c                         |  2 +-
 .../esp32c3_spiflash_mtd.h                         |  8 +++---
 .../{esp32c3 => esp32c3-legacy}/esp32c3_start.c    |  2 +-
 .../{esp32c3 => esp32c3-legacy}/esp32c3_start.h    |  8 +++---
 .../esp32c3_systemreset.c                          |  2 +-
 .../esp32c3_systemreset.h                          |  8 +++---
 .../{esp32c3 => esp32c3-legacy}/esp32c3_textheap.c |  2 +-
 .../{esp32c3 => esp32c3-legacy}/esp32c3_tickless.c |  2 +-
 .../{esp32c3 => esp32c3-legacy}/esp32c3_tickless.h |  8 +++---
 .../src/{esp32c3 => esp32c3-legacy}/esp32c3_tim.c  |  2 +-
 .../src/{esp32c3 => esp32c3-legacy}/esp32c3_tim.h  |  8 +++---
 .../esp32c3_tim_lowerhalf.c                        |  2 +-
 .../esp32c3_tim_lowerhalf.h                        |  8 +++---
 .../{esp32c3 => esp32c3-legacy}/esp32c3_timerisr.c |  2 +-
 .../src/{esp32c3 => esp32c3-legacy}/esp32c3_twai.c |  2 +-
 .../src/{esp32c3 => esp32c3-legacy}/esp32c3_twai.h |  8 +++---
 .../src/{esp32c3 => esp32c3-legacy}/esp32c3_uid.c  |  2 +-
 .../src/{esp32c3 => esp32c3-legacy}/esp32c3_uid.h  |  8 +++---
 .../esp32c3_usbserial.c                            |  2 +-
 .../esp32c3_usbserial.h                            |  8 +++---
 .../esp32c3_userspace.c                            |  2 +-
 .../esp32c3_userspace.h                            |  8 +++---
 .../{esp32c3 => esp32c3-legacy}/esp32c3_vectors.S  |  4 +--
 .../src/{esp32c3 => esp32c3-legacy}/esp32c3_wdt.c  |  2 +-
 .../src/{esp32c3 => esp32c3-legacy}/esp32c3_wdt.h  |  8 +++---
 .../esp32c3_wdt_lowerhalf.c                        |  2 +-
 .../esp32c3_wdt_lowerhalf.h                        |  8 +++---
 .../esp32c3_wifi_adapter.c                         |  2 +-
 .../esp32c3_wifi_adapter.h                         |  8 +++---
 .../esp32c3_wifi_utils.c                           |  2 +-
 .../esp32c3_wifi_utils.h                           |  8 +++---
 .../{esp32c3 => esp32c3-legacy}/esp32c3_wireless.c |  2 +-
 .../{esp32c3 => esp32c3-legacy}/esp32c3_wireless.h |  8 +++---
 .../src/{esp32c3 => esp32c3-legacy}/esp32c3_wlan.c |  2 +-
 .../src/{esp32c3 => esp32c3-legacy}/esp32c3_wlan.h |  8 +++---
 .../hardware/apb_ctrl_reg.h                        |  8 +++---
 .../{esp32c3 => esp32c3-legacy}/hardware/bb_reg.h  |  8 +++---
 .../hardware/esp32c3_aes.h                         |  8 +++---
 .../hardware/esp32c3_cache_memory.h                |  8 +++---
 .../hardware/esp32c3_dma.h                         |  8 +++---
 .../hardware/esp32c3_efuse.h                       |  8 +++---
 .../hardware/esp32c3_gpio.h                        |  8 +++---
 .../hardware/esp32c3_gpio_sigmap.h                 |  8 +++---
 .../hardware/esp32c3_i2c.h                         |  8 +++---
 .../hardware/esp32c3_interrupt.h                   |  8 +++---
 .../hardware/esp32c3_iomux.h                       |  8 +++---
 .../hardware/esp32c3_ledc.h                        |  8 +++---
 .../hardware/esp32c3_memorymap.h                   |  8 +++---
 .../hardware/esp32c3_pinmap.h                      |  8 +++---
 .../hardware/esp32c3_rom_layout.h                  |  8 +++---
 .../hardware/esp32c3_rsa.h                         |  8 +++---
 .../hardware/esp32c3_rtccntl.h                     |  8 +++---
 .../hardware/esp32c3_saradc.h                      |  8 +++---
 .../hardware/esp32c3_sha.h                         |  8 +++---
 .../hardware/esp32c3_soc.h                         |  8 +++---
 .../hardware/esp32c3_spi.h                         |  8 +++---
 .../hardware/esp32c3_syscon.h                      |  8 +++---
 .../hardware/esp32c3_system.h                      |  8 +++---
 .../hardware/esp32c3_systimer.h                    |  8 +++---
 .../hardware/esp32c3_tim.h                         |  8 +++---
 .../hardware/esp32c3_twai.h                        |  8 +++---
 .../hardware/esp32c3_uart.h                        |  8 +++---
 .../hardware/esp32c3_usb_serial_jtag.h             |  8 +++---
 .../hardware/extmem_reg.h                          |  8 +++---
 .../{esp32c3 => esp32c3-legacy}/hardware/fe_reg.h  |  8 +++---
 .../{esp32c3 => esp32c3-legacy}/hardware/nrx_reg.h |  8 +++---
 .../hardware/regi2c_bbpll.h                        |  8 +++---
 .../hardware/regi2c_brownout.h                     |  8 +++---
 .../hardware/regi2c_ctrl.h                         |  8 +++---
 .../hardware/regi2c_dig_reg.h                      |  8 +++---
 .../hardware/regi2c_lp_bias.h                      |  8 +++---
 .../hardware/regi2c_saradc.h                       |  8 +++---
 .../hardware/spi_mem_reg.h                         |  8 +++---
 .../hardware/wdev_reg.h                            |  8 +++---
 .../rom/esp32c3_libc_stubs.h                       |  8 +++---
 .../rom/esp32c3_spiflash.h                         |  2 +-
 boards/Kconfig                                     |  6 ++---
 .../{esp32c3 => esp32c3-legacy}/common/.gitignore  |  0
 .../{esp32c3 => esp32c3-legacy}/common/Kconfig     |  0
 .../{esp32c3 => esp32c3-legacy}/common/Makefile    |  2 +-
 .../common/include/esp32c3_board_adc.h             |  2 +-
 .../common/include/esp32c3_board_apds9960.h        |  2 +-
 .../common/include/esp32c3_board_bmp180.h          |  2 +-
 .../common/include/esp32c3_board_i2c.h             |  2 +-
 .../common/include/esp32c3_board_ledc.h            |  2 +-
 .../common/include/esp32c3_board_mpu60x0_i2c.h     |  2 +-
 .../common/include/esp32c3_board_oneshot.h         |  2 +-
 .../common/include/esp32c3_board_spidev.h          |  2 +-
 .../common/include/esp32c3_board_spiflash.h        |  2 +-
 .../common/include/esp32c3_board_spislavedev.h     |  2 +-
 .../common/include/esp32c3_board_twai.h            |  2 +-
 .../common/include/esp32c3_board_wdt.h             |  2 +-
 .../common/include/esp32c3_board_wlan.h            |  2 +-
 .../common/kernel/Makefile                         |  2 +-
 .../common/kernel/esp32c3_userspace.c              |  0
 .../common/scripts/.gitignore                      |  0
 .../common/scripts/esp32c3_aliases.ld              |  2 +-
 .../common/scripts/esp32c3_rom.ld                  |  2 +-
 .../common/scripts/flat_memory.ld                  |  2 +-
 .../common/scripts/kernel-space.ld                 |  2 +-
 .../common/scripts/legacy_sections.ld              |  2 +-
 .../common/scripts/mcuboot_sections.ld             |  2 +-
 .../common/scripts/protected_memory.ld             |  2 +-
 .../common/scripts/user-space.ld                   |  2 +-
 .../common/src/Make.defs                           |  2 +-
 .../common/src/esp32c3_board_adc.c                 |  2 +-
 .../common/src/esp32c3_board_apa102.c              |  2 +-
 .../common/src/esp32c3_board_apds9960.c            |  2 +-
 .../common/src/esp32c3_board_bmp180.c              |  2 +-
 .../common/src/esp32c3_board_gc9a01.c              |  2 +-
 .../common/src/esp32c3_board_i2c.c                 |  2 +-
 .../common/src/esp32c3_board_ledc.c                |  2 +-
 .../common/src/esp32c3_board_mpu60x0_i2c.c         |  2 +-
 .../common/src/esp32c3_board_oneshot.c             |  2 +-
 .../common/src/esp32c3_board_spi.c                 |  2 +-
 .../common/src/esp32c3_board_spidev.c              |  2 +-
 .../common/src/esp32c3_board_spiflash.c            |  2 +-
 .../common/src/esp32c3_board_spislavedev.c         |  2 +-
 .../common/src/esp32c3_board_st7735.c              |  2 +-
 .../common/src/esp32c3_board_st7789.c              |  2 +-
 .../common/src/esp32c3_board_twai.c                |  2 +-
 .../common/src/esp32c3_board_wdt.c                 |  2 +-
 .../common/src/esp32c3_board_wlan.c                |  2 +-
 .../esp32c3-devkit-rust-1/Kconfig                  |  0
 .../configs/brickmatch/defconfig                   |  2 +-
 .../esp32c3-devkit-rust-1/configs/nsh/defconfig    |  2 +-
 .../esp32c3-devkit-rust-1/include/board.h          |  2 +-
 .../include/board_memorymap.h                      |  0
 .../esp32c3-devkit-rust-1/scripts/Make.defs        |  2 +-
 .../esp32c3-devkit-rust-1/src/Make.defs            |  2 +-
 .../src/esp32c3-devkit-rust-1.h                    |  0
 .../esp32c3-devkit-rust-1/src/esp32c3_appinit.c    |  2 +-
 .../esp32c3-devkit-rust-1/src/esp32c3_autoleds.c   |  2 +-
 .../esp32c3-devkit-rust-1/src/esp32c3_boot.c       |  2 +-
 .../esp32c3-devkit-rust-1/src/esp32c3_bringup.c    |  2 +-
 .../esp32c3-devkit-rust-1}/src/esp32c3_ioctl.c     |  2 +-
 .../esp32c3-devkit-rust-1}/src/esp32c3_reset.c     |  2 +-
 .../esp32c3-devkit/Kconfig                         |  0
 .../esp32c3-devkit/configs/adc/defconfig           |  2 +-
 .../esp32c3-devkit/configs/autopm/defconfig        |  2 +-
 .../esp32c3-devkit/configs/ble/defconfig           |  2 +-
 .../esp32c3-devkit/configs/bmp180/defconfig        |  2 +-
 .../esp32c3-devkit/configs/coremark/defconfig      |  2 +-
 .../esp32c3-devkit/configs/crypto/defconfig        |  2 +-
 .../esp32c3-devkit/configs/cxx/defconfig           |  2 +-
 .../esp32c3-devkit/configs/efuse/defconfig         |  2 +-
 .../esp32c3-devkit/configs/elf/defconfig           |  2 +-
 .../esp32c3-devkit/configs/gdbstub/defconfig       |  2 +-
 .../esp32c3-devkit/configs/gpio/defconfig          |  2 +-
 .../esp32c3-devkit/configs/knsh/defconfig          |  4 +--
 .../esp32c3-devkit/configs/lvgl/defconfig          |  2 +-
 .../configs/mcuboot_slot_confirm/defconfig         |  2 +-
 .../esp32c3-devkit/configs/module/defconfig        |  2 +-
 .../esp32c3-devkit/configs/nsh/defconfig           |  2 +-
 .../esp32c3-devkit/configs/nvcfgdata/defconfig     |  2 +-
 .../esp32c3-devkit/configs/oneshot/defconfig       |  2 +-
 .../esp32c3-devkit/configs/ostest/defconfig        |  2 +-
 .../esp32c3-devkit/configs/pm/defconfig            |  2 +-
 .../esp32c3-devkit/configs/pwm/defconfig           |  2 +-
 .../esp32c3-devkit/configs/random/defconfig        |  2 +-
 .../esp32c3-devkit/configs/romfs/defconfig         |  2 +-
 .../esp32c3-devkit/configs/rtc/defconfig           |  2 +-
 .../esp32c3-devkit/configs/sotest/defconfig        |  2 +-
 .../esp32c3-devkit/configs/spiflash/defconfig      |  2 +-
 .../esp32c3-devkit/configs/sta_softap/defconfig    |  2 +-
 .../esp32c3-devkit/configs/tickless/defconfig      |  2 +-
 .../esp32c3-devkit/configs/timer/defconfig         |  2 +-
 .../esp32c3-devkit/configs/twai/defconfig          |  2 +-
 .../esp32c3-devkit/configs/uid/defconfig           |  2 +-
 .../esp32c3-devkit/configs/usbconsole/defconfig    |  2 +-
 .../esp32c3-devkit/configs/watchdog/defconfig      |  2 +-
 .../esp32c3-devkit/configs/watcher/defconfig       |  2 +-
 .../esp32c3-devkit/configs/wifi/defconfig          |  2 +-
 .../esp32c3-devkit/include/board.h                 |  2 +-
 .../esp32c3-devkit/include/board_memorymap.h       |  2 +-
 .../esp32c3-devkit/scripts/Make.defs               |  2 +-
 .../esp32c3-devkit/src/Make.defs                   |  2 +-
 .../esp32c3-devkit/src/esp32c3-devkit.h            |  2 +-
 .../esp32c3-devkit/src/esp32c3_appinit.c           |  2 +-
 .../esp32c3-devkit/src/esp32c3_boot.c              |  2 +-
 .../esp32c3-devkit/src/esp32c3_bringup.c           |  2 +-
 .../esp32c3-devkit/src/esp32c3_gpio.c              |  2 +-
 .../esp32c3-devkit}/src/esp32c3_ioctl.c            |  2 +-
 .../esp32c3-devkit}/src/esp32c3_reset.c            |  2 +-
 .../esp32c3-devkit/src/esp32c3_uid.c               |  2 +-
 .../esp32c3-devkit/src/etc/group                   |  0
 .../esp32c3-devkit/src/etc/init.d/rc.sysinit       |  2 +-
 .../esp32c3-devkit/src/etc/init.d/rcS              |  2 +-
 .../esp32c3-devkit/src/etc/passwd                  |  0
 275 files changed, 553 insertions(+), 553 deletions(-)

diff --git a/arch/risc-v/Kconfig b/arch/risc-v/Kconfig
index 256ed53b5b..10274ceaca 100644
--- a/arch/risc-v/Kconfig
+++ b/arch/risc-v/Kconfig
@@ -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"
diff --git a/arch/risc-v/include/esp32c3/chip.h b/arch/risc-v/include/esp32c3-legacy/chip.h
similarity index 87%
rename from arch/risc-v/include/esp32c3/chip.h
rename to arch/risc-v/include/esp32c3-legacy/chip.h
index cb640d57d3..58a0a7f3a6 100644
--- a/arch/risc-v/include/esp32c3/chip.h
+++ b/arch/risc-v/include/esp32c3-legacy/chip.h
@@ -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 */
diff --git a/arch/risc-v/include/esp32c3/esp_efuse_table.h b/arch/risc-v/include/esp32c3-legacy/esp_efuse_table.h
similarity index 99%
rename from arch/risc-v/include/esp32c3/esp_efuse_table.h
rename to arch/risc-v/include/esp32c3-legacy/esp_efuse_table.h
index a8a7d5d69e..960f687660 100644
--- a/arch/risc-v/include/esp32c3/esp_efuse_table.h
+++ b/arch/risc-v/include/esp32c3-legacy/esp_efuse_table.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
diff --git a/arch/risc-v/include/esp32c3/irq.h b/arch/risc-v/include/esp32c3-legacy/irq.h
similarity index 99%
rename from arch/risc-v/include/esp32c3/irq.h
rename to arch/risc-v/include/esp32c3-legacy/irq.h
index b778f7859d..c05200fb8b 100644
--- a/arch/risc-v/include/esp32c3/irq.h
+++ b/arch/risc-v/include/esp32c3-legacy/irq.h
@@ -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
diff --git a/arch/risc-v/src/esp32c3/.gitignore b/arch/risc-v/src/esp32c3-legacy/.gitignore
similarity index 100%
rename from arch/risc-v/src/esp32c3/.gitignore
rename to arch/risc-v/src/esp32c3-legacy/.gitignore
diff --git a/arch/risc-v/src/esp32c3/Bootloader.mk b/arch/risc-v/src/esp32c3-legacy/Bootloader.mk
similarity index 99%
rename from arch/risc-v/src/esp32c3/Bootloader.mk
rename to arch/risc-v/src/esp32c3-legacy/Bootloader.mk
index bae150360e..ac636e610d 100644
--- a/arch/risc-v/src/esp32c3/Bootloader.mk
+++ b/arch/risc-v/src/esp32c3-legacy/Bootloader.mk
@@ -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
diff --git a/arch/risc-v/src/esp32c3/Kconfig b/arch/risc-v/src/esp32c3-legacy/Kconfig
similarity index 99%
rename from arch/risc-v/src/esp32c3/Kconfig
rename to arch/risc-v/src/esp32c3-legacy/Kconfig
index abef7a8e82..2e9bdae0b7 100644
--- a/arch/risc-v/src/esp32c3/Kconfig
+++ b/arch/risc-v/src/esp32c3-legacy/Kconfig
@@ -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
 
diff --git a/arch/risc-v/src/esp32c3/Kconfig.security b/arch/risc-v/src/esp32c3-legacy/Kconfig.security
similarity index 100%
rename from arch/risc-v/src/esp32c3/Kconfig.security
rename to arch/risc-v/src/esp32c3-legacy/Kconfig.security
diff --git a/arch/risc-v/src/esp32c3/Make.defs b/arch/risc-v/src/esp32c3-legacy/Make.defs
similarity index 99%
rename from arch/risc-v/src/esp32c3/Make.defs
rename to arch/risc-v/src/esp32c3-legacy/Make.defs
index 80cd169179..23ad159619 100644
--- a/arch/risc-v/src/esp32c3/Make.defs
+++ b/arch/risc-v/src/esp32c3-legacy/Make.defs
@@ -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
diff --git a/arch/risc-v/src/esp32c3/chip.h b/arch/risc-v/src/esp32c3-legacy/chip.h
similarity index 97%
rename from arch/risc-v/src/esp32c3/chip.h
rename to arch/risc-v/src/esp32c3-legacy/chip.h
index 2ae947ddae..d7eccc23f7 100644
--- a/arch/risc-v/src/esp32c3/chip.h
+++ b/arch/risc-v/src/esp32c3-legacy/chip.h
@@ -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
diff --git a/arch/risc-v/src/esp32c3/esp32c3.h b/arch/risc-v/src/esp32c3-legacy/esp32c3.h
similarity index 89%
rename from arch/risc-v/src/esp32c3/esp32c3.h
rename to arch/risc-v/src/esp32c3-legacy/esp32c3.h
index af3c28dadb..a332d20e70 100644
--- a/arch/risc-v/src/esp32c3/esp32c3.h
+++ b/arch/risc-v/src/esp32c3-legacy/esp32c3.h
@@ -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 */
diff --git a/arch/risc-v/src/esp32c3/esp32c3_adc.c b/arch/risc-v/src/esp32c3-legacy/esp32c3_adc.c
similarity index 99%
rename from arch/risc-v/src/esp32c3/esp32c3_adc.c
rename to arch/risc-v/src/esp32c3-legacy/esp32c3_adc.c
index 28837306bc..50f262f50d 100644
--- a/arch/risc-v/src/esp32c3/esp32c3_adc.c
+++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_adc.c
@@ -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
diff --git a/arch/risc-v/src/esp32c3/esp32c3_adc.h b/arch/risc-v/src/esp32c3-legacy/esp32c3_adc.h
similarity index 91%
rename from arch/risc-v/src/esp32c3/esp32c3_adc.h
rename to arch/risc-v/src/esp32c3-legacy/esp32c3_adc.h
index f79bf3f025..a7577b34cc 100644
--- a/arch/risc-v/src/esp32c3/esp32c3_adc.h
+++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_adc.h
@@ -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 */
diff --git a/arch/risc-v/src/esp32c3/esp32c3_aes.c b/arch/risc-v/src/esp32c3-legacy/esp32c3_aes.c
similarity index 99%
rename from arch/risc-v/src/esp32c3/esp32c3_aes.c
rename to arch/risc-v/src/esp32c3-legacy/esp32c3_aes.c
index 93e409a8af..2eeddf0081 100644
--- a/arch/risc-v/src/esp32c3/esp32c3_aes.c
+++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_aes.c
@@ -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
diff --git a/arch/risc-v/src/esp32c3/esp32c3_aes.h b/arch/risc-v/src/esp32c3-legacy/esp32c3_aes.h
similarity index 96%
rename from arch/risc-v/src/esp32c3/esp32c3_aes.h
rename to arch/risc-v/src/esp32c3-legacy/esp32c3_aes.h
index 6ed25f17c0..e906135696 100644
--- a/arch/risc-v/src/esp32c3/esp32c3_aes.h
+++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_aes.h
@@ -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 */
diff --git a/arch/risc-v/src/esp32c3/esp32c3_allocateheap.c b/arch/risc-v/src/esp32c3-legacy/esp32c3_allocateheap.c
similarity index 97%
rename from arch/risc-v/src/esp32c3/esp32c3_allocateheap.c
rename to arch/risc-v/src/esp32c3-legacy/esp32c3_allocateheap.c
index 6ede4bdec4..2d33529c04 100644
--- a/arch/risc-v/src/esp32c3/esp32c3_allocateheap.c
+++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_allocateheap.c
@@ -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[];
diff --git a/arch/risc-v/src/esp32c3/esp32c3_attr.h b/arch/risc-v/src/esp32c3-legacy/esp32c3_attr.h
similarity index 88%
rename from arch/risc-v/src/esp32c3/esp32c3_attr.h
rename to arch/risc-v/src/esp32c3-legacy/esp32c3_attr.h
index e0c9818d07..960d46ed05 100644
--- a/arch/risc-v/src/esp32c3/esp32c3_attr.h
+++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_attr.h
@@ -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 */
diff --git a/arch/risc-v/src/esp32c3/esp32c3_bignum.c b/arch/risc-v/src/esp32c3-legacy/esp32c3_bignum.c
similarity index 99%
rename from arch/risc-v/src/esp32c3/esp32c3_bignum.c
rename to arch/risc-v/src/esp32c3-legacy/esp32c3_bignum.c
index a21b36fcb3..8477e182c9 100644
--- a/arch/risc-v/src/esp32c3/esp32c3_bignum.c
+++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_bignum.c
@@ -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
diff --git a/arch/risc-v/src/esp32c3/esp32c3_bignum.h b/arch/risc-v/src/esp32c3-legacy/esp32c3_bignum.h
similarity index 99%
rename from arch/risc-v/src/esp32c3/esp32c3_bignum.h
rename to arch/risc-v/src/esp32c3-legacy/esp32c3_bignum.h
index 80d60430bb..b8a5914b7b 100644
--- a/arch/risc-v/src/esp32c3/esp32c3_bignum.h
+++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_bignum.h
@@ -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 */
diff --git a/arch/risc-v/src/esp32c3/esp32c3_ble.c b/arch/risc-v/src/esp32c3-legacy/esp32c3_ble.c
similarity index 99%
rename from arch/risc-v/src/esp32c3/esp32c3_ble.c
rename to arch/risc-v/src/esp32c3-legacy/esp32c3_ble.c
index 98b0d99c48..6c8f4bc2e6 100644
--- a/arch/risc-v/src/esp32c3/esp32c3_ble.c
+++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_ble.c
@@ -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
diff --git a/arch/risc-v/src/esp32c3/esp32c3_ble.h b/arch/risc-v/src/esp32c3-legacy/esp32c3_ble.h
similarity index 88%
rename from arch/risc-v/src/esp32c3/esp32c3_ble.h
rename to arch/risc-v/src/esp32c3-legacy/esp32c3_ble.h
index d1cd2c9bd1..ad5e503752 100644
--- a/arch/risc-v/src/esp32c3/esp32c3_ble.h
+++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_ble.h
@@ -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 */
diff --git a/arch/risc-v/src/esp32c3/esp32c3_ble_adapter.c b/arch/risc-v/src/esp32c3-legacy/esp32c3_ble_adapter.c
similarity index 99%
rename from arch/risc-v/src/esp32c3/esp32c3_ble_adapter.c
rename to arch/risc-v/src/esp32c3-legacy/esp32c3_ble_adapter.c
index 7bff497a0b..44f20362f7 100644
--- a/arch/risc-v/src/esp32c3/esp32c3_ble_adapter.c
+++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_ble_adapter.c
@@ -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
diff --git a/arch/risc-v/src/esp32c3/esp32c3_ble_adapter.h b/arch/risc-v/src/esp32c3-legacy/esp32c3_ble_adapter.h
similarity index 94%
rename from arch/risc-v/src/esp32c3/esp32c3_ble_adapter.h
rename to arch/risc-v/src/esp32c3-legacy/esp32c3_ble_adapter.h
index 70260356e9..d5898413cb 100644
--- a/arch/risc-v/src/esp32c3/esp32c3_ble_adapter.h
+++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_ble_adapter.h
@@ -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 */
diff --git a/arch/risc-v/src/esp32c3/esp32c3_brownout.c b/arch/risc-v/src/esp32c3-legacy/esp32c3_brownout.c
similarity index 97%
rename from arch/risc-v/src/esp32c3/esp32c3_brownout.c
rename to arch/risc-v/src/esp32c3-legacy/esp32c3_brownout.c
index b0dcf9d10c..3e1cd857c4 100644
--- a/arch/risc-v/src/esp32c3/esp32c3_brownout.c
+++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_brownout.c
@@ -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
diff --git a/arch/risc-v/src/esp32c3/esp32c3_brownout.h b/arch/risc-v/src/esp32c3-legacy/esp32c3_brownout.h
similarity index 89%
rename from arch/risc-v/src/esp32c3/esp32c3_brownout.h
rename to arch/risc-v/src/esp32c3-legacy/esp32c3_brownout.h
index 1afb757247..363416219a 100644
--- a/arch/risc-v/src/esp32c3/esp32c3_brownout.h
+++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_brownout.h
@@ -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 */
diff --git a/arch/risc-v/src/esp32c3/esp32c3_clockconfig.c b/arch/risc-v/src/esp32c3-legacy/esp32c3_clockconfig.c
similarity index 99%
rename from arch/risc-v/src/esp32c3/esp32c3_clockconfig.c
rename to arch/risc-v/src/esp32c3-legacy/esp32c3_clockconfig.c
index c68703d458..11361f0ae0 100644
--- a/arch/risc-v/src/esp32c3/esp32c3_clockconfig.c
+++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_clockconfig.c
@@ -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
diff --git a/arch/risc-v/src/esp32c3/esp32c3_clockconfig.h b/arch/risc-v/src/esp32c3-legacy/esp32c3_clockconfig.h
similarity index 92%
rename from arch/risc-v/src/esp32c3/esp32c3_clockconfig.h
rename to arch/risc-v/src/esp32c3-legacy/esp32c3_clockconfig.h
index 297a95ad96..d5262caaef 100644
--- a/arch/risc-v/src/esp32c3/esp32c3_clockconfig.h
+++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_clockconfig.h
@@ -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 */
diff --git a/arch/risc-v/src/esp32c3/esp32c3_config.h b/arch/risc-v/src/esp32c3-legacy/esp32c3_config.h
similarity index 91%
rename from arch/risc-v/src/esp32c3/esp32c3_config.h
rename to arch/risc-v/src/esp32c3-legacy/esp32c3_config.h
index 0c520a4d38..c5057107cd 100644
--- a/arch/risc-v/src/esp32c3/esp32c3_config.h
+++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_config.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 */
diff --git a/arch/risc-v/src/esp32c3/esp32c3_crypto.c b/arch/risc-v/src/esp32c3-legacy/esp32c3_crypto.c
similarity index 99%
rename from arch/risc-v/src/esp32c3/esp32c3_crypto.c
rename to arch/risc-v/src/esp32c3-legacy/esp32c3_crypto.c
index de170596df..76cb1d0a93 100644
--- a/arch/risc-v/src/esp32c3/esp32c3_crypto.c
+++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_crypto.c
@@ -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
diff --git a/arch/risc-v/src/esp32c3/esp32c3_dma.c b/arch/risc-v/src/esp32c3-legacy/esp32c3_dma.c
similarity index 99%
rename from arch/risc-v/src/esp32c3/esp32c3_dma.c
rename to arch/risc-v/src/esp32c3-legacy/esp32c3_dma.c
index 88d21f300a..198328e82d 100644
--- a/arch/risc-v/src/esp32c3/esp32c3_dma.c
+++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_dma.c
@@ -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
diff --git a/arch/risc-v/src/esp32c3/esp32c3_dma.h b/arch/risc-v/src/esp32c3-legacy/esp32c3_dma.h
similarity index 96%
rename from arch/risc-v/src/esp32c3/esp32c3_dma.h
rename to arch/risc-v/src/esp32c3-legacy/esp32c3_dma.h
index 17272a9b37..c0d4d9d59d 100644
--- a/arch/risc-v/src/esp32c3/esp32c3_dma.h
+++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_dma.h
@@ -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 */
diff --git a/arch/risc-v/src/esp32c3/esp32c3_efuse.c b/arch/risc-v/src/esp32c3-legacy/esp32c3_efuse.c
similarity index 99%
rename from arch/risc-v/src/esp32c3/esp32c3_efuse.c
rename to arch/risc-v/src/esp32c3-legacy/esp32c3_efuse.c
index 79edcf7e29..fc23911c9d 100644
--- a/arch/risc-v/src/esp32c3/esp32c3_efuse.c
+++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_efuse.c
@@ -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"
diff --git a/arch/risc-v/src/esp32c3/esp32c3_efuse.h b/arch/risc-v/src/esp32c3-legacy/esp32c3_efuse.h
similarity index 96%
rename from arch/risc-v/src/esp32c3/esp32c3_efuse.h
rename to arch/risc-v/src/esp32c3-legacy/esp32c3_efuse.h
index f97b690a1e..c3d6b85656 100644
--- a/arch/risc-v/src/esp32c3/esp32c3_efuse.h
+++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_efuse.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 */
diff --git a/arch/risc-v/src/esp32c3/esp32c3_efuse_lowerhalf.c b/arch/risc-v/src/esp32c3-legacy/esp32c3_efuse_lowerhalf.c
similarity index 99%
rename from arch/risc-v/src/esp32c3/esp32c3_efuse_lowerhalf.c
rename to arch/risc-v/src/esp32c3-legacy/esp32c3_efuse_lowerhalf.c
index e1d15d46fa..0364e260d3 100644
--- a/arch/risc-v/src/esp32c3/esp32c3_efuse_lowerhalf.c
+++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_efuse_lowerhalf.c
@@ -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
diff --git a/arch/risc-v/src/esp32c3/esp32c3_efuse_table.c b/arch/risc-v/src/esp32c3-legacy/esp32c3_efuse_table.c
similarity index 99%
rename from arch/risc-v/src/esp32c3/esp32c3_efuse_table.c
rename to arch/risc-v/src/esp32c3-legacy/esp32c3_efuse_table.c
index 9eaeef685c..98a0dba348 100644
--- a/arch/risc-v/src/esp32c3/esp32c3_efuse_table.c
+++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_efuse_table.c
@@ -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
diff --git a/arch/risc-v/src/esp32c3/esp32c3_extraheaps.c b/arch/risc-v/src/esp32c3-legacy/esp32c3_extraheaps.c
similarity index 97%
rename from arch/risc-v/src/esp32c3/esp32c3_extraheaps.c
rename to arch/risc-v/src/esp32c3-legacy/esp32c3_extraheaps.c
index beb6b96fa6..4a10b735fc 100644
--- a/arch/risc-v/src/esp32c3/esp32c3_extraheaps.c
+++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_extraheaps.c
@@ -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
diff --git a/arch/risc-v/src/esp32c3/esp32c3_freerun.c b/arch/risc-v/src/esp32c3-legacy/esp32c3_freerun.c
similarity index 99%
rename from arch/risc-v/src/esp32c3/esp32c3_freerun.c
rename to arch/risc-v/src/esp32c3-legacy/esp32c3_freerun.c
index 85017ff464..4cc1b4d749 100644
--- a/arch/risc-v/src/esp32c3/esp32c3_freerun.c
+++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_freerun.c
@@ -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
diff --git a/arch/risc-v/src/esp32c3/esp32c3_freerun.h b/arch/risc-v/src/esp32c3-legacy/esp32c3_freerun.h
similarity index 95%
rename from arch/risc-v/src/esp32c3/esp32c3_freerun.h
rename to arch/risc-v/src/esp32c3-legacy/esp32c3_freerun.h
index d9842146cc..cc47c469a7 100644
--- a/arch/risc-v/src/esp32c3/esp32c3_freerun.h
+++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_freerun.h
@@ -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 */
diff --git a/arch/risc-v/src/esp32c3/esp32c3_gpio.c b/arch/risc-v/src/esp32c3-legacy/esp32c3_gpio.c
similarity index 99%
rename from arch/risc-v/src/esp32c3/esp32c3_gpio.c
rename to arch/risc-v/src/esp32c3-legacy/esp32c3_gpio.c
index abda9e0900..6fc1d05629 100644
--- a/arch/risc-v/src/esp32c3/esp32c3_gpio.c
+++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_gpio.c
@@ -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
diff --git a/arch/risc-v/src/esp32c3/esp32c3_gpio.h b/arch/risc-v/src/esp32c3-legacy/esp32c3_gpio.h
similarity index 97%
rename from arch/risc-v/src/esp32c3/esp32c3_gpio.h
rename to arch/risc-v/src/esp32c3-legacy/esp32c3_gpio.h
index ba32098b13..dc99f0a691 100644
--- a/arch/risc-v/src/esp32c3/esp32c3_gpio.h
+++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_gpio.h
@@ -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 */
diff --git a/arch/risc-v/src/esp32c3/esp32c3_head.S b/arch/risc-v/src/esp32c3-legacy/esp32c3_head.S
similarity index 97%
rename from arch/risc-v/src/esp32c3/esp32c3_head.S
rename to arch/risc-v/src/esp32c3-legacy/esp32c3_head.S
index 457df34ab4..551900022c 100644
--- a/arch/risc-v/src/esp32c3/esp32c3_head.S
+++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_head.S
@@ -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
diff --git a/arch/risc-v/src/esp32c3/esp32c3_i2c.c b/arch/risc-v/src/esp32c3-legacy/esp32c3_i2c.c
similarity index 99%
rename from arch/risc-v/src/esp32c3/esp32c3_i2c.c
rename to arch/risc-v/src/esp32c3-legacy/esp32c3_i2c.c
index 49e6931da6..9c098dfd2a 100644
--- a/arch/risc-v/src/esp32c3/esp32c3_i2c.c
+++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_i2c.c
@@ -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
diff --git a/arch/risc-v/src/esp32c3/esp32c3_i2c.h b/arch/risc-v/src/esp32c3-legacy/esp32c3_i2c.h
similarity index 93%
rename from arch/risc-v/src/esp32c3/esp32c3_i2c.h
rename to arch/risc-v/src/esp32c3-legacy/esp32c3_i2c.h
index 115e7d0d13..9b096dbb7f 100644
--- a/arch/risc-v/src/esp32c3/esp32c3_i2c.h
+++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_i2c.h
@@ -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 */
diff --git a/arch/risc-v/src/esp32c3/esp32c3_idle.c b/arch/risc-v/src/esp32c3-legacy/esp32c3_idle.c
similarity index 99%
rename from arch/risc-v/src/esp32c3/esp32c3_idle.c
rename to arch/risc-v/src/esp32c3-legacy/esp32c3_idle.c
index b78bf30399..5b4e406c30 100644
--- a/arch/risc-v/src/esp32c3/esp32c3_idle.c
+++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_idle.c
@@ -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
diff --git a/arch/risc-v/src/esp32c3/esp32c3_irq.c b/arch/risc-v/src/esp32c3-legacy/esp32c3_irq.c
similarity index 99%
rename from arch/risc-v/src/esp32c3/esp32c3_irq.c
rename to arch/risc-v/src/esp32c3-legacy/esp32c3_irq.c
index 888f6b35fb..1c98bf5931 100644
--- a/arch/risc-v/src/esp32c3/esp32c3_irq.c
+++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_irq.c
@@ -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
diff --git a/arch/risc-v/src/esp32c3/esp32c3_irq.h b/arch/risc-v/src/esp32c3-legacy/esp32c3_irq.h
similarity index 95%
rename from arch/risc-v/src/esp32c3/esp32c3_irq.h
rename to arch/risc-v/src/esp32c3-legacy/esp32c3_irq.h
index 3c31367ecc..2e38073d3a 100644
--- a/arch/risc-v/src/esp32c3/esp32c3_irq.h
+++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_irq.h
@@ -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 */
diff --git a/arch/risc-v/src/esp32c3/esp32c3_ledc.c b/arch/risc-v/src/esp32c3-legacy/esp32c3_ledc.c
similarity index 99%
rename from arch/risc-v/src/esp32c3/esp32c3_ledc.c
rename to arch/risc-v/src/esp32c3-legacy/esp32c3_ledc.c
index 74011eb820..abaa3e6891 100644
--- a/arch/risc-v/src/esp32c3/esp32c3_ledc.c
+++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_ledc.c
@@ -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
diff --git a/arch/risc-v/src/esp32c3/esp32c3_ledc.h b/arch/risc-v/src/esp32c3-legacy/esp32c3_ledc.h
similarity index 89%
rename from arch/risc-v/src/esp32c3/esp32c3_ledc.h
rename to arch/risc-v/src/esp32c3-legacy/esp32c3_ledc.h
index 73ece77f67..0046a22a8f 100644
--- a/arch/risc-v/src/esp32c3/esp32c3_ledc.h
+++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_ledc.h
@@ -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 */
diff --git a/arch/risc-v/src/esp32c3/esp32c3_libc_stubs.c b/arch/risc-v/src/esp32c3-legacy/esp32c3_libc_stubs.c
similarity index 99%
rename from arch/risc-v/src/esp32c3/esp32c3_libc_stubs.c
rename to arch/risc-v/src/esp32c3-legacy/esp32c3_libc_stubs.c
index a3f0901f8e..0bd7866bbc 100644
--- a/arch/risc-v/src/esp32c3/esp32c3_libc_stubs.c
+++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_libc_stubs.c
@@ -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
diff --git a/arch/risc-v/src/esp32c3/esp32c3_lowputc.c b/arch/risc-v/src/esp32c3-legacy/esp32c3_lowputc.c
similarity index 99%
rename from arch/risc-v/src/esp32c3/esp32c3_lowputc.c
rename to arch/risc-v/src/esp32c3-legacy/esp32c3_lowputc.c
index 5fc1d6a546..2afa7e3f4c 100644
--- a/arch/risc-v/src/esp32c3/esp32c3_lowputc.c
+++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_lowputc.c
@@ -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
diff --git a/arch/risc-v/src/esp32c3/esp32c3_lowputc.h b/arch/risc-v/src/esp32c3-legacy/esp32c3_lowputc.h
similarity index 98%
rename from arch/risc-v/src/esp32c3/esp32c3_lowputc.h
rename to arch/risc-v/src/esp32c3-legacy/esp32c3_lowputc.h
index ac0f58b1c1..232e46664b 100644
--- a/arch/risc-v/src/esp32c3/esp32c3_lowputc.h
+++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_lowputc.h
@@ -1,5 +1,5 @@
 /****************************************************************************
- * arch/risc-v/src/esp32c3/esp32c3_lowputc.h
+ * arch/risc-v/src/esp32c3-legacy/esp32c3_lowputc.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_LOWPUTC_H
-#define __ARCH_RISCV_SRC_ESP32C3_ESP32C3_LOWPUTC_H
+#ifndef __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_LOWPUTC_H
+#define __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_LOWPUTC_H
 
 /****************************************************************************
  * Included Files
@@ -489,4 +489,4 @@ void esp32c3_lowputc_restore_pins(const struct esp32c3_uart_s *priv);
 
 void esp32c3_lowsetup(void);
 
-#endif /* __ARCH_RISCV_SRC_ESP32C3_ESP32C3_LOWPUTC_H */
+#endif /* __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_LOWPUTC_H */
diff --git a/arch/risc-v/src/esp32c3/esp32c3_memorymap.h b/arch/risc-v/src/esp32c3-legacy/esp32c3_memorymap.h
similarity index 86%
rename from arch/risc-v/src/esp32c3/esp32c3_memorymap.h
rename to arch/risc-v/src/esp32c3-legacy/esp32c3_memorymap.h
index 1323d960ac..59fa8b5e96 100644
--- a/arch/risc-v/src/esp32c3/esp32c3_memorymap.h
+++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_memorymap.h
@@ -1,5 +1,5 @@
 /****************************************************************************
- * arch/risc-v/src/esp32c3/esp32c3_memorymap.h
+ * arch/risc-v/src/esp32c3-legacy/esp32c3_memorymap.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_MEMORYMAP_H
-#define __ARCH_RISCV_SRC_ESP32C3_ESP32C3_MEMORYMAP_H
+#ifndef __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_MEMORYMAP_H
+#define __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_MEMORYMAP_H
 
 /****************************************************************************
  * Included Files
@@ -39,4 +39,4 @@
 
 #define ESP32C3_IDLESTACK_TOP  (ESP32C3_IDLESTACK_BASE + CONFIG_IDLETHREAD_STACKSIZE)
 
-#endif /* __ARCH_RISCV_SRC_ESP32C3_ESP32C3_MEMORYMAP_H */
+#endif /* __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_MEMORYMAP_H */
diff --git a/arch/risc-v/src/esp32c3/esp32c3_oneshot.c b/arch/risc-v/src/esp32c3-legacy/esp32c3_oneshot.c
similarity index 99%
rename from arch/risc-v/src/esp32c3/esp32c3_oneshot.c
rename to arch/risc-v/src/esp32c3-legacy/esp32c3_oneshot.c
index 25fdc13133..a499d42ae9 100644
--- a/arch/risc-v/src/esp32c3/esp32c3_oneshot.c
+++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_oneshot.c
@@ -1,5 +1,5 @@
 /****************************************************************************
- * arch/risc-v/src/esp32c3/esp32c3_oneshot.c
+ * arch/risc-v/src/esp32c3-legacy/esp32c3_oneshot.c
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
diff --git a/arch/risc-v/src/esp32c3/esp32c3_oneshot.h b/arch/risc-v/src/esp32c3-legacy/esp32c3_oneshot.h
similarity index 97%
rename from arch/risc-v/src/esp32c3/esp32c3_oneshot.h
rename to arch/risc-v/src/esp32c3-legacy/esp32c3_oneshot.h
index 3d5fe839ca..6bba13c057 100644
--- a/arch/risc-v/src/esp32c3/esp32c3_oneshot.h
+++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_oneshot.h
@@ -1,5 +1,5 @@
 /****************************************************************************
- * arch/risc-v/src/esp32c3/esp32c3_oneshot.h
+ * arch/risc-v/src/esp32c3-legacy/esp32c3_oneshot.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_ONESHOT_H
-#define __ARCH_RISCV_SRC_ESP32C3_ONESHOT_H
+#ifndef __ARCH_RISCV_SRC_ESP32C3_LEGACY_ONESHOT_H
+#define __ARCH_RISCV_SRC_ESP32C3_LEGACY_ONESHOT_H
 
 /****************************************************************************
  * Included Files
@@ -201,4 +201,4 @@ int esp32c3_oneshot_current(struct esp32c3_oneshot_s *oneshot,
 #endif
 
 #endif /* CONFIG_ESP32C3_ONESHOT */
-#endif /* __ARCH_RISCV_SRC_ESP32C3_ONESHOT_H */
+#endif /* __ARCH_RISCV_SRC_ESP32C3_LEGACY_ONESHOT_H */
diff --git a/arch/risc-v/src/esp32c3/esp32c3_oneshot_lowerhalf.c b/arch/risc-v/src/esp32c3-legacy/esp32c3_oneshot_lowerhalf.c
similarity index 99%
rename from arch/risc-v/src/esp32c3/esp32c3_oneshot_lowerhalf.c
rename to arch/risc-v/src/esp32c3-legacy/esp32c3_oneshot_lowerhalf.c
index dced59ae58..ae400ca6d0 100644
--- a/arch/risc-v/src/esp32c3/esp32c3_oneshot_lowerhalf.c
+++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_oneshot_lowerhalf.c
@@ -1,5 +1,5 @@
 /****************************************************************************
- * arch/risc-v/src/esp32c3/esp32c3_oneshot_lowerhalf.c
+ * arch/risc-v/src/esp32c3-legacy/esp32c3_oneshot_lowerhalf.c
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
diff --git a/arch/risc-v/src/esp32c3/esp32c3_partition.c b/arch/risc-v/src/esp32c3-legacy/esp32c3_partition.c
similarity index 99%
rename from arch/risc-v/src/esp32c3/esp32c3_partition.c
rename to arch/risc-v/src/esp32c3-legacy/esp32c3_partition.c
index ad5e48c4fa..338db2091c 100644
--- a/arch/risc-v/src/esp32c3/esp32c3_partition.c
+++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_partition.c
@@ -1,5 +1,5 @@
 /****************************************************************************
- * arch/risc-v/src/esp32c3/esp32c3_partition.c
+ * arch/risc-v/src/esp32c3-legacy/esp32c3_partition.c
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
diff --git a/arch/risc-v/src/esp32c3/esp32c3_partition.h b/arch/risc-v/src/esp32c3-legacy/esp32c3_partition.h
similarity index 89%
rename from arch/risc-v/src/esp32c3/esp32c3_partition.h
rename to arch/risc-v/src/esp32c3-legacy/esp32c3_partition.h
index 033411303b..de9413b163 100644
--- a/arch/risc-v/src/esp32c3/esp32c3_partition.h
+++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_partition.h
@@ -1,5 +1,5 @@
 /****************************************************************************
- * arch/risc-v/src/esp32c3/esp32c3_partition.h
+ * arch/risc-v/src/esp32c3-legacy/esp32c3_partition.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_PARTITION_H
-#define __ARCH_RISCV_SRC_ESP32C3_ESP32C3_PARTITION_H
+#ifndef __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_PARTITION_H
+#define __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_PARTITION_H
 
 /****************************************************************************
  * Included Files
@@ -69,4 +69,4 @@ int esp32c3_partition_init(void);
 #undef EXTERN
 
 #endif /* __ASSEMBLY__ */
-#endif /* __ARCH_RISCV_SRC_ESP32C3_ESP32C3_PARTITION_H */
+#endif /* __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_PARTITION_H */
diff --git a/arch/risc-v/src/esp32c3/esp32c3_perf.c b/arch/risc-v/src/esp32c3-legacy/esp32c3_perf.c
similarity index 98%
rename from arch/risc-v/src/esp32c3/esp32c3_perf.c
rename to arch/risc-v/src/esp32c3-legacy/esp32c3_perf.c
index 5e187b4ac3..0eb5e9d512 100644
--- a/arch/risc-v/src/esp32c3/esp32c3_perf.c
+++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_perf.c
@@ -1,5 +1,5 @@
 /****************************************************************************
- * arch/risc-v/src/esp32c3/esp32c3_perf.c
+ * arch/risc-v/src/esp32c3-legacy/esp32c3_perf.c
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
diff --git a/arch/risc-v/src/esp32c3/esp32c3_pm.c b/arch/risc-v/src/esp32c3-legacy/esp32c3_pm.c
similarity index 99%
rename from arch/risc-v/src/esp32c3/esp32c3_pm.c
rename to arch/risc-v/src/esp32c3-legacy/esp32c3_pm.c
index 3c9ce4e879..7c578a49c0 100644
--- a/arch/risc-v/src/esp32c3/esp32c3_pm.c
+++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_pm.c
@@ -1,5 +1,5 @@
 /****************************************************************************
- * arch/risc-v/src/esp32c3/esp32c3_pm.c
+ * arch/risc-v/src/esp32c3-legacy/esp32c3_pm.c
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
diff --git a/arch/risc-v/src/esp32c3/esp32c3_pm.h b/arch/risc-v/src/esp32c3-legacy/esp32c3_pm.h
similarity index 97%
rename from arch/risc-v/src/esp32c3/esp32c3_pm.h
rename to arch/risc-v/src/esp32c3-legacy/esp32c3_pm.h
index 28dcec273c..0b7eb87d35 100644
--- a/arch/risc-v/src/esp32c3/esp32c3_pm.h
+++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_pm.h
@@ -1,5 +1,5 @@
 /****************************************************************************
- * arch/risc-v/src/esp32c3/esp32c3_pm.h
+ * arch/risc-v/src/esp32c3-legacy/esp32c3_pm.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_PM_H
-#define __ARCH_RISCV_SRC_ESP32C3_ESP32C3_PM_H
+#ifndef __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_PM_H
+#define __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_PM_H
 
 /****************************************************************************
  * Included Files
@@ -281,4 +281,4 @@ int esp32c3_pm_unregister_skip_sleep_callback(skip_light_sleep_cb_t cb);
 #undef EXTERN
 
 #endif /* __ASSEMBLY__ */
-#endif /* __ARCH_RISCV_SRC_ESP32C3_ESP32C3_PM_H */
+#endif /* __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_PM_H */
diff --git a/arch/risc-v/src/esp32c3/esp32c3_pminitialize.c b/arch/risc-v/src/esp32c3-legacy/esp32c3_pminitialize.c
similarity index 96%
rename from arch/risc-v/src/esp32c3/esp32c3_pminitialize.c
rename to arch/risc-v/src/esp32c3-legacy/esp32c3_pminitialize.c
index 68fffcb8bb..274b1cad7f 100644
--- a/arch/risc-v/src/esp32c3/esp32c3_pminitialize.c
+++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_pminitialize.c
@@ -1,5 +1,5 @@
 /****************************************************************************
- * arch/risc-v/src/esp32c3/esp32c3_pminitialize.c
+ * arch/risc-v/src/esp32c3-legacy/esp32c3_pminitialize.c
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
diff --git a/arch/risc-v/src/esp32c3/esp32c3_region.c b/arch/risc-v/src/esp32c3-legacy/esp32c3_region.c
similarity index 99%
rename from arch/risc-v/src/esp32c3/esp32c3_region.c
rename to arch/risc-v/src/esp32c3-legacy/esp32c3_region.c
index ebad5821c1..cf766993d4 100644
--- a/arch/risc-v/src/esp32c3/esp32c3_region.c
+++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_region.c
@@ -1,5 +1,5 @@
 /****************************************************************************
- * arch/risc-v/src/esp32c3/esp32c3_region.c
+ * arch/risc-v/src/esp32c3-legacy/esp32c3_region.c
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
diff --git a/arch/risc-v/src/esp32c3/esp32c3_region.h b/arch/risc-v/src/esp32c3-legacy/esp32c3_region.h
similarity index 90%
rename from arch/risc-v/src/esp32c3/esp32c3_region.h
rename to arch/risc-v/src/esp32c3-legacy/esp32c3_region.h
index a81e1b5ed4..0528b7e9ff 100644
--- a/arch/risc-v/src/esp32c3/esp32c3_region.h
+++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_region.h
@@ -1,5 +1,5 @@
 /****************************************************************************
- * arch/risc-v/src/esp32c3/esp32c3_region.h
+ * arch/risc-v/src/esp32c3-legacy/esp32c3_region.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_REGION_H
-#define __ARCH_RISCV_SRC_ESP32C3_ESP32C3_REGION_H
+#ifndef __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_REGION_H
+#define __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_REGION_H
 
 /****************************************************************************
  * Included Files
@@ -68,4 +68,4 @@ void esp32c3_region_protection(void);
 
 #endif /* __ASSEMBLY__ */
 
-#endif /* __ARCH_RISCV_SRC_ESP32C3_ESP32C3_REGION_H */
+#endif /* __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_REGION_H */
diff --git a/arch/risc-v/src/esp32c3/esp32c3_resetcause.c b/arch/risc-v/src/esp32c3-legacy/esp32c3_resetcause.c
similarity index 97%
rename from arch/risc-v/src/esp32c3/esp32c3_resetcause.c
rename to arch/risc-v/src/esp32c3-legacy/esp32c3_resetcause.c
index 00ede72ff4..4d61d08b7b 100644
--- a/arch/risc-v/src/esp32c3/esp32c3_resetcause.c
+++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_resetcause.c
@@ -1,5 +1,5 @@
 /****************************************************************************
- * arch/risc-v/src/esp32c3/esp32c3_resetcause.c
+ * arch/risc-v/src/esp32c3-legacy/esp32c3_resetcause.c
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
diff --git a/arch/risc-v/src/esp32c3/esp32c3_resetcause.h b/arch/risc-v/src/esp32c3-legacy/esp32c3_resetcause.h
similarity index 97%
rename from arch/risc-v/src/esp32c3/esp32c3_resetcause.h
rename to arch/risc-v/src/esp32c3-legacy/esp32c3_resetcause.h
index abc9ae908a..fbbcc65005 100644
--- a/arch/risc-v/src/esp32c3/esp32c3_resetcause.h
+++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_resetcause.h
@@ -1,5 +1,5 @@
 /****************************************************************************
- * arch/risc-v/src/esp32c3/esp32c3_resetcause.h
+ * arch/risc-v/src/esp32c3-legacy/esp32c3_resetcause.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
diff --git a/arch/risc-v/src/esp32c3/esp32c3_rng.c b/arch/risc-v/src/esp32c3-legacy/esp32c3_rng.c
similarity index 99%
rename from arch/risc-v/src/esp32c3/esp32c3_rng.c
rename to arch/risc-v/src/esp32c3-legacy/esp32c3_rng.c
index f0e59e41b6..e7d0d0f571 100644
--- a/arch/risc-v/src/esp32c3/esp32c3_rng.c
+++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_rng.c
@@ -1,5 +1,5 @@
 /****************************************************************************
- * arch/risc-v/src/esp32c3/esp32c3_rng.c
+ * arch/risc-v/src/esp32c3-legacy/esp32c3_rng.c
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
diff --git a/arch/risc-v/src/esp32c3/esp32c3_rsa.c b/arch/risc-v/src/esp32c3-legacy/esp32c3_rsa.c
similarity index 99%
rename from arch/risc-v/src/esp32c3/esp32c3_rsa.c
rename to arch/risc-v/src/esp32c3-legacy/esp32c3_rsa.c
index 965b610b21..a9d2057b47 100644
--- a/arch/risc-v/src/esp32c3/esp32c3_rsa.c
+++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_rsa.c
@@ -1,5 +1,5 @@
 /****************************************************************************
- * arch/risc-v/src/esp32c3/esp32c3_rsa.c
+ * arch/risc-v/src/esp32c3-legacy/esp32c3_rsa.c
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
diff --git a/arch/risc-v/src/esp32c3/esp32c3_rsa.h b/arch/risc-v/src/esp32c3-legacy/esp32c3_rsa.h
similarity index 98%
rename from arch/risc-v/src/esp32c3/esp32c3_rsa.h
rename to arch/risc-v/src/esp32c3-legacy/esp32c3_rsa.h
index 9d99ca5c9c..22e4c0a77e 100644
--- a/arch/risc-v/src/esp32c3/esp32c3_rsa.h
+++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_rsa.h
@@ -1,5 +1,5 @@
 /****************************************************************************
- * arch/risc-v/src/esp32c3/esp32c3_rsa.h
+ * arch/risc-v/src/esp32c3-legacy/esp32c3_rsa.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_RSA_H
-#define __ARCH_RISCV_SRC_ESP32C3_ESP32C3_RSA_H
+#ifndef __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_RSA_H
+#define __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_RSA_H
 
 #include <nuttx/config.h>
 #include <stdint.h>
@@ -508,4 +508,4 @@ void esp32c3_rsa_free(struct esp32c3_rsa_context_s *ctx);
 #undef EXTERN
 
 #endif /* __ASSEMBLY__ */
-#endif /* __ARCH_RISCV_SRC_ESP32C3_ESP32C3_RSA_H */
+#endif /* __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_RSA_H */
diff --git a/arch/risc-v/src/esp32c3/esp32c3_rt_timer.c b/arch/risc-v/src/esp32c3-legacy/esp32c3_rt_timer.c
similarity index 99%
rename from arch/risc-v/src/esp32c3/esp32c3_rt_timer.c
rename to arch/risc-v/src/esp32c3-legacy/esp32c3_rt_timer.c
index 5880922492..3d395d8bb3 100644
--- a/arch/risc-v/src/esp32c3/esp32c3_rt_timer.c
+++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_rt_timer.c
@@ -1,5 +1,5 @@
 /****************************************************************************
- * arch/risc-v/src/esp32c3/esp32c3_rt_timer.c
+ * arch/risc-v/src/esp32c3-legacy/esp32c3_rt_timer.c
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
diff --git a/arch/risc-v/src/esp32c3/esp32c3_rt_timer.h b/arch/risc-v/src/esp32c3-legacy/esp32c3_rt_timer.h
similarity index 96%
rename from arch/risc-v/src/esp32c3/esp32c3_rt_timer.h
rename to arch/risc-v/src/esp32c3-legacy/esp32c3_rt_timer.h
index 86cb10897e..b54c7237a1 100644
--- a/arch/risc-v/src/esp32c3/esp32c3_rt_timer.h
+++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_rt_timer.h
@@ -1,5 +1,5 @@
 /****************************************************************************
- * arch/risc-v/src/esp32c3/esp32c3_rt_timer.h
+ * arch/risc-v/src/esp32c3-legacy/esp32c3_rt_timer.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_RT_TIMER_H
-#define __ARCH_RISCV_SRC_ESP32C3_ESP32C3_RT_TIMER_H
+#ifndef __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_RT_TIMER_H
+#define __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_RT_TIMER_H
 
 /****************************************************************************
  * Included Files
@@ -241,4 +241,4 @@ void esp32c3_rt_timer_deinit(void);
 #endif
 #undef EXTERN
 
-#endif /* __ARCH_RISCV_SRC_ESP32C3_ESP32C3_RT_TIMER_H */
+#endif /* __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_RT_TIMER_H */
diff --git a/arch/risc-v/src/esp32c3/esp32c3_rtc.c b/arch/risc-v/src/esp32c3-legacy/esp32c3_rtc.c
similarity index 99%
rename from arch/risc-v/src/esp32c3/esp32c3_rtc.c
rename to arch/risc-v/src/esp32c3-legacy/esp32c3_rtc.c
index af881e75f7..8019e9a0ac 100644
--- a/arch/risc-v/src/esp32c3/esp32c3_rtc.c
+++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_rtc.c
@@ -1,5 +1,5 @@
 /****************************************************************************
- * arch/risc-v/src/esp32c3/esp32c3_rtc.c
+ * arch/risc-v/src/esp32c3-legacy/esp32c3_rtc.c
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
diff --git a/arch/risc-v/src/esp32c3/esp32c3_rtc.h b/arch/risc-v/src/esp32c3-legacy/esp32c3_rtc.h
similarity index 99%
rename from arch/risc-v/src/esp32c3/esp32c3_rtc.h
rename to arch/risc-v/src/esp32c3-legacy/esp32c3_rtc.h
index d26fbddbf7..203b290237 100644
--- a/arch/risc-v/src/esp32c3/esp32c3_rtc.h
+++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_rtc.h
@@ -1,5 +1,5 @@
 /****************************************************************************
- * arch/risc-v/src/esp32c3/esp32c3_rtc.h
+ * arch/risc-v/src/esp32c3-legacy/esp32c3_rtc.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_RTC_H
-#define __ARCH_RISCV_SRC_ESP32C3_ESP32C3_RTC_H
+#ifndef __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_RTC_H
+#define __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_RTC_H
 
 /****************************************************************************
  * Included Files
@@ -734,4 +734,4 @@ int up_rtc_timer_init(void);
 #undef EXTERN
 
 #endif /* __ASSEMBLY__ */
-#endif /* __ARCH_RISCV_SRC_ESP32C3_ESP32C3_RTC_H */
+#endif /* __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_RTC_H */
diff --git a/arch/risc-v/src/esp32c3/esp32c3_rtc_gpio.c b/arch/risc-v/src/esp32c3-legacy/esp32c3_rtc_gpio.c
similarity index 99%
rename from arch/risc-v/src/esp32c3/esp32c3_rtc_gpio.c
rename to arch/risc-v/src/esp32c3-legacy/esp32c3_rtc_gpio.c
index a73209999e..d8c419303e 100644
--- a/arch/risc-v/src/esp32c3/esp32c3_rtc_gpio.c
+++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_rtc_gpio.c
@@ -1,5 +1,5 @@
 /****************************************************************************
- * arch/risc-v/src/esp32c3/esp32c3_rtc_gpio.c
+ * arch/risc-v/src/esp32c3-legacy/esp32c3_rtc_gpio.c
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
diff --git a/arch/risc-v/src/esp32c3/esp32c3_rtc_gpio.h b/arch/risc-v/src/esp32c3-legacy/esp32c3_rtc_gpio.h
similarity index 94%
rename from arch/risc-v/src/esp32c3/esp32c3_rtc_gpio.h
rename to arch/risc-v/src/esp32c3-legacy/esp32c3_rtc_gpio.h
index cccdfc216c..7eb8a2f667 100644
--- a/arch/risc-v/src/esp32c3/esp32c3_rtc_gpio.h
+++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_rtc_gpio.h
@@ -1,5 +1,5 @@
 /****************************************************************************
- * arch/risc-v/src/esp32c3/esp32c3_rtc_gpio.h
+ * arch/risc-v/src/esp32c3-legacy/esp32c3_rtc_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_RTC_GPIO_H
-#define __ARCH_RISCV_SRC_ESP32C3_ESP32C3_RTC_GPIO_H
+#ifndef __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_RTC_GPIO_H
+#define __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_RTC_GPIO_H
 
 /****************************************************************************
  * Included Files
@@ -146,4 +146,4 @@ void esp32c3_rtcioirqdisable(int irq);
 #endif
 
 #endif /* __ASSEMBLY__ */
-#endif /* __ARCH_RISCV_SRC_ESP32C3_ESP32C3_RTC_GPIO_H */
+#endif /* __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_RTC_GPIO_H */
diff --git a/arch/risc-v/src/esp32c3/esp32c3_rtc_lowerhalf.c b/arch/risc-v/src/esp32c3-legacy/esp32c3_rtc_lowerhalf.c
similarity index 99%
rename from arch/risc-v/src/esp32c3/esp32c3_rtc_lowerhalf.c
rename to arch/risc-v/src/esp32c3-legacy/esp32c3_rtc_lowerhalf.c
index 017c4a91a7..e962490f11 100644
--- a/arch/risc-v/src/esp32c3/esp32c3_rtc_lowerhalf.c
+++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_rtc_lowerhalf.c
@@ -1,5 +1,5 @@
 /****************************************************************************
- * arch/risc-v/src/esp32c3/esp32c3_rtc_lowerhalf.c
+ * arch/risc-v/src/esp32c3-legacy/esp32c3_rtc_lowerhalf.c
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
diff --git a/arch/risc-v/src/esp32c3/esp32c3_rtc_lowerhalf.h b/arch/risc-v/src/esp32c3-legacy/esp32c3_rtc_lowerhalf.h
similarity index 88%
rename from arch/risc-v/src/esp32c3/esp32c3_rtc_lowerhalf.h
rename to arch/risc-v/src/esp32c3-legacy/esp32c3_rtc_lowerhalf.h
index 452570d0e5..8c42f967ce 100644
--- a/arch/risc-v/src/esp32c3/esp32c3_rtc_lowerhalf.h
+++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_rtc_lowerhalf.h
@@ -1,5 +1,5 @@
 /****************************************************************************
- * arch/risc-v/src/esp32c3/esp32c3_rtc_lowerhalf.h
+ * arch/risc-v/src/esp32c3-legacy/esp32c3_rtc_lowerhalf.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_RTC_LOWERHALF_H
-#define __ARCH_RISCV_SRC_ESP32C3_ESP32C3_RTC_LOWERHALF_H
+#ifndef __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_RTC_LOWERHALF_H
+#define __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_RTC_LOWERHALF_H
 
 /****************************************************************************
  * Included Files
@@ -53,4 +53,4 @@ int esp32c3_rtc_driverinit(void);
 
 #endif /* CONFIG_RTC_DRIVER */
 
-#endif /* __ARCH_RISCV_SRC_ESP32C3_ESP32C3_RTC_LOWERHALF_H */
+#endif /* __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_RTC_LOWERHALF_H */
diff --git a/arch/risc-v/src/esp32c3/esp32c3_rtcheap.c b/arch/risc-v/src/esp32c3-legacy/esp32c3_rtcheap.c
similarity index 98%
rename from arch/risc-v/src/esp32c3/esp32c3_rtcheap.c
rename to arch/risc-v/src/esp32c3-legacy/esp32c3_rtcheap.c
index 7db37cd6cb..c7ada6ed76 100644
--- a/arch/risc-v/src/esp32c3/esp32c3_rtcheap.c
+++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_rtcheap.c
@@ -1,5 +1,5 @@
 /****************************************************************************
- * arch/risc-v/src/esp32c3/esp32c3_rtcheap.c
+ * arch/risc-v/src/esp32c3-legacy/esp32c3_rtcheap.c
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
@@ -54,7 +54,7 @@ void esp32c3_rtcheap_initialize(void)
 
   /* 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 _srtcheap[];
diff --git a/arch/risc-v/src/esp32c3/esp32c3_rtcheap.h b/arch/risc-v/src/esp32c3-legacy/esp32c3_rtcheap.h
similarity index 95%
rename from arch/risc-v/src/esp32c3/esp32c3_rtcheap.h
rename to arch/risc-v/src/esp32c3-legacy/esp32c3_rtcheap.h
index 88ab9b6872..2925346680 100644
--- a/arch/risc-v/src/esp32c3/esp32c3_rtcheap.h
+++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_rtcheap.h
@@ -1,5 +1,5 @@
 /****************************************************************************
- * arch/risc-v/src/esp32c3/esp32c3_rtcheap.h
+ * arch/risc-v/src/esp32c3-legacy/esp32c3_rtcheap.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_RTCHEAP_H
-#define __ARCH_RISCV_SRC_ESP32C3_ESP32C3_RTCHEAP_H
+#ifndef __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_RTCHEAP_H
+#define __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_RTCHEAP_H
 
 /****************************************************************************
  * Public Function Prototypes
@@ -143,4 +143,4 @@ struct mallinfo esp32c3_rtcheap_mallinfo(void);
 }
 #endif
 
-#endif /* __ARCH_RISCV_SRC_ESP32C3_ESP32C3_RTCHEAP_H */
+#endif /* __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_RTCHEAP_H */
diff --git a/arch/risc-v/src/esp32c3/esp32c3_serial.c b/arch/risc-v/src/esp32c3-legacy/esp32c3_serial.c
similarity index 99%
rename from arch/risc-v/src/esp32c3/esp32c3_serial.c
rename to arch/risc-v/src/esp32c3-legacy/esp32c3_serial.c
index 31a2532dd5..f85d1a7418 100644
--- a/arch/risc-v/src/esp32c3/esp32c3_serial.c
+++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_serial.c
@@ -1,5 +1,5 @@
 /****************************************************************************
- * arch/risc-v/src/esp32c3/esp32c3_serial.c
+ * arch/risc-v/src/esp32c3-legacy/esp32c3_serial.c
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
diff --git a/arch/risc-v/src/esp32c3/esp32c3_sha.c b/arch/risc-v/src/esp32c3-legacy/esp32c3_sha.c
similarity index 99%
rename from arch/risc-v/src/esp32c3/esp32c3_sha.c
rename to arch/risc-v/src/esp32c3-legacy/esp32c3_sha.c
index db8ec46d76..cd83b72af7 100644
--- a/arch/risc-v/src/esp32c3/esp32c3_sha.c
+++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_sha.c
@@ -1,5 +1,5 @@
 /****************************************************************************
- * arch/risc-v/src/esp32c3/esp32c3_sha.c
+ * arch/risc-v/src/esp32c3-legacy/esp32c3_sha.c
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
diff --git a/arch/risc-v/src/esp32c3/esp32c3_sha.h b/arch/risc-v/src/esp32c3-legacy/esp32c3_sha.h
similarity index 97%
rename from arch/risc-v/src/esp32c3/esp32c3_sha.h
rename to arch/risc-v/src/esp32c3-legacy/esp32c3_sha.h
index 8c732ffcba..a5ccdaf6f8 100644
--- a/arch/risc-v/src/esp32c3/esp32c3_sha.h
+++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_sha.h
@@ -1,5 +1,5 @@
 /****************************************************************************
- * arch/risc-v/src/esp32c3/esp32c3_sha.h
+ * arch/risc-v/src/esp32c3-legacy/esp32c3_sha.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_SHA_H
-#define __ARCH_RISCV_SRC_ESP32C3_ESP32C3_SHA_H
+#ifndef __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_SHA_H
+#define __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_SHA_H
 
 #include <nuttx/config.h>
 #include <stdint.h>
@@ -266,4 +266,4 @@ int esp32c3_sha256_finish(struct esp32c3_sha256_context_s *ctx,
 #undef EXTERN
 
 #endif /* __ASSEMBLY__ */
-#endif /* __ARCH_RISCV_SRC_ESP32C3_ESP32C3_SHA_H */
+#endif /* __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_SHA_H */
diff --git a/arch/risc-v/src/esp32c3/esp32c3_spi.c b/arch/risc-v/src/esp32c3-legacy/esp32c3_spi.c
similarity index 99%
rename from arch/risc-v/src/esp32c3/esp32c3_spi.c
rename to arch/risc-v/src/esp32c3-legacy/esp32c3_spi.c
index daab611eb6..f1ad8f840d 100644
--- a/arch/risc-v/src/esp32c3/esp32c3_spi.c
+++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_spi.c
@@ -1,5 +1,5 @@
 /****************************************************************************
- * arch/risc-v/src/esp32c3/esp32c3_spi.c
+ * arch/risc-v/src/esp32c3-legacy/esp32c3_spi.c
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
diff --git a/arch/risc-v/src/esp32c3/esp32c3_spi.h b/arch/risc-v/src/esp32c3-legacy/esp32c3_spi.h
similarity index 96%
rename from arch/risc-v/src/esp32c3/esp32c3_spi.h
rename to arch/risc-v/src/esp32c3-legacy/esp32c3_spi.h
index 6f983c3371..68a62e8eb8 100644
--- a/arch/risc-v/src/esp32c3/esp32c3_spi.h
+++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_spi.h
@@ -1,5 +1,5 @@
 /****************************************************************************
- * arch/risc-v/src/esp32c3/esp32c3_spi.h
+ * arch/risc-v/src/esp32c3-legacy/esp32c3_spi.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_SPI_H
-#define __ARCH_RISCV_SRC_ESP32C3_ESP32C3_SPI_H
+#ifndef __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_SPI_H
+#define __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_SPI_H
 
 /****************************************************************************
  * Included Files
@@ -167,4 +167,4 @@ int esp32c3_spislave_ctrlr_uninitialize(struct spi_slave_ctrlr_s *ctrlr);
 #undef EXTERN
 
 #endif /* __ASSEMBLY__ */
-#endif /* __ARCH_RISCV_SRC_ESP32C3_ESP32C3_SPI_H */
+#endif /* __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_SPI_H */
diff --git a/arch/risc-v/src/esp32c3/esp32c3_spi_slave.c b/arch/risc-v/src/esp32c3-legacy/esp32c3_spi_slave.c
similarity index 99%
rename from arch/risc-v/src/esp32c3/esp32c3_spi_slave.c
rename to arch/risc-v/src/esp32c3-legacy/esp32c3_spi_slave.c
index ef0f4d21ed..3bc8e8b9b3 100644
--- a/arch/risc-v/src/esp32c3/esp32c3_spi_slave.c
+++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_spi_slave.c
@@ -1,5 +1,5 @@
 /****************************************************************************
- * arch/risc-v/src/esp32c3/esp32c3_spi_slave.c
+ * arch/risc-v/src/esp32c3-legacy/esp32c3_spi_slave.c
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
diff --git a/arch/risc-v/src/esp32c3/esp32c3_spiflash.c b/arch/risc-v/src/esp32c3-legacy/esp32c3_spiflash.c
similarity index 99%
rename from arch/risc-v/src/esp32c3/esp32c3_spiflash.c
rename to arch/risc-v/src/esp32c3-legacy/esp32c3_spiflash.c
index 9cccbe02e3..3f3efae19d 100644
--- a/arch/risc-v/src/esp32c3/esp32c3_spiflash.c
+++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_spiflash.c
@@ -1,5 +1,5 @@
 /****************************************************************************
- * arch/risc-v/src/esp32c3/esp32c3_spiflash.c
+ * arch/risc-v/src/esp32c3-legacy/esp32c3_spiflash.c
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
diff --git a/arch/risc-v/src/esp32c3/esp32c3_spiflash.h b/arch/risc-v/src/esp32c3-legacy/esp32c3_spiflash.h
similarity index 94%
rename from arch/risc-v/src/esp32c3/esp32c3_spiflash.h
rename to arch/risc-v/src/esp32c3-legacy/esp32c3_spiflash.h
index 85125b8c14..2747f6a0f0 100644
--- a/arch/risc-v/src/esp32c3/esp32c3_spiflash.h
+++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_spiflash.h
@@ -1,5 +1,5 @@
 /****************************************************************************
- * arch/risc-v/src/esp32c3/esp32c3_spiflash.h
+ * arch/risc-v/src/esp32c3-legacy/esp32c3_spiflash.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_SPIFLASH_H
-#define __ARCH_RISCV_SRC_ESP32C3_ESP32C3_SPIFLASH_H
+#ifndef __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_SPIFLASH_H
+#define __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_SPIFLASH_H
 
 /****************************************************************************
  * Included Files
@@ -129,4 +129,4 @@ int esp32c3_spiflash_init(void);
 #undef EXTERN
 
 #endif /* __ASSEMBLY__ */
-#endif /* __ARCH_RISCV_SRC_ESP32C3_ESP32C3_SPIFLASH_H */
+#endif /* __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_SPIFLASH_H */
diff --git a/arch/risc-v/src/esp32c3/esp32c3_spiflash_mtd.c b/arch/risc-v/src/esp32c3-legacy/esp32c3_spiflash_mtd.c
similarity index 99%
rename from arch/risc-v/src/esp32c3/esp32c3_spiflash_mtd.c
rename to arch/risc-v/src/esp32c3-legacy/esp32c3_spiflash_mtd.c
index 83c46b391a..f7ec873ce7 100644
--- a/arch/risc-v/src/esp32c3/esp32c3_spiflash_mtd.c
+++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_spiflash_mtd.c
@@ -1,5 +1,5 @@
 /****************************************************************************
- * arch/risc-v/src/esp32c3/esp32c3_spiflash_mtd.c
+ * arch/risc-v/src/esp32c3-legacy/esp32c3_spiflash_mtd.c
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
diff --git a/arch/risc-v/src/esp32c3/esp32c3_spiflash_mtd.h b/arch/risc-v/src/esp32c3-legacy/esp32c3_spiflash_mtd.h
similarity index 92%
rename from arch/risc-v/src/esp32c3/esp32c3_spiflash_mtd.h
rename to arch/risc-v/src/esp32c3-legacy/esp32c3_spiflash_mtd.h
index 1d0700ac93..cc23bf09b5 100644
--- a/arch/risc-v/src/esp32c3/esp32c3_spiflash_mtd.h
+++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_spiflash_mtd.h
@@ -1,5 +1,5 @@
 /****************************************************************************
- * arch/risc-v/src/esp32c3/esp32c3_spiflash_mtd.h
+ * arch/risc-v/src/esp32c3-legacy/esp32c3_spiflash_mtd.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_SPIFLASH_MTD_H
-#define __ARCH_RISCV_SRC_ESP32C3_ESP32C3_SPIFLASH_MTD_H
+#ifndef __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_SPIFLASH_MTD_H
+#define __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_SPIFLASH_MTD_H
 
 /****************************************************************************
  * Included Files
@@ -105,4 +105,4 @@ struct mtd_dev_s *esp32c3_spiflash_alloc_mtdpart(uint32_t mtd_offset,
 #undef EXTERN
 
 #endif /* __ASSEMBLY__ */
-#endif /* __ARCH_RISCV_SRC_ESP32C3_ESP32C3_SPIFLASH_MTD_H */
+#endif /* __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_SPIFLASH_MTD_H */
diff --git a/arch/risc-v/src/esp32c3/esp32c3_start.c b/arch/risc-v/src/esp32c3-legacy/esp32c3_start.c
similarity index 99%
rename from arch/risc-v/src/esp32c3/esp32c3_start.c
rename to arch/risc-v/src/esp32c3-legacy/esp32c3_start.c
index eba49d39ad..c1c58b7ba1 100644
--- a/arch/risc-v/src/esp32c3/esp32c3_start.c
+++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_start.c
@@ -1,5 +1,5 @@
 /****************************************************************************
- * arch/risc-v/src/esp32c3/esp32c3_start.c
+ * arch/risc-v/src/esp32c3-legacy/esp32c3_start.c
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
diff --git a/arch/risc-v/src/esp32c3/esp32c3_start.h b/arch/risc-v/src/esp32c3-legacy/esp32c3_start.h
similarity index 90%
rename from arch/risc-v/src/esp32c3/esp32c3_start.h
rename to arch/risc-v/src/esp32c3-legacy/esp32c3_start.h
index f32ba06a01..3e4db7ebe2 100644
--- a/arch/risc-v/src/esp32c3/esp32c3_start.h
+++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_start.h
@@ -1,5 +1,5 @@
 /****************************************************************************
- * arch/risc-v/src/esp32c3/esp32c3_start.h
+ * arch/risc-v/src/esp32c3-legacy/esp32c3_start.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_START_H
-#define __ARCH_RISCV_SRC_ESP32C3_ESP32C3_START_H
+#ifndef __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_START_H
+#define __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_START_H
 
 /****************************************************************************
  * Included Files
@@ -52,4 +52,4 @@
 
 void esp32c3_board_initialize(void);
 
-#endif /* __ARCH_RISCV_SRC_ESP32C3_ESP32C3_START_H */
+#endif /* __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_START_H */
diff --git a/arch/risc-v/src/esp32c3/esp32c3_systemreset.c b/arch/risc-v/src/esp32c3-legacy/esp32c3_systemreset.c
similarity index 98%
rename from arch/risc-v/src/esp32c3/esp32c3_systemreset.c
rename to arch/risc-v/src/esp32c3-legacy/esp32c3_systemreset.c
index 219f5735cc..b6a99c7003 100644
--- a/arch/risc-v/src/esp32c3/esp32c3_systemreset.c
+++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_systemreset.c
@@ -1,5 +1,5 @@
 /****************************************************************************
- * arch/risc-v/src/esp32c3/esp32c3_systemreset.c
+ * arch/risc-v/src/esp32c3-legacy/esp32c3_systemreset.c
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
diff --git a/arch/risc-v/src/esp32c3/esp32c3_systemreset.h b/arch/risc-v/src/esp32c3-legacy/esp32c3_systemreset.h
similarity index 93%
rename from arch/risc-v/src/esp32c3/esp32c3_systemreset.h
rename to arch/risc-v/src/esp32c3-legacy/esp32c3_systemreset.h
index 184b506244..5ce011bb0f 100644
--- a/arch/risc-v/src/esp32c3/esp32c3_systemreset.h
+++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_systemreset.h
@@ -1,5 +1,5 @@
 /****************************************************************************
- * arch/risc-v/src/esp32c3/esp32c3_systemreset.h
+ * arch/risc-v/src/esp32c3-legacy/esp32c3_systemreset.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_SYSTEMRESET_H
-#define __ARCH_RISCV_SRC_ESP32C3_ESP32C3_SYSTEMRESET_H
+#ifndef __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_SYSTEMRESET_H
+#define __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_SYSTEMRESET_H
 
 /****************************************************************************
  * Included Files
@@ -102,4 +102,4 @@ void up_shutdown_handler(void);
 #undef EXTERN
 
 #endif /* __ASSEMBLY__ */
-#endif /* __ARCH_RISCV_SRC_ESP32C3_ESP32C3_SYSTEMRESET_H */
+#endif /* __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_SYSTEMRESET_H */
diff --git a/arch/risc-v/src/esp32c3/esp32c3_textheap.c b/arch/risc-v/src/esp32c3-legacy/esp32c3_textheap.c
similarity index 98%
rename from arch/risc-v/src/esp32c3/esp32c3_textheap.c
rename to arch/risc-v/src/esp32c3-legacy/esp32c3_textheap.c
index 52be45fe13..6286d24f75 100644
--- a/arch/risc-v/src/esp32c3/esp32c3_textheap.c
+++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_textheap.c
@@ -1,5 +1,5 @@
 /****************************************************************************
- * arch/risc-v/src/esp32c3/esp32c3_textheap.c
+ * arch/risc-v/src/esp32c3-legacy/esp32c3_textheap.c
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
diff --git a/arch/risc-v/src/esp32c3/esp32c3_tickless.c b/arch/risc-v/src/esp32c3-legacy/esp32c3_tickless.c
similarity index 99%
rename from arch/risc-v/src/esp32c3/esp32c3_tickless.c
rename to arch/risc-v/src/esp32c3-legacy/esp32c3_tickless.c
index 15752ab009..127419dd86 100644
--- a/arch/risc-v/src/esp32c3/esp32c3_tickless.c
+++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_tickless.c
@@ -1,5 +1,5 @@
 /****************************************************************************
- * arch/risc-v/src/esp32c3/esp32c3_tickless.c
+ * arch/risc-v/src/esp32c3-legacy/esp32c3_tickless.c
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
diff --git a/arch/risc-v/src/esp32c3/esp32c3_tickless.h b/arch/risc-v/src/esp32c3-legacy/esp32c3_tickless.h
similarity index 90%
rename from arch/risc-v/src/esp32c3/esp32c3_tickless.h
rename to arch/risc-v/src/esp32c3-legacy/esp32c3_tickless.h
index 7c0609eac6..8efee32e50 100644
--- a/arch/risc-v/src/esp32c3/esp32c3_tickless.h
+++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_tickless.h
@@ -1,5 +1,5 @@
 /****************************************************************************
- * arch/risc-v/src/esp32c3/esp32c3_tickless.h
+ * arch/risc-v/src/esp32c3-legacy/esp32c3_tickless.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_TICKLESS_H
-#define __ARCH_RISCV_SRC_ESP32C3_ESP32C3_TICKLESS_H
+#ifndef __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_TICKLESS_H
+#define __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_TICKLESS_H
 
 /****************************************************************************
  * Included Files
@@ -64,4 +64,4 @@ uint32_t up_get_idletime(void);
 
 void up_step_idletime(uint32_t idletime_us);
 
-#endif /* __ARCH_RISCV_SRC_ESP32C3_ESP32C3_TICKLESS_H */
+#endif /* __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_TICKLESS_H */
diff --git a/arch/risc-v/src/esp32c3/esp32c3_tim.c b/arch/risc-v/src/esp32c3-legacy/esp32c3_tim.c
similarity index 99%
rename from arch/risc-v/src/esp32c3/esp32c3_tim.c
rename to arch/risc-v/src/esp32c3-legacy/esp32c3_tim.c
index 51e4aaf84a..280cd265b0 100644
--- a/arch/risc-v/src/esp32c3/esp32c3_tim.c
+++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_tim.c
@@ -1,5 +1,5 @@
 /****************************************************************************
- * arch/risc-v/src/esp32c3/esp32c3_tim.c
+ * arch/risc-v/src/esp32c3-legacy/esp32c3_tim.c
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
diff --git a/arch/risc-v/src/esp32c3/esp32c3_tim.h b/arch/risc-v/src/esp32c3-legacy/esp32c3_tim.h
similarity index 96%
rename from arch/risc-v/src/esp32c3/esp32c3_tim.h
rename to arch/risc-v/src/esp32c3-legacy/esp32c3_tim.h
index 3d5cda5393..5d15492870 100644
--- a/arch/risc-v/src/esp32c3/esp32c3_tim.h
+++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_tim.h
@@ -1,5 +1,5 @@
 /****************************************************************************
- * arch/risc-v/src/esp32c3/esp32c3_tim.h
+ * arch/risc-v/src/esp32c3-legacy/esp32c3_tim.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_TIM_H
-#define __ARCH_RISCV_SRC_ESP32C3_ESP32C3_TIM_H
+#ifndef __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_TIM_H
+#define __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_TIM_H
 
 /****************************************************************************
  * Included Files
@@ -138,4 +138,4 @@ struct esp32c3_tim_ops_s
 struct esp32c3_tim_dev_s *esp32c3_tim_init(int timer);
 void esp32c3_tim_deinit(struct esp32c3_tim_dev_s *dev);
 
-#endif /* __ARCH_RISCV_SRC_ESP32C3_ESP32C3_TIM_H */
+#endif /* __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_TIM_H */
diff --git a/arch/risc-v/src/esp32c3/esp32c3_tim_lowerhalf.c b/arch/risc-v/src/esp32c3-legacy/esp32c3_tim_lowerhalf.c
similarity index 99%
rename from arch/risc-v/src/esp32c3/esp32c3_tim_lowerhalf.c
rename to arch/risc-v/src/esp32c3-legacy/esp32c3_tim_lowerhalf.c
index 89f5ff4985..6a45de98b6 100644
--- a/arch/risc-v/src/esp32c3/esp32c3_tim_lowerhalf.c
+++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_tim_lowerhalf.c
@@ -1,5 +1,5 @@
 /****************************************************************************
- * arch/risc-v/src/esp32c3/esp32c3_tim_lowerhalf.c
+ * arch/risc-v/src/esp32c3-legacy/esp32c3_tim_lowerhalf.c
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
diff --git a/arch/risc-v/src/esp32c3/esp32c3_tim_lowerhalf.h b/arch/risc-v/src/esp32c3-legacy/esp32c3_tim_lowerhalf.h
similarity index 86%
rename from arch/risc-v/src/esp32c3/esp32c3_tim_lowerhalf.h
rename to arch/risc-v/src/esp32c3-legacy/esp32c3_tim_lowerhalf.h
index 3648564744..06f6839b61 100644
--- a/arch/risc-v/src/esp32c3/esp32c3_tim_lowerhalf.h
+++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_tim_lowerhalf.h
@@ -1,5 +1,5 @@
 /****************************************************************************
- * arch/risc-v/src/esp32c3/esp32c3_tim_lowerhalf.h
+ * arch/risc-v/src/esp32c3-legacy/esp32c3_tim_lowerhalf.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_TIM_LOWERHALF_H
-#define __ARCH_RISCV_SRC_ESP32C3_ESP32C3_TIM_LOWERHALF_H
+#ifndef __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_TIM_LOWERHALF_H
+#define __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_TIM_LOWERHALF_H
 
 /****************************************************************************
  * Included Files
@@ -37,4 +37,4 @@
 
 int esp32c3_timer_initialize(const char *devpath, uint8_t timer);
 
-#endif /* __ARCH_RISCV_SRC_ESP32C3_ESP32C3_TIM_LOWERHALF_H */
+#endif /* __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_TIM_LOWERHALF_H */
diff --git a/arch/risc-v/src/esp32c3/esp32c3_timerisr.c b/arch/risc-v/src/esp32c3-legacy/esp32c3_timerisr.c
similarity index 98%
rename from arch/risc-v/src/esp32c3/esp32c3_timerisr.c
rename to arch/risc-v/src/esp32c3-legacy/esp32c3_timerisr.c
index 9560eb9e8b..49536f0247 100644
--- a/arch/risc-v/src/esp32c3/esp32c3_timerisr.c
+++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_timerisr.c
@@ -1,5 +1,5 @@
 /****************************************************************************
- * arch/risc-v/src/esp32c3/esp32c3_timerisr.c
+ * arch/risc-v/src/esp32c3-legacy/esp32c3_timerisr.c
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
diff --git a/arch/risc-v/src/esp32c3/esp32c3_twai.c b/arch/risc-v/src/esp32c3-legacy/esp32c3_twai.c
similarity index 99%
rename from arch/risc-v/src/esp32c3/esp32c3_twai.c
rename to arch/risc-v/src/esp32c3-legacy/esp32c3_twai.c
index b057fb6fd6..c99e091907 100644
--- a/arch/risc-v/src/esp32c3/esp32c3_twai.c
+++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_twai.c
@@ -1,5 +1,5 @@
 /****************************************************************************
- * arch/risc-v/src/esp32c3/esp32c3_twai.c
+ * arch/risc-v/src/esp32c3-legacy/esp32c3_twai.c
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
diff --git a/arch/risc-v/src/esp32c3/esp32c3_twai.h b/arch/risc-v/src/esp32c3-legacy/esp32c3_twai.h
similarity index 92%
rename from arch/risc-v/src/esp32c3/esp32c3_twai.h
rename to arch/risc-v/src/esp32c3-legacy/esp32c3_twai.h
index d844426a61..de007589db 100644
--- a/arch/risc-v/src/esp32c3/esp32c3_twai.h
+++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_twai.h
@@ -1,5 +1,5 @@
 /****************************************************************************
- * arch/risc-v/src/esp32c3/esp32c3_twai.h
+ * arch/risc-v/src/esp32c3-legacy/esp32c3_twai.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_TWAI_H
-#define __ARCH_RISCV_SRC_ESP32C3_ESP32C3_TWAI_H
+#ifndef __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_TWAI_H
+#define __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_TWAI_H
 
 /****************************************************************************
  * Included Files
@@ -74,4 +74,4 @@ struct can_dev_s *esp32c3_twaiinitialize(int port);
 #endif
 #endif /* __ASSEMBLY__ */
 
-#endif /* __ARCH_RISCV_SRC_ESP32C3_ESP32C3_TWAI_H */
+#endif /* __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_TWAI_H */
diff --git a/arch/risc-v/src/esp32c3/esp32c3_uid.c b/arch/risc-v/src/esp32c3-legacy/esp32c3_uid.c
similarity index 97%
rename from arch/risc-v/src/esp32c3/esp32c3_uid.c
rename to arch/risc-v/src/esp32c3-legacy/esp32c3_uid.c
index e823d05628..bc31744f4e 100644
--- a/arch/risc-v/src/esp32c3/esp32c3_uid.c
+++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_uid.c
@@ -1,5 +1,5 @@
 /****************************************************************************
- * arch/risc-v/src/esp32c3/esp32c3_uid.c
+ * arch/risc-v/src/esp32c3-legacy/esp32c3_uid.c
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
diff --git a/arch/risc-v/src/esp32c3/esp32c3_uid.h b/arch/risc-v/src/esp32c3-legacy/esp32c3_uid.h
similarity index 88%
rename from arch/risc-v/src/esp32c3/esp32c3_uid.h
rename to arch/risc-v/src/esp32c3-legacy/esp32c3_uid.h
index 51c113c3e6..5c9e28db37 100644
--- a/arch/risc-v/src/esp32c3/esp32c3_uid.h
+++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_uid.h
@@ -1,5 +1,5 @@
 /****************************************************************************
- * arch/risc-v/src/esp32c3/esp32c3_uid.h
+ * arch/risc-v/src/esp32c3-legacy/esp32c3_uid.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_UID_H
-#define __ARCH_RISCV_SRC_ESP32C3_ESP32C3_UID_H
+#ifndef __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_UID_H
+#define __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_UID_H
 
 /****************************************************************************
  * Included Files
@@ -47,4 +47,4 @@
 
 void esp32c3_get_uniqueid(uint8_t *uniqueid);
 
-#endif /* __ARCH_RISCV_SRC_ESP32C3_ESP32C3_UID_H */
+#endif /* __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_UID_H */
diff --git a/arch/risc-v/src/esp32c3/esp32c3_usbserial.c b/arch/risc-v/src/esp32c3-legacy/esp32c3_usbserial.c
similarity index 99%
rename from arch/risc-v/src/esp32c3/esp32c3_usbserial.c
rename to arch/risc-v/src/esp32c3-legacy/esp32c3_usbserial.c
index 8cbb3972df..0fc2d518f7 100644
--- a/arch/risc-v/src/esp32c3/esp32c3_usbserial.c
+++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_usbserial.c
@@ -1,5 +1,5 @@
 /****************************************************************************
- * arch/risc-v/src/esp32c3/esp32c3_usbserial.c
+ * arch/risc-v/src/esp32c3-legacy/esp32c3_usbserial.c
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
diff --git a/arch/risc-v/src/esp32c3/esp32c3_usbserial.h b/arch/risc-v/src/esp32c3-legacy/esp32c3_usbserial.h
similarity index 88%
rename from arch/risc-v/src/esp32c3/esp32c3_usbserial.h
rename to arch/risc-v/src/esp32c3-legacy/esp32c3_usbserial.h
index 9c5f3f958d..d9d2e5c75a 100644
--- a/arch/risc-v/src/esp32c3/esp32c3_usbserial.h
+++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_usbserial.h
@@ -1,5 +1,5 @@
 /****************************************************************************
- * arch/risc-v/src/esp32c3/esp32c3_usbserial.h
+ * arch/risc-v/src/esp32c3-legacy/esp32c3_usbserial.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_USBSERIAL_H
-#define __ARCH_RISCV_SRC_ESP32C3_ESP32C3_USBSERIAL_H
+#ifndef __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_USBSERIAL_H
+#define __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_USBSERIAL_H
 
 /****************************************************************************
  * Included Files
@@ -48,4 +48,4 @@ extern uart_dev_t g_uart_usbserial;
 
 void esp32c3_usbserial_write(char ch);
 
-#endif /* __ARCH_RISCV_SRC_ESP32C3_ESP32C3_USBSERIAL_H */
+#endif /* __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_USBSERIAL_H */
diff --git a/arch/risc-v/src/esp32c3/esp32c3_userspace.c b/arch/risc-v/src/esp32c3-legacy/esp32c3_userspace.c
similarity index 99%
rename from arch/risc-v/src/esp32c3/esp32c3_userspace.c
rename to arch/risc-v/src/esp32c3-legacy/esp32c3_userspace.c
index 5628c90603..fd8137788d 100644
--- a/arch/risc-v/src/esp32c3/esp32c3_userspace.c
+++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_userspace.c
@@ -1,5 +1,5 @@
 /****************************************************************************
- * arch/risc-v/src/esp32c3/esp32c3_userspace.c
+ * arch/risc-v/src/esp32c3-legacy/esp32c3_userspace.c
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
diff --git a/arch/risc-v/src/esp32c3/esp32c3_userspace.h b/arch/risc-v/src/esp32c3-legacy/esp32c3_userspace.h
similarity index 88%
rename from arch/risc-v/src/esp32c3/esp32c3_userspace.h
rename to arch/risc-v/src/esp32c3-legacy/esp32c3_userspace.h
index bc1d135174..216ec30d77 100644
--- a/arch/risc-v/src/esp32c3/esp32c3_userspace.h
+++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_userspace.h
@@ -1,5 +1,5 @@
 /****************************************************************************
- * arch/risc-v/src/esp32c3/esp32c3_userspace.h
+ * arch/risc-v/src/esp32c3-legacy/esp32c3_userspace.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_USERSPACE_H
-#define __ARCH_RISCV_SRC_ESP32C3_ESP32C3_USERSPACE_H
+#ifndef __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_USERSPACE_H
+#define __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_USERSPACE_H
 
 /****************************************************************************
  * Included Files
@@ -46,4 +46,4 @@
 void esp32c3_userspace(void);
 #endif
 
-#endif /* __ARCH_RISCV_SRC_ESP32C3_ESP32C3_USERSPACE_H */
+#endif /* __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_USERSPACE_H */
diff --git a/arch/risc-v/src/esp32c3/esp32c3_vectors.S b/arch/risc-v/src/esp32c3-legacy/esp32c3_vectors.S
similarity index 95%
rename from arch/risc-v/src/esp32c3/esp32c3_vectors.S
rename to arch/risc-v/src/esp32c3-legacy/esp32c3_vectors.S
index 25e1620609..ec69546f31 100644
--- a/arch/risc-v/src/esp32c3/esp32c3_vectors.S
+++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_vectors.S
@@ -1,5 +1,5 @@
 /****************************************************************************
- * arch/risc-v/src/esp32c3/esp32c3_vectors.S
+ * arch/risc-v/src/esp32c3-legacy/esp32c3_vectors.S
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
@@ -24,7 +24,7 @@
 
 #include <nuttx/config.h>
 #include <arch/irq.h>
-#include <arch/esp32c3/irq.h>
+#include <arch/esp32c3-legacy/irq.h>
 
 #include "chip.h"
 
diff --git a/arch/risc-v/src/esp32c3/esp32c3_wdt.c b/arch/risc-v/src/esp32c3-legacy/esp32c3_wdt.c
similarity index 99%
rename from arch/risc-v/src/esp32c3/esp32c3_wdt.c
rename to arch/risc-v/src/esp32c3-legacy/esp32c3_wdt.c
index e1cfe69a7b..a908dc00fd 100644
--- a/arch/risc-v/src/esp32c3/esp32c3_wdt.c
+++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_wdt.c
@@ -1,5 +1,5 @@
 /****************************************************************************
- * arch/risc-v/src/esp32c3/esp32c3_wdt.c
+ * arch/risc-v/src/esp32c3-legacy/esp32c3_wdt.c
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
diff --git a/arch/risc-v/src/esp32c3/esp32c3_wdt.h b/arch/risc-v/src/esp32c3-legacy/esp32c3_wdt.h
similarity index 96%
rename from arch/risc-v/src/esp32c3/esp32c3_wdt.h
rename to arch/risc-v/src/esp32c3-legacy/esp32c3_wdt.h
index 82b09d5f85..78f00761fc 100644
--- a/arch/risc-v/src/esp32c3/esp32c3_wdt.h
+++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_wdt.h
@@ -1,5 +1,5 @@
 /****************************************************************************
- * arch/risc-v/src/esp32c3/esp32c3_wdt.h
+ * arch/risc-v/src/esp32c3-legacy/esp32c3_wdt.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_WDT_H
-#define __ARCH_RISCV_SRC_ESP32C3_ESP32C3_WDT_H
+#ifndef __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_WDT_H
+#define __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_WDT_H
 
 /****************************************************************************
  * Included Files
@@ -144,4 +144,4 @@ void esp32c3_wdt_early_deinit(void);
 void esp32c3_wdt_deinit(struct esp32c3_wdt_dev_s *dev);
 bool esp32c3_wdt_is_running(struct esp32c3_wdt_dev_s *dev);
 
-#endif /* __ARCH_RISCV_SRC_ESP32C3_ESP32C3_WDT_H */
+#endif /* __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_WDT_H */
diff --git a/arch/risc-v/src/esp32c3/esp32c3_wdt_lowerhalf.c b/arch/risc-v/src/esp32c3-legacy/esp32c3_wdt_lowerhalf.c
similarity index 99%
rename from arch/risc-v/src/esp32c3/esp32c3_wdt_lowerhalf.c
rename to arch/risc-v/src/esp32c3-legacy/esp32c3_wdt_lowerhalf.c
index 490bf78535..bd22628a17 100644
--- a/arch/risc-v/src/esp32c3/esp32c3_wdt_lowerhalf.c
+++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_wdt_lowerhalf.c
@@ -1,5 +1,5 @@
 /****************************************************************************
- * arch/risc-v/src/esp32c3/esp32c3_wdt_lowerhalf.c
+ * arch/risc-v/src/esp32c3-legacy/esp32c3_wdt_lowerhalf.c
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
diff --git a/arch/risc-v/src/esp32c3/esp32c3_wdt_lowerhalf.h b/arch/risc-v/src/esp32c3-legacy/esp32c3_wdt_lowerhalf.h
similarity index 89%
rename from arch/risc-v/src/esp32c3/esp32c3_wdt_lowerhalf.h
rename to arch/risc-v/src/esp32c3-legacy/esp32c3_wdt_lowerhalf.h
index 354e0d48ae..b16f94ddd5 100644
--- a/arch/risc-v/src/esp32c3/esp32c3_wdt_lowerhalf.h
+++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_wdt_lowerhalf.h
@@ -1,5 +1,5 @@
 /****************************************************************************
- * arch/risc-v/src/esp32c3/esp32c3_wdt_lowerhalf.h
+ * arch/risc-v/src/esp32c3-legacy/esp32c3_wdt_lowerhalf.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_WDT_LOWERHALF_H
-#define __ARCH_RISCV_SRC_ESP32C3_ESP32C3_WDT_LOWERHALF_H
+#ifndef __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_WDT_LOWERHALF_H
+#define __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_WDT_LOWERHALF_H
 
 /****************************************************************************
  * Included Files
@@ -55,4 +55,4 @@
 
 int esp32c3_wdt_initialize(const char *devpath, enum esp32c3_wdt_inst_e wdt);
 
-#endif /* __ARCH_RISCV_SRC_ESP32C3_ESP32C3_WDT_LOWERHALF_H */
+#endif /* __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_WDT_LOWERHALF_H */
diff --git a/arch/risc-v/src/esp32c3/esp32c3_wifi_adapter.c b/arch/risc-v/src/esp32c3-legacy/esp32c3_wifi_adapter.c
similarity index 99%
rename from arch/risc-v/src/esp32c3/esp32c3_wifi_adapter.c
rename to arch/risc-v/src/esp32c3-legacy/esp32c3_wifi_adapter.c
index 92a4377b36..0512f59e3b 100644
--- a/arch/risc-v/src/esp32c3/esp32c3_wifi_adapter.c
+++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_wifi_adapter.c
@@ -1,5 +1,5 @@
 /****************************************************************************
- * arch/risc-v/src/esp32c3/esp32c3_wifi_adapter.c
+ * arch/risc-v/src/esp32c3-legacy/esp32c3_wifi_adapter.c
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
diff --git a/arch/risc-v/src/esp32c3/esp32c3_wifi_adapter.h b/arch/risc-v/src/esp32c3-legacy/esp32c3_wifi_adapter.h
similarity index 98%
rename from arch/risc-v/src/esp32c3/esp32c3_wifi_adapter.h
rename to arch/risc-v/src/esp32c3-legacy/esp32c3_wifi_adapter.h
index b3165d45a0..5d81fa0954 100644
--- a/arch/risc-v/src/esp32c3/esp32c3_wifi_adapter.h
+++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_wifi_adapter.h
@@ -1,5 +1,5 @@
 /****************************************************************************
- * arch/risc-v/src/esp32c3/esp32c3_wifi_adapter.h
+ * arch/risc-v/src/esp32c3-legacy/esp32c3_wifi_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_WIFI_ADAPTER_H
-#define __ARCH_RISCV_SRC_ESP32C3_ESP32C3_WIFI_ADAPTER_H
+#ifndef __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_WIFI_ADAPTER_H
+#define __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_WIFI_ADAPTER_H
 
 /****************************************************************************
  * Included Files
@@ -858,4 +858,4 @@ void esp_wifi_stop_callback(void);
 #undef EXTERN
 
 #endif /* __ASSEMBLY__ */
-#endif /* __ARCH_RISCV_SRC_ESP32C3_ESP32C3_WIFI_ADAPTER_H */
+#endif /* __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_WIFI_ADAPTER_H */
diff --git a/arch/risc-v/src/esp32c3/esp32c3_wifi_utils.c b/arch/risc-v/src/esp32c3-legacy/esp32c3_wifi_utils.c
similarity index 99%
rename from arch/risc-v/src/esp32c3/esp32c3_wifi_utils.c
rename to arch/risc-v/src/esp32c3-legacy/esp32c3_wifi_utils.c
index 8c9ed90935..fe12aa3588 100644
--- a/arch/risc-v/src/esp32c3/esp32c3_wifi_utils.c
+++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_wifi_utils.c
@@ -1,5 +1,5 @@
 /****************************************************************************
- * arch/risc-v/src/esp32c3/esp32c3_wifi_utils.c
+ * arch/risc-v/src/esp32c3-legacy/esp32c3_wifi_utils.c
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
diff --git a/arch/risc-v/src/esp32c3/esp32c3_wifi_utils.h b/arch/risc-v/src/esp32c3-legacy/esp32c3_wifi_utils.h
similarity index 92%
rename from arch/risc-v/src/esp32c3/esp32c3_wifi_utils.h
rename to arch/risc-v/src/esp32c3-legacy/esp32c3_wifi_utils.h
index 00b10d32aa..250b99f985 100644
--- a/arch/risc-v/src/esp32c3/esp32c3_wifi_utils.h
+++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_wifi_utils.h
@@ -1,5 +1,5 @@
 /****************************************************************************
- * arch/risc-v/src/esp32c3/esp32c3_wifi_utils.h
+ * arch/risc-v/src/esp32c3-legacy/esp32c3_wifi_utils.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_WIFI_UTILS_H
-#define __ARCH_RISCV_SRC_ESP32C3_ESP32C3_WIFI_UTILS_H
+#ifndef __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_WIFI_UTILS_H
+#define __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_WIFI_UTILS_H
 
 #include <nuttx/config.h>
 #include <nuttx/net/netdev.h>
@@ -101,4 +101,4 @@ void esp_wifi_scan_event_parse(void);
 #undef EXTERN
 
 #endif /* __ASSEMBLY__ */
-#endif /* __ARCH_RISCV_SRC_ESP32C3_ESP32C3_WIFI_UTILS_H */
+#endif /* __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_WIFI_UTILS_H */
diff --git a/arch/risc-v/src/esp32c3/esp32c3_wireless.c b/arch/risc-v/src/esp32c3-legacy/esp32c3_wireless.c
similarity index 99%
rename from arch/risc-v/src/esp32c3/esp32c3_wireless.c
rename to arch/risc-v/src/esp32c3-legacy/esp32c3_wireless.c
index e19ad3b10f..3c51037fce 100644
--- a/arch/risc-v/src/esp32c3/esp32c3_wireless.c
+++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_wireless.c
@@ -1,5 +1,5 @@
 /****************************************************************************
- * arch/risc-v/src/esp32c3/esp32c3_wireless.c
+ * arch/risc-v/src/esp32c3-legacy/esp32c3_wireless.c
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
diff --git a/arch/risc-v/src/esp32c3/esp32c3_wireless.h b/arch/risc-v/src/esp32c3-legacy/esp32c3_wireless.h
similarity index 95%
rename from arch/risc-v/src/esp32c3/esp32c3_wireless.h
rename to arch/risc-v/src/esp32c3-legacy/esp32c3_wireless.h
index 14da611eb1..6f6bde1f93 100644
--- a/arch/risc-v/src/esp32c3/esp32c3_wireless.h
+++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_wireless.h
@@ -1,5 +1,5 @@
 /****************************************************************************
- * arch/risc-v/src/esp32c3/esp32c3_wireless.h
+ * arch/risc-v/src/esp32c3-legacy/esp32c3_wireless.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_WIRELESS_H
-#define __ARCH_RISCV_SRC_ESP32C3_ESP32C3_WIRELESS_H
+#ifndef __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_WIRELESS_H
+#define __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_WIRELESS_H
 
 /****************************************************************************
  * Included Files
@@ -191,4 +191,4 @@ int esp_read_mac(uint8_t *mac, esp_mac_type_t type);
 #undef EXTERN
 
 #endif /* __ASSEMBLY__ */
-#endif /* __ARCH_RISCV_SRC_ESP32C3_ESP32C3_WIRELESS_H */
+#endif /* __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_WIRELESS_H */
diff --git a/arch/risc-v/src/esp32c3/esp32c3_wlan.c b/arch/risc-v/src/esp32c3-legacy/esp32c3_wlan.c
similarity index 99%
rename from arch/risc-v/src/esp32c3/esp32c3_wlan.c
rename to arch/risc-v/src/esp32c3-legacy/esp32c3_wlan.c
index ecd1603b80..590aadf404 100644
--- a/arch/risc-v/src/esp32c3/esp32c3_wlan.c
+++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_wlan.c
@@ -1,5 +1,5 @@
 /****************************************************************************
- * arch/risc-v/src/esp32c3/esp32c3_wlan.c
+ * arch/risc-v/src/esp32c3-legacy/esp32c3_wlan.c
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
diff --git a/arch/risc-v/src/esp32c3/esp32c3_wlan.h b/arch/risc-v/src/esp32c3-legacy/esp32c3_wlan.h
similarity index 93%
rename from arch/risc-v/src/esp32c3/esp32c3_wlan.h
rename to arch/risc-v/src/esp32c3-legacy/esp32c3_wlan.h
index 029aff1b0e..7d649946df 100644
--- a/arch/risc-v/src/esp32c3/esp32c3_wlan.h
+++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_wlan.h
@@ -1,5 +1,5 @@
 /****************************************************************************
- * arch/risc-v/src/esp32c3/esp32c3_wlan.h
+ * arch/risc-v/src/esp32c3-legacy/esp32c3_wlan.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_WLAN_H
-#define __ARCH_RISCV_SRC_ESP32C3_ESP32C3_WLAN_H
+#ifndef __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_WLAN_H
+#define __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_WLAN_H
 
 /****************************************************************************
  * Included Files
@@ -108,4 +108,4 @@ int esp32c3_wlan_softap_initialize(void);
 #undef EXTERN
 
 #endif /* __ASSEMBLY__ */
-#endif /* __ARCH_RISCV_SRC_ESP32C3_ESP32C3_WLAN_H */
+#endif /* __ARCH_RISCV_SRC_ESP32C3_LEGACY_ESP32C3_WLAN_H */
diff --git a/arch/risc-v/src/esp32c3/hardware/apb_ctrl_reg.h b/arch/risc-v/src/esp32c3-legacy/hardware/apb_ctrl_reg.h
similarity index 92%
rename from arch/risc-v/src/esp32c3/hardware/apb_ctrl_reg.h
rename to arch/risc-v/src/esp32c3-legacy/hardware/apb_ctrl_reg.h
index 88549e04b7..21467bbddb 100644
--- a/arch/risc-v/src/esp32c3/hardware/apb_ctrl_reg.h
+++ b/arch/risc-v/src/esp32c3-legacy/hardware/apb_ctrl_reg.h
@@ -1,5 +1,5 @@
 /****************************************************************************
- * arch/risc-v/src/esp32c3/hardware/apb_ctrl_reg.h
+ * arch/risc-v/src/esp32c3-legacy/hardware/apb_ctrl_reg.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_HARDWARE_APB_CTRL_REG_H
-#define __ARCH_RISCV_SRC_ESP32C3_HARDWARE_APB_CTRL_REG_H
+#ifndef __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_APB_CTRL_REG_H
+#define __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_APB_CTRL_REG_H
 
 /****************************************************************************
  * Included Files
@@ -79,4 +79,4 @@
 #define APB_CTRL_RETENTION_LINK_ADDR_V  0x7FFFFFF
 #define APB_CTRL_RETENTION_LINK_ADDR_S  0
 
-#endif /* __ARCH_RISCV_SRC_ESP32C3_HARDWARE_APB_CTRL_REG_H */
+#endif /* __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_APB_CTRL_REG_H */
diff --git a/arch/risc-v/src/esp32c3/hardware/bb_reg.h b/arch/risc-v/src/esp32c3-legacy/hardware/bb_reg.h
similarity index 88%
rename from arch/risc-v/src/esp32c3/hardware/bb_reg.h
rename to arch/risc-v/src/esp32c3-legacy/hardware/bb_reg.h
index d74bc01d44..ad0164844d 100644
--- a/arch/risc-v/src/esp32c3/hardware/bb_reg.h
+++ b/arch/risc-v/src/esp32c3-legacy/hardware/bb_reg.h
@@ -1,5 +1,5 @@
 /****************************************************************************
- * arch/risc-v/src/esp32c3/hardware/bb_reg.h
+ * arch/risc-v/src/esp32c3-legacy/hardware/bb_reg.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_HARDWARE_BB_REG_H
-#define __ARCH_RISCV_SRC_ESP32C3_HARDWARE_BB_REG_H
+#ifndef __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_BB_REG_H
+#define __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_BB_REG_H
 
 /****************************************************************************
  * Included Files
@@ -46,4 +46,4 @@
 #define BB_DC_EST_FORCE_PU_V 1
 #define BB_DC_EST_FORCE_PU_S 1
 
-#endif /* __ARCH_RISCV_SRC_ESP32C3_HARDWARE_BB_REG_H */
+#endif /* __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_BB_REG_H */
diff --git a/arch/risc-v/src/esp32c3/hardware/esp32c3_aes.h b/arch/risc-v/src/esp32c3-legacy/hardware/esp32c3_aes.h
similarity index 98%
rename from arch/risc-v/src/esp32c3/hardware/esp32c3_aes.h
rename to arch/risc-v/src/esp32c3-legacy/hardware/esp32c3_aes.h
index ee1034b915..7e1e6bfc4b 100644
--- a/arch/risc-v/src/esp32c3/hardware/esp32c3_aes.h
+++ b/arch/risc-v/src/esp32c3-legacy/hardware/esp32c3_aes.h
@@ -1,5 +1,5 @@
 /****************************************************************************
- * arch/risc-v/src/esp32c3/hardware/esp32c3_aes.h
+ * arch/risc-v/src/esp32c3-legacy/hardware/esp32c3_aes.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_HARDWARE_ESP32C3_AES_H
-#define __ARCH_RISCV_SRC_ESP32C3_HARDWARE_ESP32C3_AES_H
+#ifndef __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_ESP32C3_AES_H
+#define __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_ESP32C3_AES_H
 
 /****************************************************************************
  * Included Files
@@ -777,4 +777,4 @@
 #define AES_DMA_EXIT_V  0x00000001
 #define AES_DMA_EXIT_S  0
 
-#endif /* __ARCH_RISCV_SRC_ESP32C3_HARDWARE_ESP32C3_AES_H */
+#endif /* __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_ESP32C3_AES_H */
diff --git a/arch/risc-v/src/esp32c3/hardware/esp32c3_cache_memory.h b/arch/risc-v/src/esp32c3-legacy/hardware/esp32c3_cache_memory.h
similarity index 93%
rename from arch/risc-v/src/esp32c3/hardware/esp32c3_cache_memory.h
rename to arch/risc-v/src/esp32c3-legacy/hardware/esp32c3_cache_memory.h
index 1a6e52968e..51484d3419 100644
--- a/arch/risc-v/src/esp32c3/hardware/esp32c3_cache_memory.h
+++ b/arch/risc-v/src/esp32c3-legacy/hardware/esp32c3_cache_memory.h
@@ -1,5 +1,5 @@
 /****************************************************************************
- * arch/risc-v/src/esp32c3/hardware/esp32c3_cache_memory.h
+ * arch/risc-v/src/esp32c3-legacy/hardware/esp32c3_cache_memory.h
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -15,8 +15,8 @@
  *
  ****************************************************************************/
 
-#ifndef __ARCH_RISCV_SRC_ESP32C3_HARDWARE_ESP32C3_CACHE_MEMORY_H
-#define __ARCH_RISCV_SRC_ESP32C3_HARDWARE_ESP32C3_CACHE_MEMORY_H
+#ifndef __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_ESP32C3_CACHE_MEMORY_H
+#define __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_ESP32C3_CACHE_MEMORY_H
 
 /****************************************************************************
  * Included Files
@@ -107,4 +107,4 @@
 
 #define CACHE_MEMORY_IBANK0_ADDR    0x4037c000
 
-#endif /* __ARCH_RISCV_SRC_ESP32C3_HARDWARE_ESP32C3_CACHE_MEMORY_H */
+#endif /* __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_ESP32C3_CACHE_MEMORY_H */
diff --git a/arch/risc-v/src/esp32c3/hardware/esp32c3_dma.h b/arch/risc-v/src/esp32c3-legacy/hardware/esp32c3_dma.h
similarity index 99%
rename from arch/risc-v/src/esp32c3/hardware/esp32c3_dma.h
rename to arch/risc-v/src/esp32c3-legacy/hardware/esp32c3_dma.h
index 78b5746d34..a31fb4845f 100644
--- a/arch/risc-v/src/esp32c3/hardware/esp32c3_dma.h
+++ b/arch/risc-v/src/esp32c3-legacy/hardware/esp32c3_dma.h
@@ -1,5 +1,5 @@
 /****************************************************************************
- * arch/risc-v/src/esp32c3/hardware/esp32c3_dma.h
+ * arch/risc-v/src/esp32c3-legacy/hardware/esp32c3_dma.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_HARDWARE_ESP32C3_DMA_H
-#define __ARCH_RISCV_SRC_ESP32C3_HARDWARE_ESP32C3_DMA_H
+#ifndef __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_ESP32C3_DMA_H
+#define __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_ESP32C3_DMA_H
 
 /****************************************************************************
  * Included Files
@@ -3895,4 +3895,4 @@
 #define DMA_PERI_OUT_SEL_CH2_V  0x0000003F
 #define DMA_PERI_OUT_SEL_CH2_S  0
 
-#endif /* __ARCH_RISCV_SRC_ESP32C3_HARDWARE_ESP32C3_DMA_H */
+#endif /* __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_ESP32C3_DMA_H */
diff --git a/arch/risc-v/src/esp32c3/hardware/esp32c3_efuse.h b/arch/risc-v/src/esp32c3-legacy/hardware/esp32c3_efuse.h
similarity index 99%
rename from arch/risc-v/src/esp32c3/hardware/esp32c3_efuse.h
rename to arch/risc-v/src/esp32c3-legacy/hardware/esp32c3_efuse.h
index ef92134a3d..dd0076fb2f 100644
--- a/arch/risc-v/src/esp32c3/hardware/esp32c3_efuse.h
+++ b/arch/risc-v/src/esp32c3-legacy/hardware/esp32c3_efuse.h
@@ -1,5 +1,5 @@
 /****************************************************************************
- * arch/risc-v/src/esp32c3/hardware/esp32c3_efuse.h
+ * arch/risc-v/src/esp32c3-legacy/hardware/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_HARDWARE_ESP32C3_EFUSE_H
-#define __ARCH_RISCV_SRC_ESP32C3_HARDWARE_ESP32C3_EFUSE_H
+#ifndef __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_ESP32C3_EFUSE_H
+#define __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_ESP32C3_EFUSE_H
 
 /****************************************************************************
  * Included Files
@@ -3279,4 +3279,4 @@
 #define EFUSE_EFUSE_DATE_V  0xFFFFFFFF
 #define EFUSE_EFUSE_DATE_S  0
 
-#endif /* __ARCH_RISCV_SRC_ESP32C3_HARDWARE_ESP32C3_EFUSE_H */
+#endif /* __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_ESP32C3_EFUSE_H */
diff --git a/arch/risc-v/src/esp32c3/hardware/esp32c3_gpio.h b/arch/risc-v/src/esp32c3-legacy/hardware/esp32c3_gpio.h
similarity index 99%
rename from arch/risc-v/src/esp32c3/hardware/esp32c3_gpio.h
rename to arch/risc-v/src/esp32c3-legacy/hardware/esp32c3_gpio.h
index 588ed1bd7b..98ae519502 100644
--- a/arch/risc-v/src/esp32c3/hardware/esp32c3_gpio.h
+++ b/arch/risc-v/src/esp32c3-legacy/hardware/esp32c3_gpio.h
@@ -1,5 +1,5 @@
 /****************************************************************************
- * arch/risc-v/src/esp32c3/hardware/esp32c3_gpio.h
+ * arch/risc-v/src/esp32c3-legacy/hardware/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_HARDWARE_ESP32C3_GPIO_H
-#define __ARCH_RISCV_SRC_ESP32C3_HARDWARE_ESP32C3_GPIO_H
+#ifndef __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_ESP32C3_GPIO_H
+#define __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_ESP32C3_GPIO_H
 
 /****************************************************************************
  * Included Files
@@ -5311,4 +5311,4 @@
 #define GPIO_DATE_V  0xfffffff
 #define GPIO_DATE_S  0
 
-#endif /* __ARCH_RISCV_SRC_ESP32C3_HARDWARE_ESP32C3_GPIO_H */
+#endif /* __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_ESP32C3_GPIO_H */
diff --git a/arch/risc-v/src/esp32c3/hardware/esp32c3_gpio_sigmap.h b/arch/risc-v/src/esp32c3-legacy/hardware/esp32c3_gpio_sigmap.h
similarity index 96%
rename from arch/risc-v/src/esp32c3/hardware/esp32c3_gpio_sigmap.h
rename to arch/risc-v/src/esp32c3-legacy/hardware/esp32c3_gpio_sigmap.h
index 17dc40e8de..19bb79905c 100644
--- a/arch/risc-v/src/esp32c3/hardware/esp32c3_gpio_sigmap.h
+++ b/arch/risc-v/src/esp32c3-legacy/hardware/esp32c3_gpio_sigmap.h
@@ -1,5 +1,5 @@
 /****************************************************************************
- * arch/risc-v/src/esp32c3/hardware/esp32c3_gpio_sigmap.h
+ * arch/risc-v/src/esp32c3-legacy/hardware/esp32c3_gpio_sigmap.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_HARDWARE_ESP32C3_GPIO_SIGMAP_H
-#define __ARCH_RISCV_SRC_ESP32C3_HARDWARE_ESP32C3_GPIO_SIGMAP_H
+#ifndef __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_ESP32C3_GPIO_SIGMAP_H
+#define __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_ESP32C3_GPIO_SIGMAP_H
 
 /****************************************************************************
  * Pre-processor Definitions
@@ -193,4 +193,4 @@
 #define SIG_GPIO_OUT_IDX              128
 #define GPIO_MAP_DATE_IDX             0x2006130
 
-#endif  /* __ARCH_RISCV_SRC_ESP32C3_HARDWARE_ESP32C3_GPIO_SIGMAP_H */
+#endif  /* __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_ESP32C3_GPIO_SIGMAP_H */
diff --git a/arch/risc-v/src/esp32c3/hardware/esp32c3_i2c.h b/arch/risc-v/src/esp32c3-legacy/hardware/esp32c3_i2c.h
similarity index 99%
rename from arch/risc-v/src/esp32c3/hardware/esp32c3_i2c.h
rename to arch/risc-v/src/esp32c3-legacy/hardware/esp32c3_i2c.h
index 2874aaac2e..3552e17b87 100644
--- a/arch/risc-v/src/esp32c3/hardware/esp32c3_i2c.h
+++ b/arch/risc-v/src/esp32c3-legacy/hardware/esp32c3_i2c.h
@@ -1,5 +1,5 @@
 /****************************************************************************
- * arch/risc-v/src/esp32c3/hardware/esp32c3_i2c.h
+ * arch/risc-v/src/esp32c3-legacy/hardware/esp32c3_i2c.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_HARDWARE_ESP32C3_I2C_H
-#define __ARCH_RISCV_SRC_ESP32C3_HARDWARE_ESP32C3_I2C_H
+#ifndef __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_ESP32C3_I2C_H
+#define __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_ESP32C3_I2C_H
 
 /****************************************************************************
  * Included Files
@@ -1223,4 +1223,4 @@
 
 #define I2C_RXFIFO_START_ADDR_REG(i)          (REG_I2C_BASE(i) + 0x180)
 
-#endif /* __ARCH_RISCV_SRC_ESP32C3_HARDWARE_ESP32C3_I2C_H */
+#endif /* __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_ESP32C3_I2C_H */
diff --git a/arch/risc-v/src/esp32c3/hardware/esp32c3_interrupt.h b/arch/risc-v/src/esp32c3-legacy/hardware/esp32c3_interrupt.h
similarity index 99%
rename from arch/risc-v/src/esp32c3/hardware/esp32c3_interrupt.h
rename to arch/risc-v/src/esp32c3-legacy/hardware/esp32c3_interrupt.h
index 675a584e4c..b776802f45 100644
--- a/arch/risc-v/src/esp32c3/hardware/esp32c3_interrupt.h
+++ b/arch/risc-v/src/esp32c3-legacy/hardware/esp32c3_interrupt.h
@@ -1,5 +1,5 @@
 /****************************************************************************
- * arch/risc-v/src/esp32c3/hardware/esp32c3_interrupt.h
+ * arch/risc-v/src/esp32c3-legacy/hardware/esp32c3_interrupt.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_HARDWARE_ESP32C3_INTERRUPT_H
-#define __ARCH_RISCV_SRC_ESP32C3_HARDWARE_ESP32C3_INTERRUPT_H
+#ifndef __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_ESP32C3_INTERRUPT_H
+#define __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_ESP32C3_INTERRUPT_H
 
 /****************************************************************************
  * Included Files
@@ -959,4 +959,4 @@
 #define INTERRUPT_INTERRUPT_DATE_V  0xfffffff
 #define INTERRUPT_INTERRUPT_DATE_S  0
 
-#endif /* __ARCH_RISCV_SRC_ESP32C3_HARDWARE_ESP32C3_INTERRUPT_H */
+#endif /* __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_ESP32C3_INTERRUPT_H */
diff --git a/arch/risc-v/src/esp32c3/hardware/esp32c3_iomux.h b/arch/risc-v/src/esp32c3-legacy/hardware/esp32c3_iomux.h
similarity index 97%
rename from arch/risc-v/src/esp32c3/hardware/esp32c3_iomux.h
rename to arch/risc-v/src/esp32c3-legacy/hardware/esp32c3_iomux.h
index f3c4f29d11..b75eb46c21 100644
--- a/arch/risc-v/src/esp32c3/hardware/esp32c3_iomux.h
+++ b/arch/risc-v/src/esp32c3-legacy/hardware/esp32c3_iomux.h
@@ -1,5 +1,5 @@
 /****************************************************************************
- * arch/risc-v/src/esp32c3/hardware/esp32c3_iomux.h
+ * arch/risc-v/src/esp32c3-legacy/hardware/esp32c3_iomux.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_HARDWARE_ESP32C3_IOMUX_H
-#define __ARCH_RISCV_SRC_ESP32C3_HARDWARE_ESP32C3_IOMUX_H
+#ifndef __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_ESP32C3_IOMUX_H
+#define __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_ESP32C3_IOMUX_H
 
 /****************************************************************************
  * Included Files
@@ -307,4 +307,4 @@
 #define IO_MUX_DATE_S 0
 #define IO_MUX_DATE_VERSION 0x2006050
 
-#endif /* __ARCH_RISCV_SRC_ESP32C3_HARDWARE_ESP32C3_IOMUX_H */
+#endif /* __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_ESP32C3_IOMUX_H */
diff --git a/arch/risc-v/src/esp32c3/hardware/esp32c3_ledc.h b/arch/risc-v/src/esp32c3-legacy/hardware/esp32c3_ledc.h
similarity index 99%
rename from arch/risc-v/src/esp32c3/hardware/esp32c3_ledc.h
rename to arch/risc-v/src/esp32c3-legacy/hardware/esp32c3_ledc.h
index 6b8846b75b..7fa402cd58 100644
--- a/arch/risc-v/src/esp32c3/hardware/esp32c3_ledc.h
+++ b/arch/risc-v/src/esp32c3-legacy/hardware/esp32c3_ledc.h
@@ -1,5 +1,5 @@
 /****************************************************************************
- * arch/risc-v/src/esp32c3/hardware/esp32c3_ledc.h
+ * arch/risc-v/src/esp32c3-legacy/hardware/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_HARDWARE_ESP32C3_LEDC_H
-#define __ARCH_RISCV_SRC_ESP32C3_HARDWARE_ESP32C3_LEDC_H
+#ifndef __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_ESP32C3_LEDC_H
+#define __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_ESP32C3_LEDC_H
 
 /****************************************************************************
  * Included Files
@@ -2739,4 +2739,4 @@
 #define LEDC_DATE_V  0xFFFFFFFF
 #define LEDC_DATE_S  0
 
-#endif /* __ARCH_RISCV_SRC_ESP32C3_HARDWARE_ESP32C3_LEDC_H */
+#endif /* __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_ESP32C3_LEDC_H */
diff --git a/arch/risc-v/src/esp32c3/hardware/esp32c3_memorymap.h b/arch/risc-v/src/esp32c3-legacy/hardware/esp32c3_memorymap.h
similarity index 93%
rename from arch/risc-v/src/esp32c3/hardware/esp32c3_memorymap.h
rename to arch/risc-v/src/esp32c3-legacy/hardware/esp32c3_memorymap.h
index c9cf552438..a8bc4e3429 100644
--- a/arch/risc-v/src/esp32c3/hardware/esp32c3_memorymap.h
+++ b/arch/risc-v/src/esp32c3-legacy/hardware/esp32c3_memorymap.h
@@ -1,5 +1,5 @@
 /****************************************************************************
- * arch/risc-v/src/esp32c3/hardware/esp32c3_memorymap.h
+ * arch/risc-v/src/esp32c3-legacy/hardware/esp32c3_memorymap.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_HARDWARE_ESP32C3_MEMORYMAP_H
-#define __ARCH_RISCV_SRC_ESP32C3_HARDWARE_ESP32C3_MEMORYMAP_H
+#ifndef __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_ESP32C3_MEMORYMAP_H
+#define __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_ESP32C3_MEMORYMAP_H
 
 /****************************************************************************
  * Pre-processor Definitions
@@ -69,4 +69,4 @@
 #define ESP32C3_APB_SARADC_BASE                  0x60040000
 #define ESP32C3_AES_XTS_BASE                     0x600cc000
 
-#endif /* __ARCH_RISCV_SRC_ESP32C3_HARDWARE_ESP32C3_MEMORYMAP_H */
+#endif /* __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_ESP32C3_MEMORYMAP_H */
diff --git a/arch/risc-v/src/esp32c3/hardware/esp32c3_pinmap.h b/arch/risc-v/src/esp32c3-legacy/hardware/esp32c3_pinmap.h
similarity index 86%
rename from arch/risc-v/src/esp32c3/hardware/esp32c3_pinmap.h
rename to arch/risc-v/src/esp32c3-legacy/hardware/esp32c3_pinmap.h
index 54465ecdc5..febe9eccd0 100644
--- a/arch/risc-v/src/esp32c3/hardware/esp32c3_pinmap.h
+++ b/arch/risc-v/src/esp32c3-legacy/hardware/esp32c3_pinmap.h
@@ -1,5 +1,5 @@
 /****************************************************************************
- * arch/risc-v/src/esp32c3/hardware/esp32c3_pinmap.h
+ * arch/risc-v/src/esp32c3-legacy/hardware/esp32c3_pinmap.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_HARDWARE_ESP32C3_PINMAP_H
-#define __ARCH_RISCV_SRC_ESP32C3_HARDWARE_ESP32C3_PINMAP_H
+#ifndef __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_ESP32C3_PINMAP_H
+#define __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_ESP32C3_PINMAP_H
 
 /****************************************************************************
  * Pre-processor Definitions
@@ -42,4 +42,4 @@
 #define SPI2_IOMUX_WPPIN        (5)
 #define SPI2_IOMUX_HDPIN        (4)
 
-#endif /* __ARCH_RISCV_SRC_ESP32C3_HARDWARE_ESP32C3_PINMAP_H */
+#endif /* __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_ESP32C3_PINMAP_H */
diff --git a/arch/risc-v/src/esp32c3/hardware/esp32c3_rom_layout.h b/arch/risc-v/src/esp32c3-legacy/hardware/esp32c3_rom_layout.h
similarity index 91%
rename from arch/risc-v/src/esp32c3/hardware/esp32c3_rom_layout.h
rename to arch/risc-v/src/esp32c3-legacy/hardware/esp32c3_rom_layout.h
index f7a7e6b575..560b22d03d 100644
--- a/arch/risc-v/src/esp32c3/hardware/esp32c3_rom_layout.h
+++ b/arch/risc-v/src/esp32c3-legacy/hardware/esp32c3_rom_layout.h
@@ -1,5 +1,5 @@
 /****************************************************************************
- * arch/risc-v/src/esp32c3/hardware/esp32c3_rom_layout.h
+ * arch/risc-v/src/esp32c3-legacy/hardware/esp32c3_rom_layout.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_HARDWARE_ESP32C3_ROM_LAYOUT_H
-#define __ARCH_RISCV_SRC_ESP32C3_HARDWARE_ESP32C3_ROM_LAYOUT_H
+#ifndef __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_ESP32C3_ROM_LAYOUT_H
+#define __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_ESP32C3_ROM_LAYOUT_H
 
 /****************************************************************************
  * Included Files
@@ -90,5 +90,5 @@ struct esp32c3_rom_layout_s
   uintptr_t dram_end_uart_rom;
 };
 
-#endif /* __ARCH_RISCV_SRC_ESP32C3_HARDWARE_ESP32C3_ROM_LAYOUT_H */
+#endif /* __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_ESP32C3_ROM_LAYOUT_H */
 
diff --git a/arch/risc-v/src/esp32c3/hardware/esp32c3_rsa.h b/arch/risc-v/src/esp32c3-legacy/hardware/esp32c3_rsa.h
similarity index 97%
rename from arch/risc-v/src/esp32c3/hardware/esp32c3_rsa.h
rename to arch/risc-v/src/esp32c3-legacy/hardware/esp32c3_rsa.h
index e11582c7f3..162f586387 100644
--- a/arch/risc-v/src/esp32c3/hardware/esp32c3_rsa.h
+++ b/arch/risc-v/src/esp32c3-legacy/hardware/esp32c3_rsa.h
@@ -1,5 +1,5 @@
 /****************************************************************************
- * arch/risc-v/src/esp32c3/hardware/esp32c3_rsa.h
+ * arch/risc-v/src/esp32c3-legacy/hardware/esp32c3_rsa.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_HARDWARE_ESP32C3_RSA_H
-#define __ARCH_RISCV_SRC_ESP32C3_HARDWARE_ESP32C3_RSA_H
+#ifndef __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_ESP32C3_RSA_H
+#define __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_ESP32C3_RSA_H
 
 /****************************************************************************
  * Included Files
@@ -305,4 +305,4 @@
 #define RSA_DATE_V  0x3FFFFFFF
 #define RSA_DATE_S  0
 
-#endif /* __ARCH_RISCV_SRC_ESP32C3_HARDWARE_ESP32C3_RSA_H */
+#endif /* __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_ESP32C3_RSA_H */
diff --git a/arch/risc-v/src/esp32c3/hardware/esp32c3_rtccntl.h b/arch/risc-v/src/esp32c3-legacy/hardware/esp32c3_rtccntl.h
similarity index 99%
rename from arch/risc-v/src/esp32c3/hardware/esp32c3_rtccntl.h
rename to arch/risc-v/src/esp32c3-legacy/hardware/esp32c3_rtccntl.h
index f43aaa794b..0905977844 100644
--- a/arch/risc-v/src/esp32c3/hardware/esp32c3_rtccntl.h
+++ b/arch/risc-v/src/esp32c3-legacy/hardware/esp32c3_rtccntl.h
@@ -1,5 +1,5 @@
 /****************************************************************************
- * arch/risc-v/src/esp32c3/hardware/esp32c3_rtccntl.h
+ * arch/risc-v/src/esp32c3-legacy/hardware/esp32c3_rtccntl.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_HARDWARE_ESP32C3_RTCCNTL_H
-#define __ARCH_RISCV_SRC_ESP32C3_HARDWARE_ESP32C3_RTCCNTL_H
+#ifndef __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_ESP32C3_RTCCNTL_H
+#define __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_ESP32C3_RTCCNTL_H
 
 /****************************************************************************
  * Included Files
@@ -3624,4 +3624,4 @@
 #define RTC_RESET_CAUSE_REG     RTC_CNTL_STORE6_REG
 #define RTC_MEMORY_CRC_REG      RTC_CNTL_STORE7_REG
 
-#endif /* __ARCH_RISCV_SRC_ESP32C3_HARDWARE_ESP32C3_RTCCNTL_H */
+#endif /* __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_ESP32C3_RTCCNTL_H */
diff --git a/arch/risc-v/src/esp32c3/hardware/esp32c3_saradc.h b/arch/risc-v/src/esp32c3-legacy/hardware/esp32c3_saradc.h
similarity index 99%
rename from arch/risc-v/src/esp32c3/hardware/esp32c3_saradc.h
rename to arch/risc-v/src/esp32c3-legacy/hardware/esp32c3_saradc.h
index 3d6a281e1c..edd6da0bc7 100644
--- a/arch/risc-v/src/esp32c3/hardware/esp32c3_saradc.h
+++ b/arch/risc-v/src/esp32c3-legacy/hardware/esp32c3_saradc.h
@@ -1,5 +1,5 @@
 /****************************************************************************
- * arch/risc-v/src/esp32c3/hardware/esp32c3_saradc.h
+ * arch/risc-v/src/esp32c3-legacy/hardware/esp32c3_saradc.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_HARDWARE_ESP32C3_SARADC_H
-#define __ARCH_RISCV_SRC_ESP32C3_HARDWARE_ESP32C3_SARADC_H
+#ifndef __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_ESP32C3_SARADC_H
+#define __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_ESP32C3_SARADC_H
 
 /****************************************************************************
  * Included Files
@@ -909,4 +909,4 @@
 #define APB_SARADC_DATE_V  0xFFFFFFFF
 #define APB_SARADC_DATE_S  0
 
-#endif /* __ARCH_RISCV_SRC_ESP32C3_HARDWARE_ESP32C3_SARADC_H */
+#endif /* __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_ESP32C3_SARADC_H */
diff --git a/arch/risc-v/src/esp32c3/hardware/esp32c3_sha.h b/arch/risc-v/src/esp32c3-legacy/hardware/esp32c3_sha.h
similarity index 98%
rename from arch/risc-v/src/esp32c3/hardware/esp32c3_sha.h
rename to arch/risc-v/src/esp32c3-legacy/hardware/esp32c3_sha.h
index f4d8189834..d4d1383475 100644
--- a/arch/risc-v/src/esp32c3/hardware/esp32c3_sha.h
+++ b/arch/risc-v/src/esp32c3-legacy/hardware/esp32c3_sha.h
@@ -1,5 +1,5 @@
 /****************************************************************************
- * arch/risc-v/src/esp32c3/hardware/esp32c3_sha.h
+ * arch/risc-v/src/esp32c3-legacy/hardware/esp32c3_sha.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_HARDWARE_ESP32C3_SHA_H
-#define __ARCH_RISCV_SRC_ESP32C3_HARDWARE_ESP32C3_SHA_H
+#ifndef __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_ESP32C3_SHA_H
+#define __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_ESP32C3_SHA_H
 
 /****************************************************************************
  * Included Files
@@ -935,4 +935,4 @@
 #define SHA_M_31_V  0xFFFFFFFF
 #define SHA_M_31_S  0
 
-#endif /* __ARCH_RISCV_SRC_ESP32C3_HARDWARE_ESP32C3_SHA_H */
+#endif /* __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_ESP32C3_SHA_H */
diff --git a/arch/risc-v/src/esp32c3/hardware/esp32c3_soc.h b/arch/risc-v/src/esp32c3-legacy/hardware/esp32c3_soc.h
similarity index 98%
rename from arch/risc-v/src/esp32c3/hardware/esp32c3_soc.h
rename to arch/risc-v/src/esp32c3-legacy/hardware/esp32c3_soc.h
index ead5c1f7c5..4cf63e6737 100644
--- a/arch/risc-v/src/esp32c3/hardware/esp32c3_soc.h
+++ b/arch/risc-v/src/esp32c3-legacy/hardware/esp32c3_soc.h
@@ -1,5 +1,5 @@
 /****************************************************************************
- * arch/risc-v/src/esp32c3/hardware/esp32c3_soc.h
+ * arch/risc-v/src/esp32c3-legacy/hardware/esp32c3_soc.h
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -15,8 +15,8 @@
  *
  ****************************************************************************/
 
-#ifndef __ARCH_RISCV_SRC_ESP32C3_HARDWARE_ESP32C3_SOC_H
-#define __ARCH_RISCV_SRC_ESP32C3_HARDWARE_ESP32C3_SOC_H
+#ifndef __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_ESP32C3_SOC_H
+#define __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_ESP32C3_SOC_H
 
 /****************************************************************************
  * Included Files
@@ -326,4 +326,4 @@ static inline bool IRAM_ATTR esp32c3_ptr_rtc(const void *p)
           (intptr_t)p < SOC_RTC_RAM_HIGH);
 }
 
-#endif /* __ARCH_RISCV_SRC_ESP32C3_HARDWARE_ESP32C3_SOC_H */
+#endif /* __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_ESP32C3_SOC_H */
diff --git a/arch/risc-v/src/esp32c3/hardware/esp32c3_spi.h b/arch/risc-v/src/esp32c3-legacy/hardware/esp32c3_spi.h
similarity index 99%
rename from arch/risc-v/src/esp32c3/hardware/esp32c3_spi.h
rename to arch/risc-v/src/esp32c3-legacy/hardware/esp32c3_spi.h
index 9b4a021163..f765015f14 100644
--- a/arch/risc-v/src/esp32c3/hardware/esp32c3_spi.h
+++ b/arch/risc-v/src/esp32c3-legacy/hardware/esp32c3_spi.h
@@ -1,5 +1,5 @@
 /****************************************************************************
- * arch/risc-v/src/esp32c3/hardware/esp32c3_spi.h
+ * arch/risc-v/src/esp32c3-legacy/hardware/esp32c3_spi.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_HARDWARE_ESP32C3_SPI_H
-#define __ARCH_RISCV_SRC_ESP32C3_HARDWARE_ESP32C3_SPI_H
+#ifndef __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_ESP32C3_SPI_H
+#define __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_ESP32C3_SPI_H
 
 /****************************************************************************
  * Included Files
@@ -2211,4 +2211,4 @@
 #define SPI_DATE_V  0x0FFFFFFF
 #define SPI_DATE_S  0
 
-#endif /* __ARCH_RISCV_SRC_ESP32C3_HARDWARE_ESP32C3_SPI_H */
+#endif /* __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_ESP32C3_SPI_H */
diff --git a/arch/risc-v/src/esp32c3/hardware/esp32c3_syscon.h b/arch/risc-v/src/esp32c3-legacy/hardware/esp32c3_syscon.h
similarity index 98%
rename from arch/risc-v/src/esp32c3/hardware/esp32c3_syscon.h
rename to arch/risc-v/src/esp32c3-legacy/hardware/esp32c3_syscon.h
index c7cf6b24b7..01a46aab89 100644
--- a/arch/risc-v/src/esp32c3/hardware/esp32c3_syscon.h
+++ b/arch/risc-v/src/esp32c3-legacy/hardware/esp32c3_syscon.h
@@ -1,5 +1,5 @@
 /****************************************************************************
- * arch/risc-v/src/esp32c3/hardware/esp32c3_syscon.h
+ * arch/risc-v/src/esp32c3-legacy/hardware/esp32c3_syscon.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_HARDWARE_ESP32C3_SYSCON_H
-#define __ARCH_RISCV_SRC_ESP32C3_HARDWARE_ESP32C3_SYSCON_H
+#ifndef __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_ESP32C3_SYSCON_H
+#define __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_ESP32C3_SYSCON_H
 
 /****************************************************************************
  * Included Files
@@ -639,4 +639,4 @@
 #define SYSCON_DATE_V 0xFFFFFFFF
 #define SYSCON_DATE_S 0
 
-#endif /* __ARCH_RISCV_SRC_ESP32C3_HARDWARE_ESP32C3_SYSCON_H */
+#endif /* __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_ESP32C3_SYSCON_H */
diff --git a/arch/risc-v/src/esp32c3/hardware/esp32c3_system.h b/arch/risc-v/src/esp32c3-legacy/hardware/esp32c3_system.h
similarity index 99%
rename from arch/risc-v/src/esp32c3/hardware/esp32c3_system.h
rename to arch/risc-v/src/esp32c3-legacy/hardware/esp32c3_system.h
index 34ede266fb..1b49d6b56f 100644
--- a/arch/risc-v/src/esp32c3/hardware/esp32c3_system.h
+++ b/arch/risc-v/src/esp32c3-legacy/hardware/esp32c3_system.h
@@ -1,5 +1,5 @@
 /****************************************************************************
- * arch/risc-v/src/esp32c3/hardware/esp32c3_system.h
+ * arch/risc-v/src/esp32c3-legacy/hardware/esp32c3_system.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_HARDWARE_ESP32C3_SYSTEM_H
-#define __ARCH_RISCV_SRC_ESP32C3_HARDWARE_ESP32C3_SYSTEM_H
+#ifndef __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_ESP32C3_SYSTEM_H
+#define __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_ESP32C3_SYSTEM_H
 
 /****************************************************************************
  * Included Files
@@ -1216,4 +1216,4 @@
 #define SYSTEM_DATE_V  0xfffffff
 #define SYSTEM_DATE_S  0
 
-#endif /* __ARCH_RISCV_SRC_ESP32C3_HARDWARE_ESP32C3_SYSTEM_H */
+#endif /* __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_ESP32C3_SYSTEM_H */
diff --git a/arch/risc-v/src/esp32c3/hardware/esp32c3_systimer.h b/arch/risc-v/src/esp32c3-legacy/hardware/esp32c3_systimer.h
similarity index 98%
rename from arch/risc-v/src/esp32c3/hardware/esp32c3_systimer.h
rename to arch/risc-v/src/esp32c3-legacy/hardware/esp32c3_systimer.h
index ef317cb020..a21aee905b 100644
--- a/arch/risc-v/src/esp32c3/hardware/esp32c3_systimer.h
+++ b/arch/risc-v/src/esp32c3-legacy/hardware/esp32c3_systimer.h
@@ -1,5 +1,5 @@
 /****************************************************************************
- * arch/risc-v/src/esp32c3/hardware/esp32c3_systimer.h
+ * arch/risc-v/src/esp32c3-legacy/hardware/esp32c3_systimer.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_HARDWARE_ESP32C3_SYSTIMER_H
-#define __ARCH_RISCV_SRC_ESP32C3_HARDWARE_ESP32C3_SYSTIMER_H
+#ifndef __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_ESP32C3_SYSTIMER_H
+#define __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_ESP32C3_SYSTIMER_H
 
 /****************************************************************************
  * Included Files
@@ -584,4 +584,4 @@
 #define SYS_TIMER_DATE_V  0xffffffff
 #define SYS_TIMER_DATE_S  0
 
-#endif /* __ARCH_RISCV_SRC_ESP32C3_HARDWARE_ESP32C3_SYSTIMER_H */
+#endif /* __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_ESP32C3_SYSTIMER_H */
diff --git a/arch/risc-v/src/esp32c3/hardware/esp32c3_tim.h b/arch/risc-v/src/esp32c3-legacy/hardware/esp32c3_tim.h
similarity index 98%
rename from arch/risc-v/src/esp32c3/hardware/esp32c3_tim.h
rename to arch/risc-v/src/esp32c3-legacy/hardware/esp32c3_tim.h
index 0049bb9137..f8a812b7db 100644
--- a/arch/risc-v/src/esp32c3/hardware/esp32c3_tim.h
+++ b/arch/risc-v/src/esp32c3-legacy/hardware/esp32c3_tim.h
@@ -1,5 +1,5 @@
 /****************************************************************************
- * arch/risc-v/src/esp32c3/hardware/esp32c3_tim.h
+ * arch/risc-v/src/esp32c3-legacy/hardware/esp32c3_tim.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_HARDWARE_ESP32C3_TIM_H
-#define __ARCH_RISCV_SRC_ESP32C3_HARDWARE_ESP32C3_TIM_H
+#ifndef __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_ESP32C3_TIM_H
+#define __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_ESP32C3_TIM_H
 
 /****************************************************************************
  * Included Files
@@ -534,4 +534,4 @@
 #define TIMG_WDT_CLK_IS_ACTIVE_V  0x1
 #define TIMG_WDT_CLK_IS_ACTIVE_S  29
 
-#endif /* __ARCH_RISCV_SRC_ESP32C3_HARDWARE_ESP32C3_TIM_H */
+#endif /* __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_ESP32C3_TIM_H */
diff --git a/arch/risc-v/src/esp32c3/hardware/esp32c3_twai.h b/arch/risc-v/src/esp32c3-legacy/hardware/esp32c3_twai.h
similarity index 99%
rename from arch/risc-v/src/esp32c3/hardware/esp32c3_twai.h
rename to arch/risc-v/src/esp32c3-legacy/hardware/esp32c3_twai.h
index 2aa56b84dd..94161252d4 100644
--- a/arch/risc-v/src/esp32c3/hardware/esp32c3_twai.h
+++ b/arch/risc-v/src/esp32c3-legacy/hardware/esp32c3_twai.h
@@ -1,5 +1,5 @@
 /****************************************************************************
- * arch/risc-v/src/esp32c3/hardware/esp32c3_twai.h
+ * arch/risc-v/src/esp32c3-legacy/hardware/esp32c3_twai.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_HARDWARE_ESP32C3_TWAI_H
-#define __ARCH_RISCV_SRC_ESP32C3_HARDWARE_ESP32C3_TWAI_H
+#ifndef __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_ESP32C3_TWAI_H
+#define __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_ESP32C3_TWAI_H
 
 /****************************************************************************
  * Included Files
@@ -853,4 +853,4 @@
 #define TWAI_CD_V  0x000000FF
 #define TWAI_CD_S  0
 
-#endif /* __ARCH_RISCV_SRC_ESP32C3_HARDWARE_ESP32C3_TWAI_H */
+#endif /* __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_ESP32C3_TWAI_H */
diff --git a/arch/risc-v/src/esp32c3/hardware/esp32c3_uart.h b/arch/risc-v/src/esp32c3-legacy/hardware/esp32c3_uart.h
similarity index 99%
rename from arch/risc-v/src/esp32c3/hardware/esp32c3_uart.h
rename to arch/risc-v/src/esp32c3-legacy/hardware/esp32c3_uart.h
index 511104ff11..7aff24a069 100644
--- a/arch/risc-v/src/esp32c3/hardware/esp32c3_uart.h
+++ b/arch/risc-v/src/esp32c3-legacy/hardware/esp32c3_uart.h
@@ -1,5 +1,5 @@
 /****************************************************************************
- * arch/risc-v/src/esp32c3/hardware/esp32c3_uart.h
+ * arch/risc-v/src/esp32c3-legacy/hardware/esp32c3_uart.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_HARDWARE_ESP32C3_UART_H
-#define __ARCH_RISCV_SRC_ESP32C3_HARDWARE_ESP32C3_UART_H
+#ifndef __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_ESP32C3_UART_H
+#define __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_ESP32C3_UART_H
 
 /****************************************************************************
  * Included Files
@@ -2203,4 +2203,4 @@
 #define UART_UPDATE_V  0x1
 #define UART_UPDATE_S  31
 
-#endif /* __ARCH_RISCV_SRC_ESP32C3_HARDWARE_ESP32C3_UART_H */
\ No newline at end of file
+#endif /* __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_ESP32C3_UART_H */
\ No newline at end of file
diff --git a/arch/risc-v/src/esp32c3/hardware/esp32c3_usb_serial_jtag.h b/arch/risc-v/src/esp32c3-legacy/hardware/esp32c3_usb_serial_jtag.h
similarity index 99%
rename from arch/risc-v/src/esp32c3/hardware/esp32c3_usb_serial_jtag.h
rename to arch/risc-v/src/esp32c3-legacy/hardware/esp32c3_usb_serial_jtag.h
index 3295e07fbf..b51a892e52 100644
--- a/arch/risc-v/src/esp32c3/hardware/esp32c3_usb_serial_jtag.h
+++ b/arch/risc-v/src/esp32c3-legacy/hardware/esp32c3_usb_serial_jtag.h
@@ -1,5 +1,5 @@
 /****************************************************************************
- * arch/risc-v/src/esp32c3/hardware/esp32c3_usb_serial_jtag.h
+ * arch/risc-v/src/esp32c3-legacy/hardware/esp32c3_usb_serial_jtag.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_HARDWARE_ESP32C3_USB_SERIAL_JTAG_H
-#define __ARCH_RISCV_SRC_ESP32C3_HARDWARE_ESP32C3_USB_SERIAL_JTAG_H
+#ifndef __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_ESP32C3_USB_SERIAL_JTAG_H
+#define __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_ESP32C3_USB_SERIAL_JTAG_H
 
 /****************************************************************************
  * Included Files
@@ -1230,4 +1230,4 @@
 #define USB_SERIAL_JTAG_DATE_V  0xffffffff
 #define USB_SERIAL_JTAG_DATE_S  0
 
-#endif /* __ARCH_RISCV_SRC_ESP32C3_HARDWARE_ESP32C3_USB_SERIAL_JTAG_H */
+#endif /* __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_ESP32C3_USB_SERIAL_JTAG_H */
diff --git a/arch/risc-v/src/esp32c3/hardware/extmem_reg.h b/arch/risc-v/src/esp32c3-legacy/hardware/extmem_reg.h
similarity index 93%
rename from arch/risc-v/src/esp32c3/hardware/extmem_reg.h
rename to arch/risc-v/src/esp32c3-legacy/hardware/extmem_reg.h
index 07d112ab6d..dfd110ed67 100644
--- a/arch/risc-v/src/esp32c3/hardware/extmem_reg.h
+++ b/arch/risc-v/src/esp32c3-legacy/hardware/extmem_reg.h
@@ -1,5 +1,5 @@
 /****************************************************************************
- * arch/risc-v/src/esp32c3/hardware/extmem_reg.h
+ * arch/risc-v/src/esp32c3-legacy/hardware/extmem_reg.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_HARDWARE_EXTMEM_REG_H
-#define __ARCH_RISCV_SRC_ESP32C3_HARDWARE_EXTMEM_REG_H
+#ifndef __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_EXTMEM_REG_H
+#define __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_EXTMEM_REG_H
 
 /****************************************************************************
  * Included Files
@@ -87,4 +87,4 @@
 #define EXTMEM_ICACHE_TAG_MEM_FORCE_ON_V  0x1
 #define EXTMEM_ICACHE_TAG_MEM_FORCE_ON_S  0
 
-#endif /* __ARCH_RISCV_SRC_ESP32C3_HARDWARE_EXTMEM_REG_H */
+#endif /* __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_EXTMEM_REG_H */
diff --git a/arch/risc-v/src/esp32c3/hardware/fe_reg.h b/arch/risc-v/src/esp32c3-legacy/hardware/fe_reg.h
similarity index 88%
rename from arch/risc-v/src/esp32c3/hardware/fe_reg.h
rename to arch/risc-v/src/esp32c3-legacy/hardware/fe_reg.h
index f65c3008e1..629d418615 100644
--- a/arch/risc-v/src/esp32c3/hardware/fe_reg.h
+++ b/arch/risc-v/src/esp32c3-legacy/hardware/fe_reg.h
@@ -1,5 +1,5 @@
 /****************************************************************************
- * arch/risc-v/src/esp32c3/hardware/fe_reg.h
+ * arch/risc-v/src/esp32c3-legacy/hardware/fe_reg.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_HARDWARE_FE_REG_H
-#define __ARCH_RISCV_SRC_ESP32C3_HARDWARE_FE_REG_H
+#ifndef __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_FE_REG_H
+#define __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_FE_REG_H
 
 /****************************************************************************
  * Included Files
@@ -47,4 +47,4 @@
 #define FE2_TX_INF_FORCE_PU_V 1
 #define FE2_TX_INF_FORCE_PU_S 10
 
-#endif /* __ARCH_RISCV_SRC_ESP32C3_HARDWARE_FE_REG_H */
+#endif /* __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_FE_REG_H */
diff --git a/arch/risc-v/src/esp32c3/hardware/nrx_reg.h b/arch/risc-v/src/esp32c3-legacy/hardware/nrx_reg.h
similarity index 89%
rename from arch/risc-v/src/esp32c3/hardware/nrx_reg.h
rename to arch/risc-v/src/esp32c3-legacy/hardware/nrx_reg.h
index e0fa091132..fd8998e562 100644
--- a/arch/risc-v/src/esp32c3/hardware/nrx_reg.h
+++ b/arch/risc-v/src/esp32c3-legacy/hardware/nrx_reg.h
@@ -1,5 +1,5 @@
 /****************************************************************************
- * arch/risc-v/src/esp32c3/hardware/nrx_reg.h
+ * arch/risc-v/src/esp32c3-legacy/hardware/nrx_reg.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_HARDWARE_NRX_REG_H
-#define __ARCH_RISCV_SRC_ESP32C3_HARDWARE_NRX_REG_H
+#ifndef __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_NRX_REG_H
+#define __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_NRX_REG_H
 
 /****************************************************************************
  * Included Files
@@ -49,4 +49,4 @@
 #define NRX_DEMAP_FORCE_PU_V  1
 #define NRX_DEMAP_FORCE_PU_S  1
 
-#endif /* __ARCH_RISCV_SRC_ESP32C3_HARDWARE_NRX_REG_H */
+#endif /* __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_NRX_REG_H */
diff --git a/arch/risc-v/src/esp32c3/hardware/regi2c_bbpll.h b/arch/risc-v/src/esp32c3-legacy/hardware/regi2c_bbpll.h
similarity index 90%
rename from arch/risc-v/src/esp32c3/hardware/regi2c_bbpll.h
rename to arch/risc-v/src/esp32c3-legacy/hardware/regi2c_bbpll.h
index cd36f2692e..fdee8afa8a 100644
--- a/arch/risc-v/src/esp32c3/hardware/regi2c_bbpll.h
+++ b/arch/risc-v/src/esp32c3-legacy/hardware/regi2c_bbpll.h
@@ -1,5 +1,5 @@
 /****************************************************************************
- * arch/risc-v/src/esp32c3/hardware/regi2c_bbpll.h
+ * arch/risc-v/src/esp32c3-legacy/hardware/regi2c_bbpll.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_HARDWARE_REGI2C_BBPLL_H
-#define __ARCH_RISCV_SRC_ESP32C3_HARDWARE_REGI2C_BBPLL_H
+#ifndef __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_REGI2C_BBPLL_H
+#define __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_REGI2C_BBPLL_H
 
 /****************************************************************************
  * Pre-processor Definitions
@@ -72,4 +72,4 @@
 #define I2C_BBPLL_OC_DIV_7_0_MSB    7
 #define I2C_BBPLL_OC_DIV_7_0_LSB    0
 
-#endif /* __ARCH_RISCV_SRC_ESP32C3_HARDWARE_REGI2C_BBPLL_H */
+#endif /* __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_REGI2C_BBPLL_H */
diff --git a/arch/risc-v/src/esp32c3/hardware/regi2c_brownout.h b/arch/risc-v/src/esp32c3-legacy/hardware/regi2c_brownout.h
similarity index 81%
rename from arch/risc-v/src/esp32c3/hardware/regi2c_brownout.h
rename to arch/risc-v/src/esp32c3-legacy/hardware/regi2c_brownout.h
index c5a832d5d5..bf186d6102 100644
--- a/arch/risc-v/src/esp32c3/hardware/regi2c_brownout.h
+++ b/arch/risc-v/src/esp32c3-legacy/hardware/regi2c_brownout.h
@@ -1,5 +1,5 @@
 /****************************************************************************
- * arch/risc-v/src/esp32c3/hardware/regi2c_brownout.h
+ * arch/risc-v/src/esp32c3-legacy/hardware/regi2c_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_HARDWARE_REGI2C_BROWNOUT_H
-#define __ARCH_RISCV_SRC_ESP32C3_HARDWARE_REGI2C_BROWNOUT_H
+#ifndef __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_REGI2C_BROWNOUT_H
+#define __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_REGI2C_BROWNOUT_H
 
 #define I2C_BOD                     0x61
 #define I2C_BOD_HOSTID              0
@@ -28,4 +28,4 @@
 #define I2C_BOD_THRESHOLD_MSB       2
 #define I2C_BOD_THRESHOLD_LSB       0
 
-#endif /* __ARCH_RISCV_SRC_ESP32C3_HARDWARE_REGI2C_BROWNOUT_H */
+#endif /* __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_REGI2C_BROWNOUT_H */
diff --git a/arch/risc-v/src/esp32c3/hardware/regi2c_ctrl.h b/arch/risc-v/src/esp32c3-legacy/hardware/regi2c_ctrl.h
similarity index 91%
rename from arch/risc-v/src/esp32c3/hardware/regi2c_ctrl.h
rename to arch/risc-v/src/esp32c3-legacy/hardware/regi2c_ctrl.h
index 785ac470b2..ca2cf03a76 100644
--- a/arch/risc-v/src/esp32c3/hardware/regi2c_ctrl.h
+++ b/arch/risc-v/src/esp32c3-legacy/hardware/regi2c_ctrl.h
@@ -1,5 +1,5 @@
 /****************************************************************************
- * arch/risc-v/src/esp32c3/hardware/regi2c_ctrl.h
+ * arch/risc-v/src/esp32c3-legacy/hardware/regi2c_ctrl.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_HARDWARE_REGI2C_CTRL_H
-#define __ARCH_RISCV_SRC_ESP32C3_HARDWARE_REGI2C_CTRL_H
+#ifndef __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_REGI2C_CTRL_H
+#define __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_REGI2C_CTRL_H
 
 /****************************************************************************
  * Included Files
@@ -66,4 +66,4 @@ extern void rom_i2c_writereg_mask(uint8_t block, uint8_t host_id,
 #define REGI2C_READ(block, reg_add) \
       rom_i2c_readreg(block, block##_HOSTID,  reg_add)
 
-#endif /* __ARCH_RISCV_SRC_ESP32C3_HARDWARE_REGI2C_CTRL_H */
+#endif /* __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_REGI2C_CTRL_H */
diff --git a/arch/risc-v/src/esp32c3/hardware/regi2c_dig_reg.h b/arch/risc-v/src/esp32c3-legacy/hardware/regi2c_dig_reg.h
similarity index 88%
rename from arch/risc-v/src/esp32c3/hardware/regi2c_dig_reg.h
rename to arch/risc-v/src/esp32c3-legacy/hardware/regi2c_dig_reg.h
index 1ced0993e6..d4ed9b6dc5 100644
--- a/arch/risc-v/src/esp32c3/hardware/regi2c_dig_reg.h
+++ b/arch/risc-v/src/esp32c3-legacy/hardware/regi2c_dig_reg.h
@@ -1,5 +1,5 @@
 /****************************************************************************
- * arch/risc-v/src/esp32c3/hardware/regi2c_dig_reg.h
+ * arch/risc-v/src/esp32c3-legacy/hardware/regi2c_dig_reg.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_HARDWARE_REGI2C_DIG_REG_H
-#define __ARCH_RISCV_SRC_ESP32C3_HARDWARE_REGI2C_DIG_REG_H
+#ifndef __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_REGI2C_DIG_REG_H
+#define __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_REGI2C_DIG_REG_H
 
 /****************************************************************************
  * Pre-processor Definitions
@@ -56,4 +56,4 @@
 #define I2C_DIG_REG_XPD_DIG_REG_MSB 3
 #define I2C_DIG_REG_XPD_DIG_REG_LSB 3
 
-#endif /* __ARCH_RISCV_SRC_ESP32C3_HARDWARE_REGI2C_DIG_REG_H */
+#endif /* __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_REGI2C_DIG_REG_H */
diff --git a/arch/risc-v/src/esp32c3/hardware/regi2c_lp_bias.h b/arch/risc-v/src/esp32c3-legacy/hardware/regi2c_lp_bias.h
similarity index 88%
rename from arch/risc-v/src/esp32c3/hardware/regi2c_lp_bias.h
rename to arch/risc-v/src/esp32c3-legacy/hardware/regi2c_lp_bias.h
index b0f16d124f..b887e8b9e7 100644
--- a/arch/risc-v/src/esp32c3/hardware/regi2c_lp_bias.h
+++ b/arch/risc-v/src/esp32c3-legacy/hardware/regi2c_lp_bias.h
@@ -1,5 +1,5 @@
 /****************************************************************************
- * arch/risc-v/src/esp32c3/hardware/regi2c_lp_bias.h
+ * arch/risc-v/src/esp32c3-legacy/hardware/regi2c_lp_bias.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_HARDWARE_REGI2C_LP_BIAS_H
-#define __ARCH_RISCV_SRC_ESP32C3_HARDWARE_REGI2C_LP_BIAS_H
+#ifndef __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_REGI2C_LP_BIAS_H
+#define __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_REGI2C_LP_BIAS_H
 
 /****************************************************************************
  * Pre-processor Definitions
@@ -57,4 +57,4 @@
 #define I2C_ULP_EXT_CODE_MSB 7
 #define I2C_ULP_EXT_CODE_LSB 0
 
-#endif /* __ARCH_RISCV_SRC_ESP32C3_HARDWARE_REGI2C_LP_BIAS_H */
+#endif /* __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_REGI2C_LP_BIAS_H */
diff --git a/arch/risc-v/src/esp32c3/hardware/regi2c_saradc.h b/arch/risc-v/src/esp32c3-legacy/hardware/regi2c_saradc.h
similarity index 87%
rename from arch/risc-v/src/esp32c3/hardware/regi2c_saradc.h
rename to arch/risc-v/src/esp32c3-legacy/hardware/regi2c_saradc.h
index f4fe0881ab..74518d97d5 100644
--- a/arch/risc-v/src/esp32c3/hardware/regi2c_saradc.h
+++ b/arch/risc-v/src/esp32c3-legacy/hardware/regi2c_saradc.h
@@ -1,5 +1,5 @@
 /****************************************************************************
- * arch/risc-v/src/esp32c3/hardware/regi2c_saradc.h
+ * arch/risc-v/src/esp32c3-legacy/hardware/regi2c_saradc.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_HARDWARE_REGI2C_SARADC_H
-#define __ARCH_RISCV_SRC_ESP32C3_HARDWARE_REGI2C_SARADC_H
+#ifndef __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_REGI2C_SARADC_H
+#define __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_REGI2C_SARADC_H
 
 /****************************************************************************
  * Pre-processor Definitions
@@ -48,4 +48,4 @@
 #define I2C_ADC1_DEF_MSB        (0x6)
 #define I2C_ADC1_DEF_LSB        (0x4)
 
-#endif /* __ARCH_RISCV_SRC_ESP32C3_HARDWARE_REGI2C_SARADC_H */
+#endif /* __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_REGI2C_SARADC_H */
diff --git a/arch/risc-v/src/esp32c3/hardware/spi_mem_reg.h b/arch/risc-v/src/esp32c3-legacy/hardware/spi_mem_reg.h
similarity index 87%
rename from arch/risc-v/src/esp32c3/hardware/spi_mem_reg.h
rename to arch/risc-v/src/esp32c3-legacy/hardware/spi_mem_reg.h
index fe402b4020..eff6f45043 100644
--- a/arch/risc-v/src/esp32c3/hardware/spi_mem_reg.h
+++ b/arch/risc-v/src/esp32c3-legacy/hardware/spi_mem_reg.h
@@ -1,5 +1,5 @@
 /****************************************************************************
- * arch/risc-v/src/esp32c3/hardware/spi_mem_reg.h
+ * arch/risc-v/src/esp32c3-legacy/hardware/spi_mem_reg.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_HARDWARE_SPI_MEM_REG_H
-#define __ARCH_RISCV_SRC_ESP32C3_HARDWARE_SPI_MEM_REG_H
+#ifndef __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_SPI_MEM_REG_H
+#define __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_SPI_MEM_REG_H
 
 /****************************************************************************
  * Included Files
@@ -43,4 +43,4 @@
 #define SPI_MEM_CLK_EN_V  0x1
 #define SPI_MEM_CLK_EN_S  0
 
-#endif /* __ARCH_RISCV_SRC_ESP32C3_HARDWARE_SPI_MEM_REG_H */
+#endif /* __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_SPI_MEM_REG_H */
diff --git a/arch/risc-v/src/esp32c3/hardware/wdev_reg.h b/arch/risc-v/src/esp32c3-legacy/hardware/wdev_reg.h
similarity index 83%
rename from arch/risc-v/src/esp32c3/hardware/wdev_reg.h
rename to arch/risc-v/src/esp32c3-legacy/hardware/wdev_reg.h
index a25d3ac2bb..3d50359cbc 100644
--- a/arch/risc-v/src/esp32c3/hardware/wdev_reg.h
+++ b/arch/risc-v/src/esp32c3-legacy/hardware/wdev_reg.h
@@ -1,5 +1,5 @@
 /****************************************************************************
- * arch/risc-v/src/esp32c3/hardware/wdev_reg.h
+ * arch/risc-v/src/esp32c3-legacy/hardware/wdev_reg.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_HARDWARE_WDEV_REG_H
-#define __ARCH_RISCV_SRC_ESP32C3_HARDWARE_WDEV_REG_H
+#ifndef __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_WDEV_REG_H
+#define __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_WDEV_REG_H
 
 /****************************************************************************
  * Included Files
@@ -31,4 +31,4 @@
 
 #define WDEV_RND_REG 0x600260b0
 
-#endif /* __ARCH_RISCV_SRC_ESP32C3_HARDWARE_WDEV_REG_H */
+#endif /* __ARCH_RISCV_SRC_ESP32C3_LEGACY_HARDWARE_WDEV_REG_H */
diff --git a/arch/risc-v/src/esp32c3/rom/esp32c3_libc_stubs.h b/arch/risc-v/src/esp32c3-legacy/rom/esp32c3_libc_stubs.h
similarity index 94%
rename from arch/risc-v/src/esp32c3/rom/esp32c3_libc_stubs.h
rename to arch/risc-v/src/esp32c3-legacy/rom/esp32c3_libc_stubs.h
index d540acab44..47e9f84417 100644
--- a/arch/risc-v/src/esp32c3/rom/esp32c3_libc_stubs.h
+++ b/arch/risc-v/src/esp32c3-legacy/rom/esp32c3_libc_stubs.h
@@ -1,5 +1,5 @@
 /****************************************************************************
- * arch/risc-v/src/esp32c3/rom/esp32c3_libc_stubs.h
+ * arch/risc-v/src/esp32c3-legacy/rom/esp32c3_libc_stubs.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_ROM_ESP32C3_LIBC_STUBS_H
-#define __ARCH_RISCV_SRC_ESP32C3_ROM_ESP32C3_LIBC_STUBS_H
+#ifndef __ARCH_RISCV_SRC_ESP32C3_LEGACY_ROM_ESP32C3_LIBC_STUBS_H
+#define __ARCH_RISCV_SRC_ESP32C3_LEGACY_ROM_ESP32C3_LIBC_STUBS_H
 
 /****************************************************************************
  * Included Files
@@ -110,4 +110,4 @@ extern const struct syscall_stub_table *syscall_table_ptr;
 
 void setup_syscall_table(void);
 
-#endif /* __ARCH_RISCV_SRC_ESP32C3_ROM_ESP32C3_LIBC_STUBS_H */
+#endif /* __ARCH_RISCV_SRC_ESP32C3_LEGACY_ROM_ESP32C3_LIBC_STUBS_H */
diff --git a/arch/risc-v/src/esp32c3/rom/esp32c3_spiflash.h b/arch/risc-v/src/esp32c3-legacy/rom/esp32c3_spiflash.h
similarity index 99%
rename from arch/risc-v/src/esp32c3/rom/esp32c3_spiflash.h
rename to arch/risc-v/src/esp32c3-legacy/rom/esp32c3_spiflash.h
index 1c1c4fb9cb..0e015be6fe 100644
--- a/arch/risc-v/src/esp32c3/rom/esp32c3_spiflash.h
+++ b/arch/risc-v/src/esp32c3-legacy/rom/esp32c3_spiflash.h
@@ -1,5 +1,5 @@
 /*****************************************************************************
- * arch/risc-v/src/esp32c3/rom/esp32c3_spiflash.h
+ * arch/risc-v/src/esp32c3-legacy/rom/esp32c3_spiflash.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
diff --git a/boards/Kconfig b/boards/Kconfig
index 2ee3397298..0e2a808a77 100644
--- a/boards/Kconfig
+++ b/boards/Kconfig
@@ -4186,10 +4186,10 @@ if ARCH_BOARD_BL808_OX64
 source "boards/risc-v/bl808/ox64/Kconfig"
 endif
 if ARCH_BOARD_ESP32C3_DEVKIT
-source "boards/risc-v/esp32c3/esp32c3-devkit/Kconfig"
+source "boards/risc-v/esp32c3-legacy/esp32c3-devkit/Kconfig"
 endif
 if ARCH_BOARD_ESP32C3_DEVKIT_RUST1
-source "boards/risc-v/esp32c3/esp32c3-devkit-rust-1/Kconfig"
+source "boards/risc-v/esp32c3-legacy/esp32c3-devkit-rust-1/Kconfig"
 endif
 if ARCH_BOARD_ESP32C3_GENERIC
 source "boards/risc-v/espressif/esp32c3-generic/Kconfig"
@@ -4352,7 +4352,7 @@ if ARCH_CHIP_ESP32S3
 source "boards/xtensa/esp32s3/common/Kconfig"
 endif
 if ARCH_CHIP_ESP32C3
-source "boards/risc-v/esp32c3/common/Kconfig"
+source "boards/risc-v/esp32c3-legacy/common/Kconfig"
 endif
 if ARCH_CHIP_ESPRESSIF
 source "boards/risc-v/espressif/common/Kconfig"
diff --git a/boards/risc-v/esp32c3/common/.gitignore b/boards/risc-v/esp32c3-legacy/common/.gitignore
similarity index 100%
rename from boards/risc-v/esp32c3/common/.gitignore
rename to boards/risc-v/esp32c3-legacy/common/.gitignore
diff --git a/boards/risc-v/esp32c3/common/Kconfig b/boards/risc-v/esp32c3-legacy/common/Kconfig
similarity index 100%
rename from boards/risc-v/esp32c3/common/Kconfig
rename to boards/risc-v/esp32c3-legacy/common/Kconfig
diff --git a/boards/risc-v/esp32c3/common/Makefile b/boards/risc-v/esp32c3-legacy/common/Makefile
similarity index 96%
rename from boards/risc-v/esp32c3/common/Makefile
rename to boards/risc-v/esp32c3-legacy/common/Makefile
index 8ea9c30d28..26c4aef36e 100644
--- a/boards/risc-v/esp32c3/common/Makefile
+++ b/boards/risc-v/esp32c3-legacy/common/Makefile
@@ -1,5 +1,5 @@
 #############################################################################
-# boards/risc-v/esp32c3/common/Makefile
+# boards/risc-v/esp32c3-legacy/common/Makefile
 #
 # Licensed to the Apache Software Foundation (ASF) under one or more
 # contributor license agreements.  See the NOTICE file distributed with
diff --git a/boards/risc-v/esp32c3/common/include/esp32c3_board_adc.h b/boards/risc-v/esp32c3-legacy/common/include/esp32c3_board_adc.h
similarity index 97%
rename from boards/risc-v/esp32c3/common/include/esp32c3_board_adc.h
rename to boards/risc-v/esp32c3-legacy/common/include/esp32c3_board_adc.h
index 5faff36ff4..ad20948aa4 100644
--- a/boards/risc-v/esp32c3/common/include/esp32c3_board_adc.h
+++ b/boards/risc-v/esp32c3-legacy/common/include/esp32c3_board_adc.h
@@ -1,5 +1,5 @@
 /****************************************************************************
- * boards/risc-v/esp32c3/common/include/esp32c3_board_adc.h
+ * boards/risc-v/esp32c3-legacy/common/include/esp32c3_board_adc.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
diff --git a/boards/risc-v/esp32c3/common/include/esp32c3_board_apds9960.h b/boards/risc-v/esp32c3-legacy/common/include/esp32c3_board_apds9960.h
similarity index 97%
rename from boards/risc-v/esp32c3/common/include/esp32c3_board_apds9960.h
rename to boards/risc-v/esp32c3-legacy/common/include/esp32c3_board_apds9960.h
index 8aa05e802b..b7448e3c45 100644
--- a/boards/risc-v/esp32c3/common/include/esp32c3_board_apds9960.h
+++ b/boards/risc-v/esp32c3-legacy/common/include/esp32c3_board_apds9960.h
@@ -1,5 +1,5 @@
 /****************************************************************************
- * boards/risc-v/esp32c3/common/include/esp32c3_board_apds9960.h
+ * boards/risc-v/esp32c3-legacy/common/include/esp32c3_board_apds9960.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
diff --git a/boards/risc-v/esp32c3/common/include/esp32c3_board_bmp180.h b/boards/risc-v/esp32c3-legacy/common/include/esp32c3_board_bmp180.h
similarity index 97%
rename from boards/risc-v/esp32c3/common/include/esp32c3_board_bmp180.h
rename to boards/risc-v/esp32c3-legacy/common/include/esp32c3_board_bmp180.h
index 211e1919dc..8492465fa5 100644
--- a/boards/risc-v/esp32c3/common/include/esp32c3_board_bmp180.h
+++ b/boards/risc-v/esp32c3-legacy/common/include/esp32c3_board_bmp180.h
@@ -1,5 +1,5 @@
 /****************************************************************************
- * boards/risc-v/esp32c3/common/include/esp32c3_board_bmp180.h
+ * boards/risc-v/esp32c3-legacy/common/include/esp32c3_board_bmp180.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
diff --git a/boards/risc-v/esp32c3/common/include/esp32c3_board_i2c.h b/boards/risc-v/esp32c3-legacy/common/include/esp32c3_board_i2c.h
similarity index 97%
rename from boards/risc-v/esp32c3/common/include/esp32c3_board_i2c.h
rename to boards/risc-v/esp32c3-legacy/common/include/esp32c3_board_i2c.h
index 0404336f4e..5b705ba383 100644
--- a/boards/risc-v/esp32c3/common/include/esp32c3_board_i2c.h
+++ b/boards/risc-v/esp32c3-legacy/common/include/esp32c3_board_i2c.h
@@ -1,5 +1,5 @@
 /****************************************************************************
- * boards/risc-v/esp32c3/common/include/esp32c3_board_i2c.h
+ * boards/risc-v/esp32c3-legacy/common/include/esp32c3_board_i2c.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
diff --git a/boards/risc-v/esp32c3/common/include/esp32c3_board_ledc.h b/boards/risc-v/esp32c3-legacy/common/include/esp32c3_board_ledc.h
similarity index 97%
rename from boards/risc-v/esp32c3/common/include/esp32c3_board_ledc.h
rename to boards/risc-v/esp32c3-legacy/common/include/esp32c3_board_ledc.h
index adfb93f052..8bcc0b4cc2 100644
--- a/boards/risc-v/esp32c3/common/include/esp32c3_board_ledc.h
+++ b/boards/risc-v/esp32c3-legacy/common/include/esp32c3_board_ledc.h
@@ -1,5 +1,5 @@
 /****************************************************************************
- * boards/risc-v/esp32c3/common/include/esp32c3_board_ledc.h
+ * boards/risc-v/esp32c3-legacy/common/include/esp32c3_board_ledc.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
diff --git a/boards/risc-v/esp32c3/common/include/esp32c3_board_mpu60x0_i2c.h b/boards/risc-v/esp32c3-legacy/common/include/esp32c3_board_mpu60x0_i2c.h
similarity index 97%
rename from boards/risc-v/esp32c3/common/include/esp32c3_board_mpu60x0_i2c.h
rename to boards/risc-v/esp32c3-legacy/common/include/esp32c3_board_mpu60x0_i2c.h
index ff7059bf4a..b4a812a947 100644
--- a/boards/risc-v/esp32c3/common/include/esp32c3_board_mpu60x0_i2c.h
+++ b/boards/risc-v/esp32c3-legacy/common/include/esp32c3_board_mpu60x0_i2c.h
@@ -1,5 +1,5 @@
 /****************************************************************************
- * boards/risc-v/esp32c3/common/include/esp32c3_board_mpu60x0_i2c.h
+ * boards/risc-v/esp32c3-legacy/common/include/esp32c3_board_mpu60x0_i2c.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
diff --git a/boards/risc-v/esp32c3/common/include/esp32c3_board_oneshot.h b/boards/risc-v/esp32c3-legacy/common/include/esp32c3_board_oneshot.h
similarity index 97%
rename from boards/risc-v/esp32c3/common/include/esp32c3_board_oneshot.h
rename to boards/risc-v/esp32c3-legacy/common/include/esp32c3_board_oneshot.h
index 8722b9e978..1260f71096 100644
--- a/boards/risc-v/esp32c3/common/include/esp32c3_board_oneshot.h
+++ b/boards/risc-v/esp32c3-legacy/common/include/esp32c3_board_oneshot.h
@@ -1,5 +1,5 @@
 /****************************************************************************
- * boards/risc-v/esp32c3/common/include/esp32c3_board_oneshot.h
+ * boards/risc-v/esp32c3-legacy/common/include/esp32c3_board_oneshot.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
diff --git a/boards/risc-v/esp32c3/common/include/esp32c3_board_spidev.h b/boards/risc-v/esp32c3-legacy/common/include/esp32c3_board_spidev.h
similarity index 97%
rename from boards/risc-v/esp32c3/common/include/esp32c3_board_spidev.h
rename to boards/risc-v/esp32c3-legacy/common/include/esp32c3_board_spidev.h
index d015b224c0..0b9318d3cd 100644
--- a/boards/risc-v/esp32c3/common/include/esp32c3_board_spidev.h
+++ b/boards/risc-v/esp32c3-legacy/common/include/esp32c3_board_spidev.h
@@ -1,5 +1,5 @@
 /****************************************************************************
- * boards/risc-v/esp32c3/common/include/esp32c3_board_spidev.h
+ * boards/risc-v/esp32c3-legacy/common/include/esp32c3_board_spidev.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
diff --git a/boards/risc-v/esp32c3/common/include/esp32c3_board_spiflash.h b/boards/risc-v/esp32c3-legacy/common/include/esp32c3_board_spiflash.h
similarity index 97%
rename from boards/risc-v/esp32c3/common/include/esp32c3_board_spiflash.h
rename to boards/risc-v/esp32c3-legacy/common/include/esp32c3_board_spiflash.h
index 4229983b70..d95fe68772 100644
--- a/boards/risc-v/esp32c3/common/include/esp32c3_board_spiflash.h
+++ b/boards/risc-v/esp32c3-legacy/common/include/esp32c3_board_spiflash.h
@@ -1,5 +1,5 @@
 /****************************************************************************
- * boards/risc-v/esp32c3/common/include/esp32c3_board_spiflash.h
+ * boards/risc-v/esp32c3-legacy/common/include/esp32c3_board_spiflash.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
diff --git a/boards/risc-v/esp32c3/common/include/esp32c3_board_spislavedev.h b/boards/risc-v/esp32c3-legacy/common/include/esp32c3_board_spislavedev.h
similarity index 97%
rename from boards/risc-v/esp32c3/common/include/esp32c3_board_spislavedev.h
rename to boards/risc-v/esp32c3-legacy/common/include/esp32c3_board_spislavedev.h
index b98f4b034f..7dadf594a6 100644
--- a/boards/risc-v/esp32c3/common/include/esp32c3_board_spislavedev.h
+++ b/boards/risc-v/esp32c3-legacy/common/include/esp32c3_board_spislavedev.h
@@ -1,5 +1,5 @@
 /****************************************************************************
- * boards/risc-v/esp32c3/common/include/esp32c3_board_spislavedev.h
+ * boards/risc-v/esp32c3-legacy/common/include/esp32c3_board_spislavedev.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
diff --git a/boards/risc-v/esp32c3/common/include/esp32c3_board_twai.h b/boards/risc-v/esp32c3-legacy/common/include/esp32c3_board_twai.h
similarity index 97%
rename from boards/risc-v/esp32c3/common/include/esp32c3_board_twai.h
rename to boards/risc-v/esp32c3-legacy/common/include/esp32c3_board_twai.h
index 57b5b1f942..7f94acf584 100644
--- a/boards/risc-v/esp32c3/common/include/esp32c3_board_twai.h
+++ b/boards/risc-v/esp32c3-legacy/common/include/esp32c3_board_twai.h
@@ -1,5 +1,5 @@
 /****************************************************************************
- * boards/risc-v/esp32c3/common/include/esp32c3_board_twai.h
+ * boards/risc-v/esp32c3-legacy/common/include/esp32c3_board_twai.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
diff --git a/boards/risc-v/esp32c3/common/include/esp32c3_board_wdt.h b/boards/risc-v/esp32c3-legacy/common/include/esp32c3_board_wdt.h
similarity index 97%
rename from boards/risc-v/esp32c3/common/include/esp32c3_board_wdt.h
rename to boards/risc-v/esp32c3-legacy/common/include/esp32c3_board_wdt.h
index df7e89a071..be072878bc 100644
--- a/boards/risc-v/esp32c3/common/include/esp32c3_board_wdt.h
+++ b/boards/risc-v/esp32c3-legacy/common/include/esp32c3_board_wdt.h
@@ -1,5 +1,5 @@
 /****************************************************************************
- * boards/risc-v/esp32c3/common/include/esp32c3_board_wdt.h
+ * boards/risc-v/esp32c3-legacy/common/include/esp32c3_board_wdt.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
diff --git a/boards/risc-v/esp32c3/common/include/esp32c3_board_wlan.h b/boards/risc-v/esp32c3-legacy/common/include/esp32c3_board_wlan.h
similarity index 97%
rename from boards/risc-v/esp32c3/common/include/esp32c3_board_wlan.h
rename to boards/risc-v/esp32c3-legacy/common/include/esp32c3_board_wlan.h
index fdca410a6a..493c31139e 100644
--- a/boards/risc-v/esp32c3/common/include/esp32c3_board_wlan.h
+++ b/boards/risc-v/esp32c3-legacy/common/include/esp32c3_board_wlan.h
@@ -1,5 +1,5 @@
 /****************************************************************************
- * boards/risc-v/esp32c3/common/include/esp32c3_board_wlan.h
+ * boards/risc-v/esp32c3-legacy/common/include/esp32c3_board_wlan.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
diff --git a/boards/risc-v/esp32c3/common/kernel/Makefile b/boards/risc-v/esp32c3-legacy/common/kernel/Makefile
similarity index 98%
rename from boards/risc-v/esp32c3/common/kernel/Makefile
rename to boards/risc-v/esp32c3-legacy/common/kernel/Makefile
index c5b22e6a91..f3a2d84b0f 100644
--- a/boards/risc-v/esp32c3/common/kernel/Makefile
+++ b/boards/risc-v/esp32c3-legacy/common/kernel/Makefile
@@ -1,5 +1,5 @@
 ############################################################################
-# boards/risc-v/esp32c3/esp32c3-devkit/kernel/Makefile
+# boards/risc-v/esp32c3-legacy/esp32c3-devkit/kernel/Makefile
 #
 # Licensed to the Apache Software Foundation (ASF) under one or more
 # contributor license agreements.  See the NOTICE file distributed with
diff --git a/boards/risc-v/esp32c3/common/kernel/esp32c3_userspace.c b/boards/risc-v/esp32c3-legacy/common/kernel/esp32c3_userspace.c
similarity index 100%
rename from boards/risc-v/esp32c3/common/kernel/esp32c3_userspace.c
rename to boards/risc-v/esp32c3-legacy/common/kernel/esp32c3_userspace.c
diff --git a/boards/risc-v/esp32c3/common/scripts/.gitignore b/boards/risc-v/esp32c3-legacy/common/scripts/.gitignore
similarity index 100%
rename from boards/risc-v/esp32c3/common/scripts/.gitignore
rename to boards/risc-v/esp32c3-legacy/common/scripts/.gitignore
diff --git a/boards/risc-v/esp32c3/common/scripts/esp32c3_aliases.ld b/boards/risc-v/esp32c3-legacy/common/scripts/esp32c3_aliases.ld
similarity index 95%
rename from boards/risc-v/esp32c3/common/scripts/esp32c3_aliases.ld
rename to boards/risc-v/esp32c3-legacy/common/scripts/esp32c3_aliases.ld
index 9acf82c28b..44c1b84b6b 100644
--- a/boards/risc-v/esp32c3/common/scripts/esp32c3_aliases.ld
+++ b/boards/risc-v/esp32c3-legacy/common/scripts/esp32c3_aliases.ld
@@ -1,5 +1,5 @@
 /****************************************************************************
- * boards/risc-v/esp32c3/common/scripts/esp32c3_aliases.ld
+ * boards/risc-v/esp32c3-legacy/common/scripts/esp32c3_aliases.ld
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
diff --git a/boards/risc-v/esp32c3/common/scripts/esp32c3_rom.ld b/boards/risc-v/esp32c3-legacy/common/scripts/esp32c3_rom.ld
similarity index 99%
rename from boards/risc-v/esp32c3/common/scripts/esp32c3_rom.ld
rename to boards/risc-v/esp32c3-legacy/common/scripts/esp32c3_rom.ld
index a14a6e5ff0..8efd515925 100644
--- a/boards/risc-v/esp32c3/common/scripts/esp32c3_rom.ld
+++ b/boards/risc-v/esp32c3-legacy/common/scripts/esp32c3_rom.ld
@@ -1,5 +1,5 @@
 /****************************************************************************
- * boards/risc-v/esp32c3/common/scripts/esp32c3_rom.ld
+ * boards/risc-v/esp32c3-legacy/common/scripts/esp32c3_rom.ld
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
diff --git a/boards/risc-v/esp32c3/common/scripts/flat_memory.ld b/boards/risc-v/esp32c3-legacy/common/scripts/flat_memory.ld
similarity index 98%
rename from boards/risc-v/esp32c3/common/scripts/flat_memory.ld
rename to boards/risc-v/esp32c3-legacy/common/scripts/flat_memory.ld
index c0c7937457..f173923446 100644
--- a/boards/risc-v/esp32c3/common/scripts/flat_memory.ld
+++ b/boards/risc-v/esp32c3-legacy/common/scripts/flat_memory.ld
@@ -1,5 +1,5 @@
 /****************************************************************************
- * boards/risc-v/esp32c3/common/scripts/flat_memory.ld
+ * boards/risc-v/esp32c3-legacy/common/scripts/flat_memory.ld
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
diff --git a/boards/risc-v/esp32c3/common/scripts/kernel-space.ld b/boards/risc-v/esp32c3-legacy/common/scripts/kernel-space.ld
similarity index 98%
rename from boards/risc-v/esp32c3/common/scripts/kernel-space.ld
rename to boards/risc-v/esp32c3-legacy/common/scripts/kernel-space.ld
index 014ad10ecb..92747c23d7 100644
--- a/boards/risc-v/esp32c3/common/scripts/kernel-space.ld
+++ b/boards/risc-v/esp32c3-legacy/common/scripts/kernel-space.ld
@@ -1,5 +1,5 @@
 /****************************************************************************
- * boards/risc-v/esp32c3/common/scripts/kernel-space.ld
+ * boards/risc-v/esp32c3-legacy/common/scripts/kernel-space.ld
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
diff --git a/boards/risc-v/esp32c3/common/scripts/legacy_sections.ld b/boards/risc-v/esp32c3-legacy/common/scripts/legacy_sections.ld
similarity index 98%
rename from boards/risc-v/esp32c3/common/scripts/legacy_sections.ld
rename to boards/risc-v/esp32c3-legacy/common/scripts/legacy_sections.ld
index 41a03c4824..19b3b8ca0c 100644
--- a/boards/risc-v/esp32c3/common/scripts/legacy_sections.ld
+++ b/boards/risc-v/esp32c3-legacy/common/scripts/legacy_sections.ld
@@ -1,5 +1,5 @@
 /****************************************************************************
- * boards/risc-v/esp32c3/common/scripts/legacy_sections.ld
+ * boards/risc-v/esp32c3-legacy/common/scripts/legacy_sections.ld
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
diff --git a/boards/risc-v/esp32c3/common/scripts/mcuboot_sections.ld b/boards/risc-v/esp32c3-legacy/common/scripts/mcuboot_sections.ld
similarity index 99%
rename from boards/risc-v/esp32c3/common/scripts/mcuboot_sections.ld
rename to boards/risc-v/esp32c3-legacy/common/scripts/mcuboot_sections.ld
index 39f9666b96..cf6ab7123d 100644
--- a/boards/risc-v/esp32c3/common/scripts/mcuboot_sections.ld
+++ b/boards/risc-v/esp32c3-legacy/common/scripts/mcuboot_sections.ld
@@ -1,5 +1,5 @@
 /****************************************************************************
- * boards/risc-v/esp32c3/common/scripts/mcuboot_sections.ld
+ * boards/risc-v/esp32c3-legacy/common/scripts/mcuboot_sections.ld
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
diff --git a/boards/risc-v/esp32c3/common/scripts/protected_memory.ld b/boards/risc-v/esp32c3-legacy/common/scripts/protected_memory.ld
similarity index 98%
rename from boards/risc-v/esp32c3/common/scripts/protected_memory.ld
rename to boards/risc-v/esp32c3-legacy/common/scripts/protected_memory.ld
index a0ec6dd626..75872dea84 100644
--- a/boards/risc-v/esp32c3/common/scripts/protected_memory.ld
+++ b/boards/risc-v/esp32c3-legacy/common/scripts/protected_memory.ld
@@ -1,5 +1,5 @@
 /****************************************************************************
- * boards/risc-v/esp32c3/common/scripts/protected_memory.ld
+ * boards/risc-v/esp32c3-legacy/common/scripts/protected_memory.ld
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
diff --git a/boards/risc-v/esp32c3/common/scripts/user-space.ld b/boards/risc-v/esp32c3-legacy/common/scripts/user-space.ld
similarity index 98%
rename from boards/risc-v/esp32c3/common/scripts/user-space.ld
rename to boards/risc-v/esp32c3-legacy/common/scripts/user-space.ld
index 543bac4a13..4696757232 100644
--- a/boards/risc-v/esp32c3/common/scripts/user-space.ld
+++ b/boards/risc-v/esp32c3-legacy/common/scripts/user-space.ld
@@ -1,5 +1,5 @@
 /****************************************************************************
- * boards/risc-v/esp32c3/common/scripts/user-space.ld
+ * boards/risc-v/esp32c3-legacy/common/scripts/user-space.ld
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
diff --git a/boards/risc-v/esp32c3/common/src/Make.defs b/boards/risc-v/esp32c3-legacy/common/src/Make.defs
similarity index 97%
rename from boards/risc-v/esp32c3/common/src/Make.defs
rename to boards/risc-v/esp32c3-legacy/common/src/Make.defs
index 571977ba28..25cdfc2e1c 100644
--- a/boards/risc-v/esp32c3/common/src/Make.defs
+++ b/boards/risc-v/esp32c3-legacy/common/src/Make.defs
@@ -1,5 +1,5 @@
 #############################################################################
-# boards/risc-v/esp32c3/common/src/Make.defs
+# boards/risc-v/esp32c3-legacy/common/src/Make.defs
 #
 # Licensed to the Apache Software Foundation (ASF) under one or more
 # contributor license agreements.  See the NOTICE file distributed with
diff --git a/boards/risc-v/esp32c3/common/src/esp32c3_board_adc.c b/boards/risc-v/esp32c3-legacy/common/src/esp32c3_board_adc.c
similarity index 98%
rename from boards/risc-v/esp32c3/common/src/esp32c3_board_adc.c
rename to boards/risc-v/esp32c3-legacy/common/src/esp32c3_board_adc.c
index 15c418eeda..f5d4dddd4d 100644
--- a/boards/risc-v/esp32c3/common/src/esp32c3_board_adc.c
+++ b/boards/risc-v/esp32c3-legacy/common/src/esp32c3_board_adc.c
@@ -1,5 +1,5 @@
 /****************************************************************************
- * boards/risc-v/esp32c3/common/src/esp32c3_board_adc.c
+ * boards/risc-v/esp32c3-legacy/common/src/esp32c3_board_adc.c
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
diff --git a/boards/risc-v/esp32c3/common/src/esp32c3_board_apa102.c b/boards/risc-v/esp32c3-legacy/common/src/esp32c3_board_apa102.c
similarity index 98%
rename from boards/risc-v/esp32c3/common/src/esp32c3_board_apa102.c
rename to boards/risc-v/esp32c3-legacy/common/src/esp32c3_board_apa102.c
index afa4e7efad..a900146c6a 100644
--- a/boards/risc-v/esp32c3/common/src/esp32c3_board_apa102.c
+++ b/boards/risc-v/esp32c3-legacy/common/src/esp32c3_board_apa102.c
@@ -1,5 +1,5 @@
 /****************************************************************************
- * boards/risc-v/esp32c3/common/src/esp32c3_board_apa102.c
+ * boards/risc-v/esp32c3-legacy/common/src/esp32c3_board_apa102.c
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
diff --git a/boards/risc-v/esp32c3/common/src/esp32c3_board_apds9960.c b/boards/risc-v/esp32c3-legacy/common/src/esp32c3_board_apds9960.c
similarity index 98%
rename from boards/risc-v/esp32c3/common/src/esp32c3_board_apds9960.c
rename to boards/risc-v/esp32c3-legacy/common/src/esp32c3_board_apds9960.c
index fb34f345ab..d013f868d5 100644
--- a/boards/risc-v/esp32c3/common/src/esp32c3_board_apds9960.c
+++ b/boards/risc-v/esp32c3-legacy/common/src/esp32c3_board_apds9960.c
@@ -1,5 +1,5 @@
 /****************************************************************************
- * boards/risc-v/esp32c3/common/src/esp32c3_board_apds9960.c
+ * boards/risc-v/esp32c3-legacy/common/src/esp32c3_board_apds9960.c
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
diff --git a/boards/risc-v/esp32c3/common/src/esp32c3_board_bmp180.c b/boards/risc-v/esp32c3-legacy/common/src/esp32c3_board_bmp180.c
similarity index 97%
rename from boards/risc-v/esp32c3/common/src/esp32c3_board_bmp180.c
rename to boards/risc-v/esp32c3-legacy/common/src/esp32c3_board_bmp180.c
index 8acba5655d..9f223bbac8 100644
--- a/boards/risc-v/esp32c3/common/src/esp32c3_board_bmp180.c
+++ b/boards/risc-v/esp32c3-legacy/common/src/esp32c3_board_bmp180.c
@@ -1,5 +1,5 @@
 /****************************************************************************
- * boards/risc-v/esp32c3/common/src/esp32c3_board_bmp180.c
+ * boards/risc-v/esp32c3-legacy/common/src/esp32c3_board_bmp180.c
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
diff --git a/boards/risc-v/esp32c3/common/src/esp32c3_board_gc9a01.c b/boards/risc-v/esp32c3-legacy/common/src/esp32c3_board_gc9a01.c
similarity index 98%
rename from boards/risc-v/esp32c3/common/src/esp32c3_board_gc9a01.c
rename to boards/risc-v/esp32c3-legacy/common/src/esp32c3_board_gc9a01.c
index 285620cfcd..758adc0099 100644
--- a/boards/risc-v/esp32c3/common/src/esp32c3_board_gc9a01.c
+++ b/boards/risc-v/esp32c3-legacy/common/src/esp32c3_board_gc9a01.c
@@ -1,5 +1,5 @@
 /****************************************************************************
- * boards/risc-v/esp32c3/common/src/esp32c3_board_gc9a01.c
+ * boards/risc-v/esp32c3-legacy/common/src/esp32c3_board_gc9a01.c
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
diff --git a/boards/risc-v/esp32c3/common/src/esp32c3_board_i2c.c b/boards/risc-v/esp32c3-legacy/common/src/esp32c3_board_i2c.c
similarity index 97%
rename from boards/risc-v/esp32c3/common/src/esp32c3_board_i2c.c
rename to boards/risc-v/esp32c3-legacy/common/src/esp32c3_board_i2c.c
index 6ad33d61ab..1d8b351d00 100644
--- a/boards/risc-v/esp32c3/common/src/esp32c3_board_i2c.c
+++ b/boards/risc-v/esp32c3-legacy/common/src/esp32c3_board_i2c.c
@@ -1,5 +1,5 @@
 /****************************************************************************
- * boards/risc-v/esp32c3/common/src/esp32c3_board_i2c.c
+ * boards/risc-v/esp32c3-legacy/common/src/esp32c3_board_i2c.c
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
diff --git a/boards/risc-v/esp32c3/common/src/esp32c3_board_ledc.c b/boards/risc-v/esp32c3-legacy/common/src/esp32c3_board_ledc.c
similarity index 98%
rename from boards/risc-v/esp32c3/common/src/esp32c3_board_ledc.c
rename to boards/risc-v/esp32c3-legacy/common/src/esp32c3_board_ledc.c
index 835430b934..65f7c983be 100644
--- a/boards/risc-v/esp32c3/common/src/esp32c3_board_ledc.c
+++ b/boards/risc-v/esp32c3-legacy/common/src/esp32c3_board_ledc.c
@@ -1,5 +1,5 @@
 /****************************************************************************
- * boards/risc-v/esp32c3/common/src/esp32c3_board_ledc.c
+ * boards/risc-v/esp32c3-legacy/common/src/esp32c3_board_ledc.c
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
diff --git a/boards/risc-v/esp32c3/common/src/esp32c3_board_mpu60x0_i2c.c b/boards/risc-v/esp32c3-legacy/common/src/esp32c3_board_mpu60x0_i2c.c
similarity index 97%
rename from boards/risc-v/esp32c3/common/src/esp32c3_board_mpu60x0_i2c.c
rename to boards/risc-v/esp32c3-legacy/common/src/esp32c3_board_mpu60x0_i2c.c
index a64e736255..a321085c5d 100644
--- a/boards/risc-v/esp32c3/common/src/esp32c3_board_mpu60x0_i2c.c
+++ b/boards/risc-v/esp32c3-legacy/common/src/esp32c3_board_mpu60x0_i2c.c
@@ -1,5 +1,5 @@
 /****************************************************************************
- * boards/risc-v/esp32c3/common/src/esp32c3_board_mpu60x0_i2c.c
+ * boards/risc-v/esp32c3-legacy/common/src/esp32c3_board_mpu60x0_i2c.c
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
diff --git a/boards/risc-v/esp32c3/common/src/esp32c3_board_oneshot.c b/boards/risc-v/esp32c3-legacy/common/src/esp32c3_board_oneshot.c
similarity index 97%
rename from boards/risc-v/esp32c3/common/src/esp32c3_board_oneshot.c
rename to boards/risc-v/esp32c3-legacy/common/src/esp32c3_board_oneshot.c
index ada850f682..709bd66269 100644
--- a/boards/risc-v/esp32c3/common/src/esp32c3_board_oneshot.c
+++ b/boards/risc-v/esp32c3-legacy/common/src/esp32c3_board_oneshot.c
@@ -1,5 +1,5 @@
 /****************************************************************************
- * boards/risc-v/esp32c3/common/src/esp32c3_board_oneshot.c
+ * boards/risc-v/esp32c3-legacy/common/src/esp32c3_board_oneshot.c
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
diff --git a/boards/risc-v/esp32c3/common/src/esp32c3_board_spi.c b/boards/risc-v/esp32c3-legacy/common/src/esp32c3_board_spi.c
similarity index 97%
rename from boards/risc-v/esp32c3/common/src/esp32c3_board_spi.c
rename to boards/risc-v/esp32c3-legacy/common/src/esp32c3_board_spi.c
index b29b822eef..3e54fdfbc4 100644
--- a/boards/risc-v/esp32c3/common/src/esp32c3_board_spi.c
+++ b/boards/risc-v/esp32c3-legacy/common/src/esp32c3_board_spi.c
@@ -1,5 +1,5 @@
 /****************************************************************************
- * boards/risc-v/esp32c3/common/src/esp32c3_board_spi.c
+ * boards/risc-v/esp32c3-legacy/common/src/esp32c3_board_spi.c
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
diff --git a/boards/risc-v/esp32c3/common/src/esp32c3_board_spidev.c b/boards/risc-v/esp32c3-legacy/common/src/esp32c3_board_spidev.c
similarity index 97%
rename from boards/risc-v/esp32c3/common/src/esp32c3_board_spidev.c
rename to boards/risc-v/esp32c3-legacy/common/src/esp32c3_board_spidev.c
index 834b72fdb8..b858a6ad09 100644
--- a/boards/risc-v/esp32c3/common/src/esp32c3_board_spidev.c
+++ b/boards/risc-v/esp32c3-legacy/common/src/esp32c3_board_spidev.c
@@ -1,5 +1,5 @@
 /****************************************************************************
- * boards/risc-v/esp32c3/common/src/esp32c3_board_spidev.c
+ * boards/risc-v/esp32c3-legacy/common/src/esp32c3_board_spidev.c
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
diff --git a/boards/risc-v/esp32c3/common/src/esp32c3_board_spiflash.c b/boards/risc-v/esp32c3-legacy/common/src/esp32c3_board_spiflash.c
similarity index 99%
rename from boards/risc-v/esp32c3/common/src/esp32c3_board_spiflash.c
rename to boards/risc-v/esp32c3-legacy/common/src/esp32c3_board_spiflash.c
index 4b4a0ea9d2..9aecca8c1a 100644
--- a/boards/risc-v/esp32c3/common/src/esp32c3_board_spiflash.c
+++ b/boards/risc-v/esp32c3-legacy/common/src/esp32c3_board_spiflash.c
@@ -1,5 +1,5 @@
 /****************************************************************************
- * boards/risc-v/esp32c3/common/src/esp32c3_board_spiflash.c
+ * boards/risc-v/esp32c3-legacy/common/src/esp32c3_board_spiflash.c
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
diff --git a/boards/risc-v/esp32c3/common/src/esp32c3_board_spislavedev.c b/boards/risc-v/esp32c3-legacy/common/src/esp32c3_board_spislavedev.c
similarity index 97%
rename from boards/risc-v/esp32c3/common/src/esp32c3_board_spislavedev.c
rename to boards/risc-v/esp32c3-legacy/common/src/esp32c3_board_spislavedev.c
index c6721661df..199109c4bb 100644
--- a/boards/risc-v/esp32c3/common/src/esp32c3_board_spislavedev.c
+++ b/boards/risc-v/esp32c3-legacy/common/src/esp32c3_board_spislavedev.c
@@ -1,5 +1,5 @@
 /****************************************************************************
- * boards/risc-v/esp32c3/common/src/esp32c3_board_spislavedev.c
+ * boards/risc-v/esp32c3-legacy/common/src/esp32c3_board_spislavedev.c
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
diff --git a/boards/risc-v/esp32c3/common/src/esp32c3_board_st7735.c b/boards/risc-v/esp32c3-legacy/common/src/esp32c3_board_st7735.c
similarity index 98%
rename from boards/risc-v/esp32c3/common/src/esp32c3_board_st7735.c
rename to boards/risc-v/esp32c3-legacy/common/src/esp32c3_board_st7735.c
index d2f40dad06..9e8bc3f7cf 100644
--- a/boards/risc-v/esp32c3/common/src/esp32c3_board_st7735.c
+++ b/boards/risc-v/esp32c3-legacy/common/src/esp32c3_board_st7735.c
@@ -1,5 +1,5 @@
 /****************************************************************************
- * boards/risc-v/esp32c3/common/src/esp32c3_board_st7735.c
+ * boards/risc-v/esp32c3-legacy/common/src/esp32c3_board_st7735.c
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
diff --git a/boards/risc-v/esp32c3/common/src/esp32c3_board_st7789.c b/boards/risc-v/esp32c3-legacy/common/src/esp32c3_board_st7789.c
similarity index 98%
rename from boards/risc-v/esp32c3/common/src/esp32c3_board_st7789.c
rename to boards/risc-v/esp32c3-legacy/common/src/esp32c3_board_st7789.c
index 99c82855c7..8a53f5bb45 100644
--- a/boards/risc-v/esp32c3/common/src/esp32c3_board_st7789.c
+++ b/boards/risc-v/esp32c3-legacy/common/src/esp32c3_board_st7789.c
@@ -1,5 +1,5 @@
 /****************************************************************************
- * boards/risc-v/esp32c3/common/src/esp32c3_board_st7789.c
+ * boards/risc-v/esp32c3-legacy/common/src/esp32c3_board_st7789.c
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
diff --git a/boards/risc-v/esp32c3/common/src/esp32c3_board_twai.c b/boards/risc-v/esp32c3-legacy/common/src/esp32c3_board_twai.c
similarity index 97%
rename from boards/risc-v/esp32c3/common/src/esp32c3_board_twai.c
rename to boards/risc-v/esp32c3-legacy/common/src/esp32c3_board_twai.c
index 2e80ab043a..62bf5b3853 100644
--- a/boards/risc-v/esp32c3/common/src/esp32c3_board_twai.c
+++ b/boards/risc-v/esp32c3-legacy/common/src/esp32c3_board_twai.c
@@ -1,5 +1,5 @@
 /****************************************************************************
- * boards/risc-v/esp32c3/common/src/esp32c3_board_twai.c
+ * boards/risc-v/esp32c3-legacy/common/src/esp32c3_board_twai.c
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
diff --git a/boards/risc-v/esp32c3/common/src/esp32c3_board_wdt.c b/boards/risc-v/esp32c3-legacy/common/src/esp32c3_board_wdt.c
similarity index 97%
rename from boards/risc-v/esp32c3/common/src/esp32c3_board_wdt.c
rename to boards/risc-v/esp32c3-legacy/common/src/esp32c3_board_wdt.c
index fead26bdb3..ac82af01e8 100644
--- a/boards/risc-v/esp32c3/common/src/esp32c3_board_wdt.c
+++ b/boards/risc-v/esp32c3-legacy/common/src/esp32c3_board_wdt.c
@@ -1,5 +1,5 @@
 /****************************************************************************
- * boards/risc-v/esp32c3/common/src/esp32c3_board_wdt.c
+ * boards/risc-v/esp32c3-legacy/common/src/esp32c3_board_wdt.c
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
diff --git a/boards/risc-v/esp32c3/common/src/esp32c3_board_wlan.c b/boards/risc-v/esp32c3-legacy/common/src/esp32c3_board_wlan.c
similarity index 97%
rename from boards/risc-v/esp32c3/common/src/esp32c3_board_wlan.c
rename to boards/risc-v/esp32c3-legacy/common/src/esp32c3_board_wlan.c
index 35b621eafb..9a19fdf361 100644
--- a/boards/risc-v/esp32c3/common/src/esp32c3_board_wlan.c
+++ b/boards/risc-v/esp32c3-legacy/common/src/esp32c3_board_wlan.c
@@ -1,5 +1,5 @@
 /****************************************************************************
- * boards/risc-v/esp32c3/common/src/esp32c3_board_wlan.c
+ * boards/risc-v/esp32c3-legacy/common/src/esp32c3_board_wlan.c
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
diff --git a/boards/risc-v/esp32c3/esp32c3-devkit-rust-1/Kconfig b/boards/risc-v/esp32c3-legacy/esp32c3-devkit-rust-1/Kconfig
similarity index 100%
rename from boards/risc-v/esp32c3/esp32c3-devkit-rust-1/Kconfig
rename to boards/risc-v/esp32c3-legacy/esp32c3-devkit-rust-1/Kconfig
diff --git a/boards/risc-v/esp32c3/esp32c3-devkit-rust-1/configs/brickmatch/defconfig b/boards/risc-v/esp32c3-legacy/esp32c3-devkit-rust-1/configs/brickmatch/defconfig
similarity index 98%
rename from boards/risc-v/esp32c3/esp32c3-devkit-rust-1/configs/brickmatch/defconfig
rename to boards/risc-v/esp32c3-legacy/esp32c3-devkit-rust-1/configs/brickmatch/defconfig
index f4f86c45d1..2dabaed38f 100644
--- a/boards/risc-v/esp32c3/esp32c3-devkit-rust-1/configs/brickmatch/defconfig
+++ b/boards/risc-v/esp32c3-legacy/esp32c3-devkit-rust-1/configs/brickmatch/defconfig
@@ -12,7 +12,7 @@ CONFIG_ARCH="risc-v"
 CONFIG_ARCH_BOARD="esp32c3-devkit-rust-1"
 CONFIG_ARCH_BOARD_COMMON=y
 CONFIG_ARCH_BOARD_ESP32C3_DEVKIT_RUST1=y
-CONFIG_ARCH_CHIP="esp32c3"
+CONFIG_ARCH_CHIP="esp32c3-legacy"
 CONFIG_ARCH_CHIP_ESP32C3=y
 CONFIG_ARCH_CHIP_ESP32C3MINI1=y
 CONFIG_ARCH_INTERRUPTSTACK=1536
diff --git a/boards/risc-v/esp32c3/esp32c3-devkit-rust-1/configs/nsh/defconfig b/boards/risc-v/esp32c3-legacy/esp32c3-devkit-rust-1/configs/nsh/defconfig
similarity index 97%
rename from boards/risc-v/esp32c3/esp32c3-devkit-rust-1/configs/nsh/defconfig
rename to boards/risc-v/esp32c3-legacy/esp32c3-devkit-rust-1/configs/nsh/defconfig
index c4a9babc85..867a40fd22 100644
--- a/boards/risc-v/esp32c3/esp32c3-devkit-rust-1/configs/nsh/defconfig
+++ b/boards/risc-v/esp32c3-legacy/esp32c3-devkit-rust-1/configs/nsh/defconfig
@@ -11,7 +11,7 @@
 CONFIG_ARCH="risc-v"
 CONFIG_ARCH_BOARD="esp32c3-devkit-rust-1"
 CONFIG_ARCH_BOARD_ESP32C3_DEVKIT_RUST1=y
-CONFIG_ARCH_CHIP="esp32c3"
+CONFIG_ARCH_CHIP="esp32c3-legacy"
 CONFIG_ARCH_CHIP_ESP32C3=y
 CONFIG_ARCH_CHIP_ESP32C3MINI1=y
 CONFIG_ARCH_INTERRUPTSTACK=1536
diff --git a/boards/risc-v/esp32c3/esp32c3-devkit-rust-1/include/board.h b/boards/risc-v/esp32c3-legacy/esp32c3-devkit-rust-1/include/board.h
similarity index 96%
rename from boards/risc-v/esp32c3/esp32c3-devkit-rust-1/include/board.h
rename to boards/risc-v/esp32c3-legacy/esp32c3-devkit-rust-1/include/board.h
index a0a65c219c..a14d51ac10 100644
--- a/boards/risc-v/esp32c3/esp32c3-devkit-rust-1/include/board.h
+++ b/boards/risc-v/esp32c3-legacy/esp32c3-devkit-rust-1/include/board.h
@@ -1,5 +1,5 @@
 /****************************************************************************
- * boards/risc-v/esp32c3/esp32c3-devkit-rust-1/include/board.h
+ * boards/risc-v/esp32c3-legacy/esp32c3-devkit-rust-1/include/board.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
diff --git a/boards/risc-v/esp32c3/esp32c3-devkit-rust-1/include/board_memorymap.h b/boards/risc-v/esp32c3-legacy/esp32c3-devkit-rust-1/include/board_memorymap.h
similarity index 100%
rename from boards/risc-v/esp32c3/esp32c3-devkit-rust-1/include/board_memorymap.h
rename to boards/risc-v/esp32c3-legacy/esp32c3-devkit-rust-1/include/board_memorymap.h
diff --git a/boards/risc-v/esp32c3/esp32c3-devkit-rust-1/scripts/Make.defs b/boards/risc-v/esp32c3-legacy/esp32c3-devkit-rust-1/scripts/Make.defs
similarity index 97%
rename from boards/risc-v/esp32c3/esp32c3-devkit-rust-1/scripts/Make.defs
rename to boards/risc-v/esp32c3-legacy/esp32c3-devkit-rust-1/scripts/Make.defs
index 9e40d54f62..0ffdde4108 100644
--- a/boards/risc-v/esp32c3/esp32c3-devkit-rust-1/scripts/Make.defs
+++ b/boards/risc-v/esp32c3-legacy/esp32c3-devkit-rust-1/scripts/Make.defs
@@ -1,5 +1,5 @@
 ############################################################################
-# boards/risc-v/esp32c3/esp32c3-devkit-rust-1/scripts/Make.defs
+# boards/risc-v/esp32c3-legacy/esp32c3-devkit-rust-1/scripts/Make.defs
 #
 # Licensed to the Apache Software Foundation (ASF) under one or more
 # contributor license agreements.  See the NOTICE file distributed with
diff --git a/boards/risc-v/esp32c3/esp32c3-devkit-rust-1/src/Make.defs b/boards/risc-v/esp32c3-legacy/esp32c3-devkit-rust-1/src/Make.defs
similarity index 95%
rename from boards/risc-v/esp32c3/esp32c3-devkit-rust-1/src/Make.defs
rename to boards/risc-v/esp32c3-legacy/esp32c3-devkit-rust-1/src/Make.defs
index ee830b674d..64711f659b 100644
--- a/boards/risc-v/esp32c3/esp32c3-devkit-rust-1/src/Make.defs
+++ b/boards/risc-v/esp32c3-legacy/esp32c3-devkit-rust-1/src/Make.defs
@@ -1,5 +1,5 @@
 #############################################################################
-# boards/risc-v/esp32c3/esp32c3-devkit-rust-1/src/Makefile
+# boards/risc-v/esp32c3-legacy/esp32c3-devkit-rust-1/src/Makefile
 #
 # Licensed to the Apache Software Foundation (ASF) under one or more
 # contributor license agreements.  See the NOTICE file distributed with
diff --git a/boards/risc-v/esp32c3/esp32c3-devkit-rust-1/src/esp32c3-devkit-rust-1.h b/boards/risc-v/esp32c3-legacy/esp32c3-devkit-rust-1/src/esp32c3-devkit-rust-1.h
similarity index 100%
rename from boards/risc-v/esp32c3/esp32c3-devkit-rust-1/src/esp32c3-devkit-rust-1.h
rename to boards/risc-v/esp32c3-legacy/esp32c3-devkit-rust-1/src/esp32c3-devkit-rust-1.h
diff --git a/boards/risc-v/esp32c3/esp32c3-devkit-rust-1/src/esp32c3_appinit.c b/boards/risc-v/esp32c3-legacy/esp32c3-devkit-rust-1/src/esp32c3_appinit.c
similarity index 97%
rename from boards/risc-v/esp32c3/esp32c3-devkit-rust-1/src/esp32c3_appinit.c
rename to boards/risc-v/esp32c3-legacy/esp32c3-devkit-rust-1/src/esp32c3_appinit.c
index d015d58a45..bef1068289 100644
--- a/boards/risc-v/esp32c3/esp32c3-devkit-rust-1/src/esp32c3_appinit.c
+++ b/boards/risc-v/esp32c3-legacy/esp32c3-devkit-rust-1/src/esp32c3_appinit.c
@@ -1,5 +1,5 @@
 /****************************************************************************
- * boards/risc-v/esp32c3/esp32c3-devkit-rust-1/src/esp32c3_appinit.c
+ * boards/risc-v/esp32c3-legacy/esp32c3-devkit-rust-1/src/esp32c3_appinit.c
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
diff --git a/boards/risc-v/esp32c3/esp32c3-devkit-rust-1/src/esp32c3_autoleds.c b/boards/risc-v/esp32c3-legacy/esp32c3-devkit-rust-1/src/esp32c3_autoleds.c
similarity index 97%
rename from boards/risc-v/esp32c3/esp32c3-devkit-rust-1/src/esp32c3_autoleds.c
rename to boards/risc-v/esp32c3-legacy/esp32c3-devkit-rust-1/src/esp32c3_autoleds.c
index 55c0c8e86e..0e1acfd2df 100644
--- a/boards/risc-v/esp32c3/esp32c3-devkit-rust-1/src/esp32c3_autoleds.c
+++ b/boards/risc-v/esp32c3-legacy/esp32c3-devkit-rust-1/src/esp32c3_autoleds.c
@@ -1,5 +1,5 @@
 /****************************************************************************
- * boards/risc-v/esp32c3/esp32c3-devkit-rust-1/src/esp32c3_autoleds.c
+ * boards/risc-v/esp32c3-legacy/esp32c3-devkit-rust-1/src/esp32c3_autoleds.c
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
diff --git a/boards/risc-v/esp32c3/esp32c3-devkit-rust-1/src/esp32c3_boot.c b/boards/risc-v/esp32c3-legacy/esp32c3-devkit-rust-1/src/esp32c3_boot.c
similarity index 97%
rename from boards/risc-v/esp32c3/esp32c3-devkit-rust-1/src/esp32c3_boot.c
rename to boards/risc-v/esp32c3-legacy/esp32c3-devkit-rust-1/src/esp32c3_boot.c
index 1057370794..33c8a5d450 100644
--- a/boards/risc-v/esp32c3/esp32c3-devkit-rust-1/src/esp32c3_boot.c
+++ b/boards/risc-v/esp32c3-legacy/esp32c3-devkit-rust-1/src/esp32c3_boot.c
@@ -1,5 +1,5 @@
 /****************************************************************************
- * boards/risc-v/esp32c3/esp32c3-devkit-rust-1/src/esp32c3_boot.c
+ * boards/risc-v/esp32c3-legacy/esp32c3-devkit-rust-1/src/esp32c3_boot.c
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
diff --git a/boards/risc-v/esp32c3/esp32c3-devkit-rust-1/src/esp32c3_bringup.c b/boards/risc-v/esp32c3-legacy/esp32c3-devkit-rust-1/src/esp32c3_bringup.c
similarity index 98%
rename from boards/risc-v/esp32c3/esp32c3-devkit-rust-1/src/esp32c3_bringup.c
rename to boards/risc-v/esp32c3-legacy/esp32c3-devkit-rust-1/src/esp32c3_bringup.c
index 638c2dc34a..ac8257210e 100644
--- a/boards/risc-v/esp32c3/esp32c3-devkit-rust-1/src/esp32c3_bringup.c
+++ b/boards/risc-v/esp32c3-legacy/esp32c3-devkit-rust-1/src/esp32c3_bringup.c
@@ -1,5 +1,5 @@
 /****************************************************************************
- * boards/risc-v/esp32c3/esp32c3-devkit-rust-1/src/esp32c3_bringup.c
+ * boards/risc-v/esp32c3-legacy/esp32c3-devkit-rust-1/src/esp32c3_bringup.c
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
diff --git a/boards/risc-v/esp32c3/esp32c3-devkit/src/esp32c3_ioctl.c b/boards/risc-v/esp32c3-legacy/esp32c3-devkit-rust-1/src/esp32c3_ioctl.c
similarity index 97%
rename from boards/risc-v/esp32c3/esp32c3-devkit/src/esp32c3_ioctl.c
rename to boards/risc-v/esp32c3-legacy/esp32c3-devkit-rust-1/src/esp32c3_ioctl.c
index 54579a8c3a..636b09cbe9 100644
--- a/boards/risc-v/esp32c3/esp32c3-devkit/src/esp32c3_ioctl.c
+++ b/boards/risc-v/esp32c3-legacy/esp32c3-devkit-rust-1/src/esp32c3_ioctl.c
@@ -1,5 +1,5 @@
 /****************************************************************************
- * boards/risc-v/esp32c3/esp32c3-devkit/src/esp32c3_ioctl.c
+ * boards/risc-v/esp32c3-legacy/esp32c3-devkit-rust-1/src/esp32c3_ioctl.c
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
diff --git a/boards/risc-v/esp32c3/esp32c3-devkit/src/esp32c3_reset.c b/boards/risc-v/esp32c3-legacy/esp32c3-devkit-rust-1/src/esp32c3_reset.c
similarity index 97%
rename from boards/risc-v/esp32c3/esp32c3-devkit/src/esp32c3_reset.c
rename to boards/risc-v/esp32c3-legacy/esp32c3-devkit-rust-1/src/esp32c3_reset.c
index ad7059cbfe..9d62727164 100644
--- a/boards/risc-v/esp32c3/esp32c3-devkit/src/esp32c3_reset.c
+++ b/boards/risc-v/esp32c3-legacy/esp32c3-devkit-rust-1/src/esp32c3_reset.c
@@ -1,5 +1,5 @@
 /****************************************************************************
- * boards/risc-v/esp32c3/esp32c3-devkit/src/esp32c3_reset.c
+ * boards/risc-v/esp32c3-legacy/esp32c3-devkit-rust-1/src/esp32c3_reset.c
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
diff --git a/boards/risc-v/esp32c3/esp32c3-devkit/Kconfig b/boards/risc-v/esp32c3-legacy/esp32c3-devkit/Kconfig
similarity index 100%
rename from boards/risc-v/esp32c3/esp32c3-devkit/Kconfig
rename to boards/risc-v/esp32c3-legacy/esp32c3-devkit/Kconfig
diff --git a/boards/risc-v/esp32c3/esp32c3-devkit/configs/adc/defconfig b/boards/risc-v/esp32c3-legacy/esp32c3-devkit/configs/adc/defconfig
similarity index 97%
rename from boards/risc-v/esp32c3/esp32c3-devkit/configs/adc/defconfig
rename to boards/risc-v/esp32c3-legacy/esp32c3-devkit/configs/adc/defconfig
index d532e71d11..ef808f2b18 100644
--- a/boards/risc-v/esp32c3/esp32c3-devkit/configs/adc/defconfig
+++ b/boards/risc-v/esp32c3-legacy/esp32c3-devkit/configs/adc/defconfig
@@ -11,7 +11,7 @@ CONFIG_ARCH="risc-v"
 CONFIG_ARCH_BOARD="esp32c3-devkit"
 CONFIG_ARCH_BOARD_COMMON=y
 CONFIG_ARCH_BOARD_ESP32C3_DEVKIT=y
-CONFIG_ARCH_CHIP="esp32c3"
+CONFIG_ARCH_CHIP="esp32c3-legacy"
 CONFIG_ARCH_CHIP_ESP32C3=y
 CONFIG_ARCH_CHIP_ESP32C3WROOM02=y
 CONFIG_ARCH_INTERRUPTSTACK=1536
diff --git a/boards/risc-v/esp32c3/esp32c3-devkit/configs/autopm/defconfig b/boards/risc-v/esp32c3-legacy/esp32c3-devkit/configs/autopm/defconfig
similarity index 98%
rename from boards/risc-v/esp32c3/esp32c3-devkit/configs/autopm/defconfig
rename to boards/risc-v/esp32c3-legacy/esp32c3-devkit/configs/autopm/defconfig
index 1055133708..9ab50dead0 100644
--- a/boards/risc-v/esp32c3/esp32c3-devkit/configs/autopm/defconfig
+++ b/boards/risc-v/esp32c3-legacy/esp32c3-devkit/configs/autopm/defconfig
@@ -11,7 +11,7 @@ CONFIG_ARCH="risc-v"
 CONFIG_ARCH_BOARD="esp32c3-devkit"
 CONFIG_ARCH_BOARD_COMMON=y
 CONFIG_ARCH_BOARD_ESP32C3_DEVKIT=y
-CONFIG_ARCH_CHIP="esp32c3"
+CONFIG_ARCH_CHIP="esp32c3-legacy"
 CONFIG_ARCH_CHIP_ESP32C3=y
 CONFIG_ARCH_CHIP_ESP32C3WROOM02=y
 CONFIG_ARCH_INTERRUPTSTACK=1536
diff --git a/boards/risc-v/esp32c3/esp32c3-devkit/configs/ble/defconfig b/boards/risc-v/esp32c3-legacy/esp32c3-devkit/configs/ble/defconfig
similarity index 97%
rename from boards/risc-v/esp32c3/esp32c3-devkit/configs/ble/defconfig
rename to boards/risc-v/esp32c3-legacy/esp32c3-devkit/configs/ble/defconfig
index 33db79264f..425c8fe3dd 100644
--- a/boards/risc-v/esp32c3/esp32c3-devkit/configs/ble/defconfig
+++ b/boards/risc-v/esp32c3-legacy/esp32c3-devkit/configs/ble/defconfig
@@ -10,7 +10,7 @@ CONFIG_ARCH="risc-v"
 CONFIG_ARCH_BOARD="esp32c3-devkit"
 CONFIG_ARCH_BOARD_COMMON=y
 CONFIG_ARCH_BOARD_ESP32C3_DEVKIT=y
-CONFIG_ARCH_CHIP="esp32c3"
+CONFIG_ARCH_CHIP="esp32c3-legacy"
 CONFIG_ARCH_CHIP_ESP32C3=y
 CONFIG_ARCH_CHIP_ESP32C3WROOM02=y
 CONFIG_ARCH_INTERRUPTSTACK=1536
diff --git a/boards/risc-v/esp32c3/esp32c3-devkit/configs/bmp180/defconfig b/boards/risc-v/esp32c3-legacy/esp32c3-devkit/configs/bmp180/defconfig
similarity index 97%
rename from boards/risc-v/esp32c3/esp32c3-devkit/configs/bmp180/defconfig
rename to boards/risc-v/esp32c3-legacy/esp32c3-devkit/configs/bmp180/defconfig
index 9c093552c5..a64d7e2a4d 100644
--- a/boards/risc-v/esp32c3/esp32c3-devkit/configs/bmp180/defconfig
+++ b/boards/risc-v/esp32c3-legacy/esp32c3-devkit/configs/bmp180/defconfig
@@ -11,7 +11,7 @@ CONFIG_ARCH="risc-v"
 CONFIG_ARCH_BOARD="esp32c3-devkit"
 CONFIG_ARCH_BOARD_COMMON=y
 CONFIG_ARCH_BOARD_ESP32C3_DEVKIT=y
-CONFIG_ARCH_CHIP="esp32c3"
+CONFIG_ARCH_CHIP="esp32c3-legacy"
 CONFIG_ARCH_CHIP_ESP32C3=y
 CONFIG_ARCH_CHIP_ESP32C3WROOM02=y
 CONFIG_ARCH_INTERRUPTSTACK=1536
diff --git a/boards/risc-v/esp32c3/esp32c3-devkit/configs/coremark/defconfig b/boards/risc-v/esp32c3-legacy/esp32c3-devkit/configs/coremark/defconfig
similarity index 96%
rename from boards/risc-v/esp32c3/esp32c3-devkit/configs/coremark/defconfig
rename to boards/risc-v/esp32c3-legacy/esp32c3-devkit/configs/coremark/defconfig
index bddc8c8a83..235c755bdb 100644
--- a/boards/risc-v/esp32c3/esp32c3-devkit/configs/coremark/defconfig
+++ b/boards/risc-v/esp32c3-legacy/esp32c3-devkit/configs/coremark/defconfig
@@ -10,7 +10,7 @@ CONFIG_ARCH="risc-v"
 CONFIG_ARCH_BOARD="esp32c3-devkit"
 CONFIG_ARCH_BOARD_COMMON=y
 CONFIG_ARCH_BOARD_ESP32C3_DEVKIT=y
-CONFIG_ARCH_CHIP="esp32c3"
+CONFIG_ARCH_CHIP="esp32c3-legacy"
 CONFIG_ARCH_CHIP_ESP32C3=y
 CONFIG_ARCH_CHIP_ESP32C3WROOM02=y
 CONFIG_ARCH_INTERRUPTSTACK=1536
diff --git a/boards/risc-v/esp32c3/esp32c3-devkit/configs/crypto/defconfig b/boards/risc-v/esp32c3-legacy/esp32c3-devkit/configs/crypto/defconfig
similarity index 97%
rename from boards/risc-v/esp32c3/esp32c3-devkit/configs/crypto/defconfig
rename to boards/risc-v/esp32c3-legacy/esp32c3-devkit/configs/crypto/defconfig
index 6deea2d880..75b791c7db 100644
--- a/boards/risc-v/esp32c3/esp32c3-devkit/configs/crypto/defconfig
+++ b/boards/risc-v/esp32c3-legacy/esp32c3-devkit/configs/crypto/defconfig
@@ -11,7 +11,7 @@ CONFIG_ALLOW_BSD_COMPONENTS=y
 CONFIG_ARCH="risc-v"
 CONFIG_ARCH_BOARD="esp32c3-devkit"
 CONFIG_ARCH_BOARD_ESP32C3_DEVKIT=y
-CONFIG_ARCH_CHIP="esp32c3"
+CONFIG_ARCH_CHIP="esp32c3-legacy"
 CONFIG_ARCH_CHIP_ESP32C3=y
 CONFIG_ARCH_CHIP_ESP32C3WROOM02=y
 CONFIG_ARCH_INTERRUPTSTACK=1536
diff --git a/boards/risc-v/esp32c3/esp32c3-devkit/configs/cxx/defconfig b/boards/risc-v/esp32c3-legacy/esp32c3-devkit/configs/cxx/defconfig
similarity index 97%
rename from boards/risc-v/esp32c3/esp32c3-devkit/configs/cxx/defconfig
rename to boards/risc-v/esp32c3-legacy/esp32c3-devkit/configs/cxx/defconfig
index 2d8b34cc2e..bee6917a4f 100644
--- a/boards/risc-v/esp32c3/esp32c3-devkit/configs/cxx/defconfig
+++ b/boards/risc-v/esp32c3-legacy/esp32c3-devkit/configs/cxx/defconfig
@@ -11,7 +11,7 @@ CONFIG_ARCH="risc-v"
 CONFIG_ARCH_BOARD="esp32c3-devkit"
 CONFIG_ARCH_BOARD_COMMON=y
 CONFIG_ARCH_BOARD_ESP32C3_DEVKIT=y
-CONFIG_ARCH_CHIP="esp32c3"
+CONFIG_ARCH_CHIP="esp32c3-legacy"
 CONFIG_ARCH_CHIP_ESP32C3=y
 CONFIG_ARCH_CHIP_ESP32C3WROOM02=y
 CONFIG_ARCH_INTERRUPTSTACK=1536
diff --git a/boards/risc-v/esp32c3/esp32c3-devkit/configs/efuse/defconfig b/boards/risc-v/esp32c3-legacy/esp32c3-devkit/configs/efuse/defconfig
similarity index 97%
rename from boards/risc-v/esp32c3/esp32c3-devkit/configs/efuse/defconfig
rename to boards/risc-v/esp32c3-legacy/esp32c3-devkit/configs/efuse/defconfig
index 60e16c95a3..f95e761e41 100644
--- a/boards/risc-v/esp32c3/esp32c3-devkit/configs/efuse/defconfig
+++ b/boards/risc-v/esp32c3-legacy/esp32c3-devkit/configs/efuse/defconfig
@@ -14,7 +14,7 @@ CONFIG_ARCH="risc-v"
 CONFIG_ARCH_BOARD="esp32c3-devkit"
 CONFIG_ARCH_BOARD_COMMON=y
 CONFIG_ARCH_BOARD_ESP32C3_DEVKIT=y
-CONFIG_ARCH_CHIP="esp32c3"
+CONFIG_ARCH_CHIP="esp32c3-legacy"
 CONFIG_ARCH_CHIP_ESP32C3=y
 CONFIG_ARCH_CHIP_ESP32C3WROOM02=y
 CONFIG_ARCH_INTERRUPTSTACK=1536
diff --git a/boards/risc-v/esp32c3/esp32c3-devkit/configs/elf/defconfig b/boards/risc-v/esp32c3-legacy/esp32c3-devkit/configs/elf/defconfig
similarity index 97%
rename from boards/risc-v/esp32c3/esp32c3-devkit/configs/elf/defconfig
rename to boards/risc-v/esp32c3-legacy/esp32c3-devkit/configs/elf/defconfig
index 9db821d235..733052ae6b 100644
--- a/boards/risc-v/esp32c3/esp32c3-devkit/configs/elf/defconfig
+++ b/boards/risc-v/esp32c3-legacy/esp32c3-devkit/configs/elf/defconfig
@@ -10,7 +10,7 @@ CONFIG_ARCH="risc-v"
 CONFIG_ARCH_BOARD="esp32c3-devkit"
 CONFIG_ARCH_BOARD_COMMON=y
 CONFIG_ARCH_BOARD_ESP32C3_DEVKIT=y
-CONFIG_ARCH_CHIP="esp32c3"
+CONFIG_ARCH_CHIP="esp32c3-legacy"
 CONFIG_ARCH_CHIP_ESP32C3=y
 CONFIG_ARCH_CHIP_ESP32C3WROOM02=y
 CONFIG_ARCH_INTERRUPTSTACK=8192
diff --git a/boards/risc-v/esp32c3/esp32c3-devkit/configs/gdbstub/defconfig b/boards/risc-v/esp32c3-legacy/esp32c3-devkit/configs/gdbstub/defconfig
similarity index 98%
rename from boards/risc-v/esp32c3/esp32c3-devkit/configs/gdbstub/defconfig
rename to boards/risc-v/esp32c3-legacy/esp32c3-devkit/configs/gdbstub/defconfig
index 7e52b5600d..62864d769a 100644
--- a/boards/risc-v/esp32c3/esp32c3-devkit/configs/gdbstub/defconfig
+++ b/boards/risc-v/esp32c3-legacy/esp32c3-devkit/configs/gdbstub/defconfig
@@ -12,7 +12,7 @@ CONFIG_ARCH="risc-v"
 CONFIG_ARCH_BOARD="esp32c3-devkit"
 CONFIG_ARCH_BOARD_COMMON=y
 CONFIG_ARCH_BOARD_ESP32C3_DEVKIT=y
-CONFIG_ARCH_CHIP="esp32c3"
+CONFIG_ARCH_CHIP="esp32c3-legacy"
 CONFIG_ARCH_CHIP_ESP32C3=y
 CONFIG_ARCH_CHIP_ESP32C3WROOM02=y
 CONFIG_ARCH_FLOAT_H=y
diff --git a/boards/risc-v/esp32c3/esp32c3-devkit/configs/gpio/defconfig b/boards/risc-v/esp32c3-legacy/esp32c3-devkit/configs/gpio/defconfig
similarity index 97%
rename from boards/risc-v/esp32c3/esp32c3-devkit/configs/gpio/defconfig
rename to boards/risc-v/esp32c3-legacy/esp32c3-devkit/configs/gpio/defconfig
index 0e6d213637..53b6d882a0 100644
--- a/boards/risc-v/esp32c3/esp32c3-devkit/configs/gpio/defconfig
+++ b/boards/risc-v/esp32c3-legacy/esp32c3-devkit/configs/gpio/defconfig
@@ -11,7 +11,7 @@ CONFIG_ARCH="risc-v"
 CONFIG_ARCH_BOARD="esp32c3-devkit"
 CONFIG_ARCH_BOARD_COMMON=y
 CONFIG_ARCH_BOARD_ESP32C3_DEVKIT=y
-CONFIG_ARCH_CHIP="esp32c3"
+CONFIG_ARCH_CHIP="esp32c3-legacy"
 CONFIG_ARCH_CHIP_ESP32C3=y
 CONFIG_ARCH_CHIP_ESP32C3WROOM02=y
 CONFIG_ARCH_INTERRUPTSTACK=1536
diff --git a/boards/risc-v/esp32c3/esp32c3-devkit/configs/knsh/defconfig b/boards/risc-v/esp32c3-legacy/esp32c3-devkit/configs/knsh/defconfig
similarity index 93%
rename from boards/risc-v/esp32c3/esp32c3-devkit/configs/knsh/defconfig
rename to boards/risc-v/esp32c3-legacy/esp32c3-devkit/configs/knsh/defconfig
index a93bb3181d..e5d7ee023b 100644
--- a/boards/risc-v/esp32c3/esp32c3-devkit/configs/knsh/defconfig
+++ b/boards/risc-v/esp32c3-legacy/esp32c3-devkit/configs/knsh/defconfig
@@ -12,7 +12,7 @@ CONFIG_ARCH="risc-v"
 CONFIG_ARCH_BOARD="esp32c3-devkit"
 CONFIG_ARCH_BOARD_COMMON=y
 CONFIG_ARCH_BOARD_ESP32C3_DEVKIT=y
-CONFIG_ARCH_CHIP="esp32c3"
+CONFIG_ARCH_CHIP="esp32c3-legacy"
 CONFIG_ARCH_CHIP_ESP32C3=y
 CONFIG_ARCH_CHIP_ESP32C3WROOM02=y
 CONFIG_ARCH_INTERRUPTSTACK=2048
@@ -40,7 +40,7 @@ CONFIG_NSH_FILEIOSIZE=512
 CONFIG_NSH_READLINE=y
 CONFIG_NSH_STRERROR=y
 CONFIG_NUTTX_USERSPACE=0x3c080018
-CONFIG_PASS1_BUILDIR="boards/risc-v/esp32c3/common/kernel"
+CONFIG_PASS1_BUILDIR="boards/risc-v/esp32c3-legacy/common/kernel"
 CONFIG_PREALLOC_TIMERS=0
 CONFIG_RAW_BINARY=y
 CONFIG_RR_INTERVAL=200
diff --git a/boards/risc-v/esp32c3/esp32c3-devkit/configs/lvgl/defconfig b/boards/risc-v/esp32c3-legacy/esp32c3-devkit/configs/lvgl/defconfig
similarity index 98%
rename from boards/risc-v/esp32c3/esp32c3-devkit/configs/lvgl/defconfig
rename to boards/risc-v/esp32c3-legacy/esp32c3-devkit/configs/lvgl/defconfig
index ee85f87d5f..1558978c75 100644
--- a/boards/risc-v/esp32c3/esp32c3-devkit/configs/lvgl/defconfig
+++ b/boards/risc-v/esp32c3-legacy/esp32c3-devkit/configs/lvgl/defconfig
@@ -12,7 +12,7 @@ CONFIG_ARCH="risc-v"
 CONFIG_ARCH_BOARD="esp32c3-devkit"
 CONFIG_ARCH_BOARD_COMMON=y
 CONFIG_ARCH_BOARD_ESP32C3_DEVKIT=y
-CONFIG_ARCH_CHIP="esp32c3"
+CONFIG_ARCH_CHIP="esp32c3-legacy"
 CONFIG_ARCH_CHIP_ESP32C3=y
 CONFIG_ARCH_CHIP_ESP32C3WROOM02=y
 CONFIG_ARCH_INTERRUPTSTACK=1536
diff --git a/boards/risc-v/esp32c3/esp32c3-devkit/configs/mcuboot_slot_confirm/defconfig b/boards/risc-v/esp32c3-legacy/esp32c3-devkit/configs/mcuboot_slot_confirm/defconfig
similarity index 97%
rename from boards/risc-v/esp32c3/esp32c3-devkit/configs/mcuboot_slot_confirm/defconfig
rename to boards/risc-v/esp32c3-legacy/esp32c3-devkit/configs/mcuboot_slot_confirm/defconfig
index b95e1c0cb9..416e0e057c 100644
--- a/boards/risc-v/esp32c3/esp32c3-devkit/configs/mcuboot_slot_confirm/defconfig
+++ b/boards/risc-v/esp32c3-legacy/esp32c3-devkit/configs/mcuboot_slot_confirm/defconfig
@@ -11,7 +11,7 @@ CONFIG_ARCH="risc-v"
 CONFIG_ARCH_BOARD="esp32c3-devkit"
 CONFIG_ARCH_BOARD_COMMON=y
 CONFIG_ARCH_BOARD_ESP32C3_DEVKIT=y
-CONFIG_ARCH_CHIP="esp32c3"
+CONFIG_ARCH_CHIP="esp32c3-legacy"
 CONFIG_ARCH_CHIP_ESP32C3=y
 CONFIG_ARCH_CHIP_ESP32C3WROOM02=y
 CONFIG_ARCH_INTERRUPTSTACK=1536
diff --git a/boards/risc-v/esp32c3/esp32c3-devkit/configs/module/defconfig b/boards/risc-v/esp32c3-legacy/esp32c3-devkit/configs/module/defconfig
similarity index 97%
rename from boards/risc-v/esp32c3/esp32c3-devkit/configs/module/defconfig
rename to boards/risc-v/esp32c3-legacy/esp32c3-devkit/configs/module/defconfig
index 690203b5fa..651617ffc9 100644
--- a/boards/risc-v/esp32c3/esp32c3-devkit/configs/module/defconfig
+++ b/boards/risc-v/esp32c3-legacy/esp32c3-devkit/configs/module/defconfig
@@ -11,7 +11,7 @@ CONFIG_ARCH="risc-v"
 CONFIG_ARCH_BOARD="esp32c3-devkit"
 CONFIG_ARCH_BOARD_COMMON=y
 CONFIG_ARCH_BOARD_ESP32C3_DEVKIT=y
-CONFIG_ARCH_CHIP="esp32c3"
+CONFIG_ARCH_CHIP="esp32c3-legacy"
 CONFIG_ARCH_CHIP_ESP32C3=y
 CONFIG_ARCH_CHIP_ESP32C3WROOM02=y
 CONFIG_ARCH_INTERRUPTSTACK=1536
diff --git a/boards/risc-v/esp32c3/esp32c3-devkit/configs/nsh/defconfig b/boards/risc-v/esp32c3-legacy/esp32c3-devkit/configs/nsh/defconfig
similarity index 97%
rename from boards/risc-v/esp32c3/esp32c3-devkit/configs/nsh/defconfig
rename to boards/risc-v/esp32c3-legacy/esp32c3-devkit/configs/nsh/defconfig
index f53c09c51d..6611a77b6e 100644
--- a/boards/risc-v/esp32c3/esp32c3-devkit/configs/nsh/defconfig
+++ b/boards/risc-v/esp32c3-legacy/esp32c3-devkit/configs/nsh/defconfig
@@ -11,7 +11,7 @@ CONFIG_ARCH="risc-v"
 CONFIG_ARCH_BOARD="esp32c3-devkit"
 CONFIG_ARCH_BOARD_COMMON=y
 CONFIG_ARCH_BOARD_ESP32C3_DEVKIT=y
-CONFIG_ARCH_CHIP="esp32c3"
+CONFIG_ARCH_CHIP="esp32c3-legacy"
 CONFIG_ARCH_CHIP_ESP32C3=y
 CONFIG_ARCH_CHIP_ESP32C3WROOM02=y
 CONFIG_ARCH_INTERRUPTSTACK=1536
diff --git a/boards/risc-v/esp32c3/esp32c3-devkit/configs/nvcfgdata/defconfig b/boards/risc-v/esp32c3-legacy/esp32c3-devkit/configs/nvcfgdata/defconfig
similarity index 97%
rename from boards/risc-v/esp32c3/esp32c3-devkit/configs/nvcfgdata/defconfig
rename to boards/risc-v/esp32c3-legacy/esp32c3-devkit/configs/nvcfgdata/defconfig
index aa2b4d5e30..7cfaebed43 100644
--- a/boards/risc-v/esp32c3/esp32c3-devkit/configs/nvcfgdata/defconfig
+++ b/boards/risc-v/esp32c3-legacy/esp32c3-devkit/configs/nvcfgdata/defconfig
@@ -11,7 +11,7 @@ CONFIG_ARCH="risc-v"
 CONFIG_ARCH_BOARD="esp32c3-devkit"
 CONFIG_ARCH_BOARD_COMMON=y
 CONFIG_ARCH_BOARD_ESP32C3_DEVKIT=y
-CONFIG_ARCH_CHIP="esp32c3"
+CONFIG_ARCH_CHIP="esp32c3-legacy"
 CONFIG_ARCH_CHIP_ESP32C3=y
 CONFIG_ARCH_CHIP_ESP32C3WROOM02=y
 CONFIG_ARCH_INTERRUPTSTACK=1536
diff --git a/boards/risc-v/esp32c3/esp32c3-devkit/configs/oneshot/defconfig b/boards/risc-v/esp32c3-legacy/esp32c3-devkit/configs/oneshot/defconfig
similarity index 97%
rename from boards/risc-v/esp32c3/esp32c3-devkit/configs/oneshot/defconfig
rename to boards/risc-v/esp32c3-legacy/esp32c3-devkit/configs/oneshot/defconfig
index 103406f56c..e81879c2a5 100644
--- a/boards/risc-v/esp32c3/esp32c3-devkit/configs/oneshot/defconfig
+++ b/boards/risc-v/esp32c3-legacy/esp32c3-devkit/configs/oneshot/defconfig
@@ -11,7 +11,7 @@ CONFIG_ARCH="risc-v"
 CONFIG_ARCH_BOARD="esp32c3-devkit"
 CONFIG_ARCH_BOARD_COMMON=y
 CONFIG_ARCH_BOARD_ESP32C3_DEVKIT=y
-CONFIG_ARCH_CHIP="esp32c3"
+CONFIG_ARCH_CHIP="esp32c3-legacy"
 CONFIG_ARCH_CHIP_ESP32C3=y
 CONFIG_ARCH_CHIP_ESP32C3WROOM02=y
 CONFIG_ARCH_INTERRUPTSTACK=1536
diff --git a/boards/risc-v/esp32c3/esp32c3-devkit/configs/ostest/defconfig b/boards/risc-v/esp32c3-legacy/esp32c3-devkit/configs/ostest/defconfig
similarity index 97%
rename from boards/risc-v/esp32c3/esp32c3-devkit/configs/ostest/defconfig
rename to boards/risc-v/esp32c3-legacy/esp32c3-devkit/configs/ostest/defconfig
index 7abccd7294..67813aabfa 100644
--- a/boards/risc-v/esp32c3/esp32c3-devkit/configs/ostest/defconfig
+++ b/boards/risc-v/esp32c3-legacy/esp32c3-devkit/configs/ostest/defconfig
@@ -11,7 +11,7 @@ CONFIG_ARCH="risc-v"
 CONFIG_ARCH_BOARD="esp32c3-devkit"
 CONFIG_ARCH_BOARD_COMMON=y
 CONFIG_ARCH_BOARD_ESP32C3_DEVKIT=y
-CONFIG_ARCH_CHIP="esp32c3"
+CONFIG_ARCH_CHIP="esp32c3-legacy"
 CONFIG_ARCH_CHIP_ESP32C3=y
 CONFIG_ARCH_CHIP_ESP32C3WROOM02=y
 CONFIG_ARCH_INTERRUPTSTACK=1536
diff --git a/boards/risc-v/esp32c3/esp32c3-devkit/configs/pm/defconfig b/boards/risc-v/esp32c3-legacy/esp32c3-devkit/configs/pm/defconfig
similarity index 97%
rename from boards/risc-v/esp32c3/esp32c3-devkit/configs/pm/defconfig
rename to boards/risc-v/esp32c3-legacy/esp32c3-devkit/configs/pm/defconfig
index 607589c253..b649c3927a 100644
--- a/boards/risc-v/esp32c3/esp32c3-devkit/configs/pm/defconfig
+++ b/boards/risc-v/esp32c3-legacy/esp32c3-devkit/configs/pm/defconfig
@@ -11,7 +11,7 @@ CONFIG_ARCH="risc-v"
 CONFIG_ARCH_BOARD="esp32c3-devkit"
 CONFIG_ARCH_BOARD_COMMON=y
 CONFIG_ARCH_BOARD_ESP32C3_DEVKIT=y
-CONFIG_ARCH_CHIP="esp32c3"
+CONFIG_ARCH_CHIP="esp32c3-legacy"
 CONFIG_ARCH_CHIP_ESP32C3=y
 CONFIG_ARCH_CHIP_ESP32C3WROOM02=y
 CONFIG_ARCH_INTERRUPTSTACK=1536
diff --git a/boards/risc-v/esp32c3/esp32c3-devkit/configs/pwm/defconfig b/boards/risc-v/esp32c3-legacy/esp32c3-devkit/configs/pwm/defconfig
similarity index 97%
rename from boards/risc-v/esp32c3/esp32c3-devkit/configs/pwm/defconfig
rename to boards/risc-v/esp32c3-legacy/esp32c3-devkit/configs/pwm/defconfig
index 105dbe3eff..021c607225 100644
--- a/boards/risc-v/esp32c3/esp32c3-devkit/configs/pwm/defconfig
+++ b/boards/risc-v/esp32c3-legacy/esp32c3-devkit/configs/pwm/defconfig
@@ -11,7 +11,7 @@ CONFIG_ARCH="risc-v"
 CONFIG_ARCH_BOARD="esp32c3-devkit"
 CONFIG_ARCH_BOARD_COMMON=y
 CONFIG_ARCH_BOARD_ESP32C3_DEVKIT=y
-CONFIG_ARCH_CHIP="esp32c3"
+CONFIG_ARCH_CHIP="esp32c3-legacy"
 CONFIG_ARCH_CHIP_ESP32C3=y
 CONFIG_ARCH_CHIP_ESP32C3WROOM02=y
 CONFIG_ARCH_INTERRUPTSTACK=1536
diff --git a/boards/risc-v/esp32c3/esp32c3-devkit/configs/random/defconfig b/boards/risc-v/esp32c3-legacy/esp32c3-devkit/configs/random/defconfig
similarity index 97%
rename from boards/risc-v/esp32c3/esp32c3-devkit/configs/random/defconfig
rename to boards/risc-v/esp32c3-legacy/esp32c3-devkit/configs/random/defconfig
index 9cbdb91bfd..82a57e2dbb 100644
--- a/boards/risc-v/esp32c3/esp32c3-devkit/configs/random/defconfig
+++ b/boards/risc-v/esp32c3-legacy/esp32c3-devkit/configs/random/defconfig
@@ -11,7 +11,7 @@ CONFIG_ARCH="risc-v"
 CONFIG_ARCH_BOARD="esp32c3-devkit"
 CONFIG_ARCH_BOARD_COMMON=y
 CONFIG_ARCH_BOARD_ESP32C3_DEVKIT=y
-CONFIG_ARCH_CHIP="esp32c3"
+CONFIG_ARCH_CHIP="esp32c3-legacy"
 CONFIG_ARCH_CHIP_ESP32C3=y
 CONFIG_ARCH_CHIP_ESP32C3WROOM02=y
 CONFIG_ARCH_INTERRUPTSTACK=1536
diff --git a/boards/risc-v/esp32c3/esp32c3-devkit/configs/romfs/defconfig b/boards/risc-v/esp32c3-legacy/esp32c3-devkit/configs/romfs/defconfig
similarity index 97%
rename from boards/risc-v/esp32c3/esp32c3-devkit/configs/romfs/defconfig
rename to boards/risc-v/esp32c3-legacy/esp32c3-devkit/configs/romfs/defconfig
index 2698129e36..d07378991f 100644
--- a/boards/risc-v/esp32c3/esp32c3-devkit/configs/romfs/defconfig
+++ b/boards/risc-v/esp32c3-legacy/esp32c3-devkit/configs/romfs/defconfig
@@ -11,7 +11,7 @@ CONFIG_ARCH="risc-v"
 CONFIG_ARCH_BOARD="esp32c3-devkit"
 CONFIG_ARCH_BOARD_COMMON=y
 CONFIG_ARCH_BOARD_ESP32C3_DEVKIT=y
-CONFIG_ARCH_CHIP="esp32c3"
+CONFIG_ARCH_CHIP="esp32c3-legacy"
 CONFIG_ARCH_CHIP_ESP32C3=y
 CONFIG_ARCH_CHIP_ESP32C3WROOM02=y
 CONFIG_ARCH_INTERRUPTSTACK=1536
diff --git a/boards/risc-v/esp32c3/esp32c3-devkit/configs/rtc/defconfig b/boards/risc-v/esp32c3-legacy/esp32c3-devkit/configs/rtc/defconfig
similarity index 97%
rename from boards/risc-v/esp32c3/esp32c3-devkit/configs/rtc/defconfig
rename to boards/risc-v/esp32c3-legacy/esp32c3-devkit/configs/rtc/defconfig
index 3fb307d087..2cade85288 100644
--- a/boards/risc-v/esp32c3/esp32c3-devkit/configs/rtc/defconfig
+++ b/boards/risc-v/esp32c3-legacy/esp32c3-devkit/configs/rtc/defconfig
@@ -11,7 +11,7 @@ CONFIG_ARCH="risc-v"
 CONFIG_ARCH_BOARD="esp32c3-devkit"
 CONFIG_ARCH_BOARD_COMMON=y
 CONFIG_ARCH_BOARD_ESP32C3_DEVKIT=y
-CONFIG_ARCH_CHIP="esp32c3"
+CONFIG_ARCH_CHIP="esp32c3-legacy"
 CONFIG_ARCH_CHIP_ESP32C3=y
 CONFIG_ARCH_CHIP_ESP32C3WROOM02=y
 CONFIG_ARCH_INTERRUPTSTACK=1536
diff --git a/boards/risc-v/esp32c3/esp32c3-devkit/configs/sotest/defconfig b/boards/risc-v/esp32c3-legacy/esp32c3-devkit/configs/sotest/defconfig
similarity index 97%
rename from boards/risc-v/esp32c3/esp32c3-devkit/configs/sotest/defconfig
rename to boards/risc-v/esp32c3-legacy/esp32c3-devkit/configs/sotest/defconfig
index f0aa1d1934..1461052663 100644
--- a/boards/risc-v/esp32c3/esp32c3-devkit/configs/sotest/defconfig
+++ b/boards/risc-v/esp32c3-legacy/esp32c3-devkit/configs/sotest/defconfig
@@ -11,7 +11,7 @@ CONFIG_ARCH="risc-v"
 CONFIG_ARCH_BOARD="esp32c3-devkit"
 CONFIG_ARCH_BOARD_COMMON=y
 CONFIG_ARCH_BOARD_ESP32C3_DEVKIT=y
-CONFIG_ARCH_CHIP="esp32c3"
+CONFIG_ARCH_CHIP="esp32c3-legacy"
 CONFIG_ARCH_CHIP_ESP32C3=y
 CONFIG_ARCH_CHIP_ESP32C3WROOM02=y
 CONFIG_ARCH_INTERRUPTSTACK=1536
diff --git a/boards/risc-v/esp32c3/esp32c3-devkit/configs/spiflash/defconfig b/boards/risc-v/esp32c3-legacy/esp32c3-devkit/configs/spiflash/defconfig
similarity index 97%
rename from boards/risc-v/esp32c3/esp32c3-devkit/configs/spiflash/defconfig
rename to boards/risc-v/esp32c3-legacy/esp32c3-devkit/configs/spiflash/defconfig
index 41d643e343..8c41d1de70 100644
--- a/boards/risc-v/esp32c3/esp32c3-devkit/configs/spiflash/defconfig
+++ b/boards/risc-v/esp32c3-legacy/esp32c3-devkit/configs/spiflash/defconfig
@@ -11,7 +11,7 @@ CONFIG_ARCH="risc-v"
 CONFIG_ARCH_BOARD="esp32c3-devkit"
 CONFIG_ARCH_BOARD_COMMON=y
 CONFIG_ARCH_BOARD_ESP32C3_DEVKIT=y
-CONFIG_ARCH_CHIP="esp32c3"
+CONFIG_ARCH_CHIP="esp32c3-legacy"
 CONFIG_ARCH_CHIP_ESP32C3=y
 CONFIG_ARCH_CHIP_ESP32C3WROOM02=y
 CONFIG_ARCH_INTERRUPTSTACK=1536
diff --git a/boards/risc-v/esp32c3/esp32c3-devkit/configs/sta_softap/defconfig b/boards/risc-v/esp32c3-legacy/esp32c3-devkit/configs/sta_softap/defconfig
similarity index 98%
rename from boards/risc-v/esp32c3/esp32c3-devkit/configs/sta_softap/defconfig
rename to boards/risc-v/esp32c3-legacy/esp32c3-devkit/configs/sta_softap/defconfig
index ca2aa6bfae..1e54338798 100644
--- a/boards/risc-v/esp32c3/esp32c3-devkit/configs/sta_softap/defconfig
+++ b/boards/risc-v/esp32c3-legacy/esp32c3-devkit/configs/sta_softap/defconfig
@@ -12,7 +12,7 @@ CONFIG_ARCH="risc-v"
 CONFIG_ARCH_BOARD="esp32c3-devkit"
 CONFIG_ARCH_BOARD_COMMON=y
 CONFIG_ARCH_BOARD_ESP32C3_DEVKIT=y
-CONFIG_ARCH_CHIP="esp32c3"
+CONFIG_ARCH_CHIP="esp32c3-legacy"
 CONFIG_ARCH_CHIP_ESP32C3=y
 CONFIG_ARCH_CHIP_ESP32C3WROOM02=y
 CONFIG_ARCH_INTERRUPTSTACK=1536
diff --git a/boards/risc-v/esp32c3/esp32c3-devkit/configs/tickless/defconfig b/boards/risc-v/esp32c3-legacy/esp32c3-devkit/configs/tickless/defconfig
similarity index 97%
rename from boards/risc-v/esp32c3/esp32c3-devkit/configs/tickless/defconfig
rename to boards/risc-v/esp32c3-legacy/esp32c3-devkit/configs/tickless/defconfig
index 8a5fa7baa4..8f94776fcf 100644
--- a/boards/risc-v/esp32c3/esp32c3-devkit/configs/tickless/defconfig
+++ b/boards/risc-v/esp32c3-legacy/esp32c3-devkit/configs/tickless/defconfig
@@ -11,7 +11,7 @@ CONFIG_ARCH="risc-v"
 CONFIG_ARCH_BOARD="esp32c3-devkit"
 CONFIG_ARCH_BOARD_COMMON=y
 CONFIG_ARCH_BOARD_ESP32C3_DEVKIT=y
-CONFIG_ARCH_CHIP="esp32c3"
+CONFIG_ARCH_CHIP="esp32c3-legacy"
 CONFIG_ARCH_CHIP_ESP32C3=y
 CONFIG_ARCH_CHIP_ESP32C3WROOM02=y
 CONFIG_ARCH_INTERRUPTSTACK=1536
diff --git a/boards/risc-v/esp32c3/esp32c3-devkit/configs/timer/defconfig b/boards/risc-v/esp32c3-legacy/esp32c3-devkit/configs/timer/defconfig
similarity index 97%
rename from boards/risc-v/esp32c3/esp32c3-devkit/configs/timer/defconfig
rename to boards/risc-v/esp32c3-legacy/esp32c3-devkit/configs/timer/defconfig
index 0458cc5341..473cc3a53b 100644
--- a/boards/risc-v/esp32c3/esp32c3-devkit/configs/timer/defconfig
+++ b/boards/risc-v/esp32c3-legacy/esp32c3-devkit/configs/timer/defconfig
@@ -11,7 +11,7 @@ CONFIG_ARCH="risc-v"
 CONFIG_ARCH_BOARD="esp32c3-devkit"
 CONFIG_ARCH_BOARD_COMMON=y
 CONFIG_ARCH_BOARD_ESP32C3_DEVKIT=y
-CONFIG_ARCH_CHIP="esp32c3"
+CONFIG_ARCH_CHIP="esp32c3-legacy"
 CONFIG_ARCH_CHIP_ESP32C3=y
 CONFIG_ARCH_CHIP_ESP32C3WROOM02=y
 CONFIG_ARCH_INTERRUPTSTACK=1536
diff --git a/boards/risc-v/esp32c3/esp32c3-devkit/configs/twai/defconfig b/boards/risc-v/esp32c3-legacy/esp32c3-devkit/configs/twai/defconfig
similarity index 97%
rename from boards/risc-v/esp32c3/esp32c3-devkit/configs/twai/defconfig
rename to boards/risc-v/esp32c3-legacy/esp32c3-devkit/configs/twai/defconfig
index 0424471db0..b78d5653da 100644
--- a/boards/risc-v/esp32c3/esp32c3-devkit/configs/twai/defconfig
+++ b/boards/risc-v/esp32c3-legacy/esp32c3-devkit/configs/twai/defconfig
@@ -11,7 +11,7 @@ CONFIG_ARCH="risc-v"
 CONFIG_ARCH_BOARD="esp32c3-devkit"
 CONFIG_ARCH_BOARD_COMMON=y
 CONFIG_ARCH_BOARD_ESP32C3_DEVKIT=y
-CONFIG_ARCH_CHIP="esp32c3"
+CONFIG_ARCH_CHIP="esp32c3-legacy"
 CONFIG_ARCH_CHIP_ESP32C3=y
 CONFIG_ARCH_CHIP_ESP32C3MINI1=y
 CONFIG_ARCH_INTERRUPTSTACK=1536
diff --git a/boards/risc-v/esp32c3/esp32c3-devkit/configs/uid/defconfig b/boards/risc-v/esp32c3-legacy/esp32c3-devkit/configs/uid/defconfig
similarity index 97%
rename from boards/risc-v/esp32c3/esp32c3-devkit/configs/uid/defconfig
rename to boards/risc-v/esp32c3-legacy/esp32c3-devkit/configs/uid/defconfig
index c0823183ac..4ec4c11b38 100644
--- a/boards/risc-v/esp32c3/esp32c3-devkit/configs/uid/defconfig
+++ b/boards/risc-v/esp32c3-legacy/esp32c3-devkit/configs/uid/defconfig
@@ -11,7 +11,7 @@ CONFIG_ARCH="risc-v"
 CONFIG_ARCH_BOARD="esp32c3-devkit"
 CONFIG_ARCH_BOARD_COMMON=y
 CONFIG_ARCH_BOARD_ESP32C3_DEVKIT=y
-CONFIG_ARCH_CHIP="esp32c3"
+CONFIG_ARCH_CHIP="esp32c3-legacy"
 CONFIG_ARCH_CHIP_ESP32C3=y
 CONFIG_ARCH_CHIP_ESP32C3WROOM02=y
 CONFIG_ARCH_INTERRUPTSTACK=1536
diff --git a/boards/risc-v/esp32c3/esp32c3-devkit/configs/usbconsole/defconfig b/boards/risc-v/esp32c3-legacy/esp32c3-devkit/configs/usbconsole/defconfig
similarity index 97%
rename from boards/risc-v/esp32c3/esp32c3-devkit/configs/usbconsole/defconfig
rename to boards/risc-v/esp32c3-legacy/esp32c3-devkit/configs/usbconsole/defconfig
index d60597df45..b18f3764c0 100644
--- a/boards/risc-v/esp32c3/esp32c3-devkit/configs/usbconsole/defconfig
+++ b/boards/risc-v/esp32c3-legacy/esp32c3-devkit/configs/usbconsole/defconfig
@@ -12,7 +12,7 @@ CONFIG_ARCH="risc-v"
 CONFIG_ARCH_BOARD="esp32c3-devkit"
 CONFIG_ARCH_BOARD_COMMON=y
 CONFIG_ARCH_BOARD_ESP32C3_DEVKIT=y
-CONFIG_ARCH_CHIP="esp32c3"
+CONFIG_ARCH_CHIP="esp32c3-legacy"
 CONFIG_ARCH_CHIP_ESP32C3=y
 CONFIG_ARCH_CHIP_ESP32C3WROOM02=y
 CONFIG_ARCH_INTERRUPTSTACK=1536
diff --git a/boards/risc-v/esp32c3/esp32c3-devkit/configs/watchdog/defconfig b/boards/risc-v/esp32c3-legacy/esp32c3-devkit/configs/watchdog/defconfig
similarity index 97%
rename from boards/risc-v/esp32c3/esp32c3-devkit/configs/watchdog/defconfig
rename to boards/risc-v/esp32c3-legacy/esp32c3-devkit/configs/watchdog/defconfig
index 45cc990321..fd24d97b14 100644
--- a/boards/risc-v/esp32c3/esp32c3-devkit/configs/watchdog/defconfig
+++ b/boards/risc-v/esp32c3-legacy/esp32c3-devkit/configs/watchdog/defconfig
@@ -11,7 +11,7 @@ CONFIG_ARCH="risc-v"
 CONFIG_ARCH_BOARD="esp32c3-devkit"
 CONFIG_ARCH_BOARD_COMMON=y
 CONFIG_ARCH_BOARD_ESP32C3_DEVKIT=y
-CONFIG_ARCH_CHIP="esp32c3"
+CONFIG_ARCH_CHIP="esp32c3-legacy"
 CONFIG_ARCH_CHIP_ESP32C3=y
 CONFIG_ARCH_CHIP_ESP32C3WROOM02=y
 CONFIG_ARCH_INTERRUPTSTACK=1536
diff --git a/boards/risc-v/esp32c3/esp32c3-devkit/configs/watcher/defconfig b/boards/risc-v/esp32c3-legacy/esp32c3-devkit/configs/watcher/defconfig
similarity index 97%
rename from boards/risc-v/esp32c3/esp32c3-devkit/configs/watcher/defconfig
rename to boards/risc-v/esp32c3-legacy/esp32c3-devkit/configs/watcher/defconfig
index fbdaf4366a..16bbdf473b 100644
--- a/boards/risc-v/esp32c3/esp32c3-devkit/configs/watcher/defconfig
+++ b/boards/risc-v/esp32c3-legacy/esp32c3-devkit/configs/watcher/defconfig
@@ -11,7 +11,7 @@ CONFIG_ARCH="risc-v"
 CONFIG_ARCH_BOARD="esp32c3-devkit"
 CONFIG_ARCH_BOARD_COMMON=y
 CONFIG_ARCH_BOARD_ESP32C3_DEVKIT=y
-CONFIG_ARCH_CHIP="esp32c3"
+CONFIG_ARCH_CHIP="esp32c3-legacy"
 CONFIG_ARCH_CHIP_ESP32C3=y
 CONFIG_ARCH_CHIP_ESP32C3WROOM02=y
 CONFIG_ARCH_INTERRUPTSTACK=1536
diff --git a/boards/risc-v/esp32c3/esp32c3-devkit/configs/wifi/defconfig b/boards/risc-v/esp32c3-legacy/esp32c3-devkit/configs/wifi/defconfig
similarity index 98%
rename from boards/risc-v/esp32c3/esp32c3-devkit/configs/wifi/defconfig
rename to boards/risc-v/esp32c3-legacy/esp32c3-devkit/configs/wifi/defconfig
index 5446fed3e9..0e9578798d 100644
--- a/boards/risc-v/esp32c3/esp32c3-devkit/configs/wifi/defconfig
+++ b/boards/risc-v/esp32c3-legacy/esp32c3-devkit/configs/wifi/defconfig
@@ -12,7 +12,7 @@ CONFIG_ARCH="risc-v"
 CONFIG_ARCH_BOARD="esp32c3-devkit"
 CONFIG_ARCH_BOARD_COMMON=y
 CONFIG_ARCH_BOARD_ESP32C3_DEVKIT=y
-CONFIG_ARCH_CHIP="esp32c3"
+CONFIG_ARCH_CHIP="esp32c3-legacy"
 CONFIG_ARCH_CHIP_ESP32C3=y
 CONFIG_ARCH_CHIP_ESP32C3WROOM02=y
 CONFIG_ARCH_INTERRUPTSTACK=1536
diff --git a/boards/risc-v/esp32c3/esp32c3-devkit/include/board.h b/boards/risc-v/esp32c3-legacy/esp32c3-devkit/include/board.h
similarity index 96%
rename from boards/risc-v/esp32c3/esp32c3-devkit/include/board.h
rename to boards/risc-v/esp32c3-legacy/esp32c3-devkit/include/board.h
index 07d6e4c5f9..6b6552b455 100644
--- a/boards/risc-v/esp32c3/esp32c3-devkit/include/board.h
+++ b/boards/risc-v/esp32c3-legacy/esp32c3-devkit/include/board.h
@@ -1,5 +1,5 @@
 /****************************************************************************
- * boards/risc-v/esp32c3/esp32c3-devkit/include/board.h
+ * boards/risc-v/esp32c3-legacy/esp32c3-devkit/include/board.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
diff --git a/boards/risc-v/esp32c3/esp32c3-devkit/include/board_memorymap.h b/boards/risc-v/esp32c3-legacy/esp32c3-devkit/include/board_memorymap.h
similarity index 98%
rename from boards/risc-v/esp32c3/esp32c3-devkit/include/board_memorymap.h
rename to boards/risc-v/esp32c3-legacy/esp32c3-devkit/include/board_memorymap.h
index 0010a78d00..ae6f7d97de 100644
--- a/boards/risc-v/esp32c3/esp32c3-devkit/include/board_memorymap.h
+++ b/boards/risc-v/esp32c3-legacy/esp32c3-devkit/include/board_memorymap.h
@@ -1,5 +1,5 @@
 /****************************************************************************
- * boards/risc-v/esp32c3/esp32c3-devkit/include/board_memorymap.h
+ * boards/risc-v/esp32c3-legacy/esp32c3-devkit/include/board_memorymap.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
diff --git a/boards/risc-v/esp32c3/esp32c3-devkit/scripts/Make.defs b/boards/risc-v/esp32c3-legacy/esp32c3-devkit/scripts/Make.defs
similarity index 97%
rename from boards/risc-v/esp32c3/esp32c3-devkit/scripts/Make.defs
rename to boards/risc-v/esp32c3-legacy/esp32c3-devkit/scripts/Make.defs
index 4a8969ecff..790e20407c 100644
--- a/boards/risc-v/esp32c3/esp32c3-devkit/scripts/Make.defs
+++ b/boards/risc-v/esp32c3-legacy/esp32c3-devkit/scripts/Make.defs
@@ -1,5 +1,5 @@
 ############################################################################
-# boards/risc-v/esp32c3/esp32c3-devkit/scripts/Make.defs
+# boards/risc-v/esp32c3-legacy/esp32c3-devkit/scripts/Make.defs
 #
 # Licensed to the Apache Software Foundation (ASF) under one or more
 # contributor license agreements.  See the NOTICE file distributed with
diff --git a/boards/risc-v/esp32c3/esp32c3-devkit/src/Make.defs b/boards/risc-v/esp32c3-legacy/esp32c3-devkit/src/Make.defs
similarity index 96%
rename from boards/risc-v/esp32c3/esp32c3-devkit/src/Make.defs
rename to boards/risc-v/esp32c3-legacy/esp32c3-devkit/src/Make.defs
index 391e701e6f..854d2652f3 100644
--- a/boards/risc-v/esp32c3/esp32c3-devkit/src/Make.defs
+++ b/boards/risc-v/esp32c3-legacy/esp32c3-devkit/src/Make.defs
@@ -1,5 +1,5 @@
 #############################################################################
-# boards/risc-v/esp32c3/esp32c3-devkit/src/Makefile
+# boards/risc-v/esp32c3-legacy/esp32c3-devkit/src/Makefile
 #
 # Licensed to the Apache Software Foundation (ASF) under one or more
 # contributor license agreements.  See the NOTICE file distributed with
diff --git a/boards/risc-v/esp32c3/esp32c3-devkit/src/esp32c3-devkit.h b/boards/risc-v/esp32c3-legacy/esp32c3-devkit/src/esp32c3-devkit.h
similarity index 97%
rename from boards/risc-v/esp32c3/esp32c3-devkit/src/esp32c3-devkit.h
rename to boards/risc-v/esp32c3-legacy/esp32c3-devkit/src/esp32c3-devkit.h
index 860c090d66..56a7a08efe 100644
--- a/boards/risc-v/esp32c3/esp32c3-devkit/src/esp32c3-devkit.h
+++ b/boards/risc-v/esp32c3-legacy/esp32c3-devkit/src/esp32c3-devkit.h
@@ -1,5 +1,5 @@
 /****************************************************************************
- * boards/risc-v/esp32c3/esp32c3-devkit/src/esp32c3-devkit.h
+ * boards/risc-v/esp32c3-legacy/esp32c3-devkit/src/esp32c3-devkit.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
diff --git a/boards/risc-v/esp32c3/esp32c3-devkit/src/esp32c3_appinit.c b/boards/risc-v/esp32c3-legacy/esp32c3-devkit/src/esp32c3_appinit.c
similarity index 97%
rename from boards/risc-v/esp32c3/esp32c3-devkit/src/esp32c3_appinit.c
rename to boards/risc-v/esp32c3-legacy/esp32c3-devkit/src/esp32c3_appinit.c
index 4f683dc85c..22d57f459b 100644
--- a/boards/risc-v/esp32c3/esp32c3-devkit/src/esp32c3_appinit.c
+++ b/boards/risc-v/esp32c3-legacy/esp32c3-devkit/src/esp32c3_appinit.c
@@ -1,5 +1,5 @@
 /****************************************************************************
- * boards/risc-v/esp32c3/esp32c3-devkit/src/esp32c3_appinit.c
+ * boards/risc-v/esp32c3-legacy/esp32c3-devkit/src/esp32c3_appinit.c
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
diff --git a/boards/risc-v/esp32c3/esp32c3-devkit/src/esp32c3_boot.c b/boards/risc-v/esp32c3-legacy/esp32c3-devkit/src/esp32c3_boot.c
similarity index 97%
rename from boards/risc-v/esp32c3/esp32c3-devkit/src/esp32c3_boot.c
rename to boards/risc-v/esp32c3-legacy/esp32c3-devkit/src/esp32c3_boot.c
index 934a05b72e..ccf2a84397 100644
--- a/boards/risc-v/esp32c3/esp32c3-devkit/src/esp32c3_boot.c
+++ b/boards/risc-v/esp32c3-legacy/esp32c3-devkit/src/esp32c3_boot.c
@@ -1,5 +1,5 @@
 /****************************************************************************
- * boards/risc-v/esp32c3/esp32c3-devkit/src/esp32c3_boot.c
+ * boards/risc-v/esp32c3-legacy/esp32c3-devkit/src/esp32c3_boot.c
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
diff --git a/boards/risc-v/esp32c3/esp32c3-devkit/src/esp32c3_bringup.c b/boards/risc-v/esp32c3-legacy/esp32c3-devkit/src/esp32c3_bringup.c
similarity index 99%
rename from boards/risc-v/esp32c3/esp32c3-devkit/src/esp32c3_bringup.c
rename to boards/risc-v/esp32c3-legacy/esp32c3-devkit/src/esp32c3_bringup.c
index dbb5708cf2..7fb9e542b9 100644
--- a/boards/risc-v/esp32c3/esp32c3-devkit/src/esp32c3_bringup.c
+++ b/boards/risc-v/esp32c3-legacy/esp32c3-devkit/src/esp32c3_bringup.c
@@ -1,5 +1,5 @@
 /****************************************************************************
- * boards/risc-v/esp32c3/esp32c3-devkit/src/esp32c3_bringup.c
+ * boards/risc-v/esp32c3-legacy/esp32c3-devkit/src/esp32c3_bringup.c
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
diff --git a/boards/risc-v/esp32c3/esp32c3-devkit/src/esp32c3_gpio.c b/boards/risc-v/esp32c3-legacy/esp32c3-devkit/src/esp32c3_gpio.c
similarity index 99%
rename from boards/risc-v/esp32c3/esp32c3-devkit/src/esp32c3_gpio.c
rename to boards/risc-v/esp32c3-legacy/esp32c3-devkit/src/esp32c3_gpio.c
index 4152f848ba..ac424a419d 100644
--- a/boards/risc-v/esp32c3/esp32c3-devkit/src/esp32c3_gpio.c
+++ b/boards/risc-v/esp32c3-legacy/esp32c3-devkit/src/esp32c3_gpio.c
@@ -1,5 +1,5 @@
 /****************************************************************************
- * boards/risc-v/esp32c3/esp32c3-devkit/src/esp32c3_gpio.c
+ * boards/risc-v/esp32c3-legacy/esp32c3-devkit/src/esp32c3_gpio.c
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
diff --git a/boards/risc-v/esp32c3/esp32c3-devkit-rust-1/src/esp32c3_ioctl.c b/boards/risc-v/esp32c3-legacy/esp32c3-devkit/src/esp32c3_ioctl.c
similarity index 97%
rename from boards/risc-v/esp32c3/esp32c3-devkit-rust-1/src/esp32c3_ioctl.c
rename to boards/risc-v/esp32c3-legacy/esp32c3-devkit/src/esp32c3_ioctl.c
index 49ff906c2f..5cec969b1b 100644
--- a/boards/risc-v/esp32c3/esp32c3-devkit-rust-1/src/esp32c3_ioctl.c
+++ b/boards/risc-v/esp32c3-legacy/esp32c3-devkit/src/esp32c3_ioctl.c
@@ -1,5 +1,5 @@
 /****************************************************************************
- * boards/risc-v/esp32c3/esp32c3-devkit-rust-1/src/esp32c3_ioctl.c
+ * boards/risc-v/esp32c3-legacy/esp32c3-devkit/src/esp32c3_ioctl.c
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
diff --git a/boards/risc-v/esp32c3/esp32c3-devkit-rust-1/src/esp32c3_reset.c b/boards/risc-v/esp32c3-legacy/esp32c3-devkit/src/esp32c3_reset.c
similarity index 97%
rename from boards/risc-v/esp32c3/esp32c3-devkit-rust-1/src/esp32c3_reset.c
rename to boards/risc-v/esp32c3-legacy/esp32c3-devkit/src/esp32c3_reset.c
index cf9d29d1e1..d3fc9344e6 100644
--- a/boards/risc-v/esp32c3/esp32c3-devkit-rust-1/src/esp32c3_reset.c
+++ b/boards/risc-v/esp32c3-legacy/esp32c3-devkit/src/esp32c3_reset.c
@@ -1,5 +1,5 @@
 /****************************************************************************
- * boards/risc-v/esp32c3/esp32c3-devkit-rust-1/src/esp32c3_reset.c
+ * boards/risc-v/esp32c3-legacy/esp32c3-devkit/src/esp32c3_reset.c
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
diff --git a/boards/risc-v/esp32c3/esp32c3-devkit/src/esp32c3_uid.c b/boards/risc-v/esp32c3-legacy/esp32c3-devkit/src/esp32c3_uid.c
similarity index 96%
rename from boards/risc-v/esp32c3/esp32c3-devkit/src/esp32c3_uid.c
rename to boards/risc-v/esp32c3-legacy/esp32c3-devkit/src/esp32c3_uid.c
index f01bed46c0..d1a8fb5b25 100644
--- a/boards/risc-v/esp32c3/esp32c3-devkit/src/esp32c3_uid.c
+++ b/boards/risc-v/esp32c3-legacy/esp32c3-devkit/src/esp32c3_uid.c
@@ -1,5 +1,5 @@
 /****************************************************************************
- * boards/risc-v/esp32c3/esp32c3-devkit/src/esp32c3_uid.c
+ * boards/risc-v/esp32c3-legacy/esp32c3-devkit/src/esp32c3_uid.c
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
diff --git a/boards/risc-v/esp32c3/esp32c3-devkit/src/etc/group b/boards/risc-v/esp32c3-legacy/esp32c3-devkit/src/etc/group
similarity index 100%
rename from boards/risc-v/esp32c3/esp32c3-devkit/src/etc/group
rename to boards/risc-v/esp32c3-legacy/esp32c3-devkit/src/etc/group
diff --git a/boards/risc-v/esp32c3/esp32c3-devkit/src/etc/init.d/rc.sysinit b/boards/risc-v/esp32c3-legacy/esp32c3-devkit/src/etc/init.d/rc.sysinit
similarity index 95%
rename from boards/risc-v/esp32c3/esp32c3-devkit/src/etc/init.d/rc.sysinit
rename to boards/risc-v/esp32c3-legacy/esp32c3-devkit/src/etc/init.d/rc.sysinit
index 53e4c5953a..d783277330 100644
--- a/boards/risc-v/esp32c3/esp32c3-devkit/src/etc/init.d/rc.sysinit
+++ b/boards/risc-v/esp32c3-legacy/esp32c3-devkit/src/etc/init.d/rc.sysinit
@@ -1,5 +1,5 @@
 /****************************************************************************
- * boards/risc-v/esp32c3/esp32c3-devkit/src/etc/init.d/rc.sysinit
+ * boards/risc-v/esp32c3-legacy/esp32c3-devkit/src/etc/init.d/rc.sysinit
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
diff --git a/boards/risc-v/esp32c3/esp32c3-devkit/src/etc/init.d/rcS b/boards/risc-v/esp32c3-legacy/esp32c3-devkit/src/etc/init.d/rcS
similarity index 93%
rename from boards/risc-v/esp32c3/esp32c3-devkit/src/etc/init.d/rcS
rename to boards/risc-v/esp32c3-legacy/esp32c3-devkit/src/etc/init.d/rcS
index 516a7cf649..504982dfcf 100644
--- a/boards/risc-v/esp32c3/esp32c3-devkit/src/etc/init.d/rcS
+++ b/boards/risc-v/esp32c3-legacy/esp32c3-devkit/src/etc/init.d/rcS
@@ -1,5 +1,5 @@
 /****************************************************************************
- * boards/risc-v/esp32c3/esp32c3-devkit/src/etc/init.d/rcS
+ * boards/risc-v/esp32c3-legacy/esp32c3-devkit/src/etc/init.d/rcS
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
diff --git a/boards/risc-v/esp32c3/esp32c3-devkit/src/etc/passwd b/boards/risc-v/esp32c3-legacy/esp32c3-devkit/src/etc/passwd
similarity index 100%
rename from boards/risc-v/esp32c3/esp32c3-devkit/src/etc/passwd
rename to boards/risc-v/esp32c3-legacy/esp32c3-devkit/src/etc/passwd