Skip to content

Commit 956bc56

Browse files
Add C5 support (#541)
* feat: Add C5 support * docs: Add changelog
1 parent dd991a3 commit 956bc56

4 files changed

Lines changed: 7 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
88
## [Unreleased]
99

1010
### Added
11+
- Add ESP32-C5 support (#541)
1112

1213
### Fixed
1314

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ Options:
190190
With this option, espup will skip GCC installation (it will be handled by esp-idf-sys), hence you won't be able to build no_std applications.
191191
192192
-t, --targets <TARGETS>
193-
Comma or space separated list of targets [esp32,esp32c2,esp32c3,esp32c6,esp32h2,esp32s2,esp32s3,esp32p4,all]
193+
Comma or space separated list of targets [esp32,esp32c2,esp32c3,esp32c5,esp32c6,esp32h2,esp32s2,esp32s3,esp32p4,all]
194194
195195
[default: all]
196196
@@ -260,7 +260,7 @@ Options:
260260
With this option, espup will skip GCC installation (it will be handled by esp-idf-sys), hence you won't be able to build no_std applications.
261261
262262
-t, --targets <TARGETS>
263-
Comma or space separated list of targets [esp32,esp32c2,esp32c3,esp32c6,esp32h2,esp32s2,esp32s3,all]
263+
Comma or space separated list of targets [esp32,esp32c2,esp32c3,esp32c5,esp32c6,esp32h2,esp32s2,esp32s3,all]
264264
265265
[default: all]
266266

src/cli.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ pub struct InstallOpts {
5151
/// With this option, espup will skip GCC installation (it will be handled by esp-idf-sys), hence you won't be able to build no_std applications.
5252
#[arg(short = 's', long)]
5353
pub std: bool,
54-
/// Comma or space separated list of targets [esp32,esp32c2,esp32c3,esp32c6,esp32h2,esp32s2,esp32s3,esp32p4,all].
54+
/// Comma or space separated list of targets [esp32,esp32c2,esp32c3,esp32c5,esp32c6,esp32h2,esp32s2,esp32s3,esp32p4,all].
5555
#[arg(short = 't', long, default_value = "all", value_parser = parse_targets)]
5656
pub targets: HashSet<Target>,
5757
/// Xtensa Rust toolchain version.

src/targets.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ pub enum Target {
1616
/// RISC-V based single core
1717
ESP32C3,
1818
/// RISC-V based single core
19+
ESP32C5,
20+
/// RISC-V based single core
1921
ESP32C6,
2022
/// RISC-V based single core
2123
ESP32H2,
@@ -88,6 +90,7 @@ mod tests {
8890
Target::ESP32,
8991
Target::ESP32C2,
9092
Target::ESP32C3,
93+
Target::ESP32C5,
9194
Target::ESP32C6,
9295
Target::ESP32H2,
9396
Target::ESP32S2,

0 commit comments

Comments
 (0)