arch/risc-v: rename ESP32-C3 boards - #17417
Merged
xiaoxiang781216 merged 3 commits intoDec 3, 2025
Merged
Conversation
fdcavalcanti
requested review from
Donny9,
Ouss4,
acassis,
anchao,
gustavonihei,
jerpelea,
lupyuen,
pussuw,
raiden00pl,
rcsim,
saramonteiro,
simbit18,
tmedicci,
xiaoxiang781216 and
yf13
as code owners
December 1, 2025 17:49
tmedicci
previously approved these changes
Dec 1, 2025
tmedicci
left a comment
Contributor
There was a problem hiding this comment.
Thank you, @fdcavalcanti !
xiaoxiang781216
previously approved these changes
Dec 1, 2025
anchao
previously approved these changes
Dec 2, 2025
eren-terzioglu
approved these changes
Dec 2, 2025
Contributor
|
Hi @fdcavalcanti @tmedicci @eren-terzioglu, I believe we also need to rename this configuration. esp32c3-generic/configs/pm -> esp32c3-devkit/configs/pm there is an error |
Contributor
Author
Must have been happened after rebase. Will fix, thanks! |
- ARCH_CHIP_ESP32C3_LEGACY created - ARCH_CHIP_ESP32C3_GENERIC is now ARCH_CHIP_ESP32C3 This is part of deprecating esp32c3-devkit as esp32c3-legacy and using esp32c3-generic (now esp32c3-devkit) instead. Signed-off-by: Filipe Cavalcanti <filipe.cavalcanti@espressif.com>
…cy arch This change makes the esp32c3-generic the main esp32c3 supported board: esp32c3-devkit. The now esp32c3-legacy is pure register based and not maintained anymore. Now, esp32c3-devkit shares the same driver implementation as ESP32-C6 and ESP32-H2. - esp32c3-devkit -> esp32c3-legacy - esp32c3-generic -> esp32c3-devkit Signed-off-by: Filipe Cavalcanti <filipe.cavalcanti@espressif.com>
Updates the docs to the new esp32c3-devkit naming, after deprecating support for now esp32c3-legacy. Signed-off-by: Filipe Cavalcanti <filipe.cavalcanti@espressif.com>
fdcavalcanti
dismissed stale reviews from xiaoxiang781216 and tmedicci
via
December 2, 2025 13:38
0686d72
fdcavalcanti
force-pushed
the
feature/rename-esp32c3-legacy
branch
from
December 2, 2025 13:38
2c6d408 to
0686d72
Compare
simbit18
approved these changes
Dec 2, 2025
xiaoxiang781216
approved these changes
Dec 3, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR deprecates the legacy ESP32-C3 board implementation and renames the generic implementation to become the main supported board.
Summary
This change makes the
esp32c3-genericthe main ESP32-C3 supported board:esp32c3-devkit. The nowesp32c3-legacyis not maintained anymore. Difference is thatesp32c3-devkitshares the same common driver implementation as ESP32-C6 and ESP32-H2 which makes it easier to maintain.Main Changes
esp32c3-devkit->esp32c3-legacyesp32c3-generic->esp32c3-devkitARCH_CHIP_ESP32C3_LEGACYcreatedARCH_CHIP_ESP32C3_GENERICis nowARCH_CHIP_ESP32C3Renames architecture configurations:
ARCH_CHIP_ESP32C3_GENERIC→ARCH_CHIP_ESP32C3Introduces ARCH_CHIP_ESP32C3_LEGACY for the deprecated implementation
Reorganizes board structure:
esp32c3-devkit→esp32c3-legacy(deprecated, no longer maintained)esp32c3-generic→esp32c3-devkit(becomes the main supported board)The new esp32c3-devkit uses the same driver implementation as ESP32-C6 and ESP32-H2, improving code maintainability and consistency for Espressif RISC-V platforms.
Impact
Impact on user: Yes, this is a breaking change for users.
Applications using esp32c3-devkit:
Must migrate to esp32c3-legacy-devkit to keep the legacy implementation, or
Switch to the new esp32c3-devkit (formerly esp32c3-generic) which uses the shared driver architecture
Update build scripts, CI/CD pipelines, and documentation that reference the old board name
Applications using esp32c3-generic:
The board is now named esp32c3-devkit
Update all references from esp32c3-generic to esp32c3-devkit in build configurations and scripts
Configuration changes:
If using
ARCH_CHIP_ESP32C3_GENERICin Kconfig, change toARCH_CHIP_ESP32C3If using
ARCH_CHIP_ESP32C3(old), change toARCH_CHIP_ESP32C3_LEGACYImpact on build: Significant build system changes.
Old:
boards/risc-v/esp32c3/esp32c3-devkit/→ New:boards/risc-v/esp32c3-legacy/esp32c3-legacy-devkit/Old:
boards/risc-v/esp32c3/esp32c3-generic/→ New:boards/risc-v/esp32c3/esp32c3-devkit/CONFIG_ARCH_BOARDchanged from "esp32c3-devkit" to "esp32c3-legacy-devkit" for legacy boardsCONFIG_ARCH_BOARDchanged from "esp32c3-generic" to "esp32c3-devkit" for the new main boardCONFIG_ARCH_CHIPchanged from "esp32c3" to "esp32c3-legacy" for legacy architectureCONFIG_ARCH_CHIPremains "esp32c3" for the new architecture (previously "esp32c3-generic")Impact on hardware: Only affects ESP32-C3.
Impact on documentation: Yes. Renamed boards to reflect changes.
Impact on security: No.
Impact on compatibility: Yes, breaking changes affecting backward compatibility.
Testing
Due to the high number of configs and the type of change, testing was done in the following manner:
refresh.shscript toesp32c3andesp32c3-legacyResults
All boards are building with no issue. Test on Espressif CI and QEMU gives results as expected.