Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [main] - TBD
- Add CACHEDIR.TAG to idf and pio temporary directories, to prevent Linux backups
from picking them up (see TODO, no support is added for MacOS/Windows).
- Fix build on esp-idf master branch (new platform).

## [0.33.1] - 2025-07-27
- Fix a bug where the cmake utilities refused to work with CMake 4 due to a broken version check
Expand Down
1 change: 1 addition & 0 deletions src/espidf.rs
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,7 @@ fn parse_tools(
("macos", "aarch64") => info.macos_arm64.clone(),
("windows", "x86") => info.win32.clone(),
("windows", "x86_64") => info.win64.clone(),
("windows", "aarch64") => info.win_arm64.clone(),
_ => None,
}
};
Expand Down
6 changes: 6 additions & 0 deletions src/espidf/tools_schema.rs
Original file line number Diff line number Diff line change
Expand Up @@ -409,6 +409,8 @@ pub(crate) enum PlatformOverrideInfoPlatformsItem {
Win32,
#[serde(rename = "win64")]
Win64,
#[serde(rename = "win-arm64")]
WinArm64,
}
impl From<&PlatformOverrideInfoPlatformsItem> for PlatformOverrideInfoPlatformsItem {
fn from(value: &PlatformOverrideInfoPlatformsItem) -> Self {
Expand All @@ -426,6 +428,7 @@ impl ToString for PlatformOverrideInfoPlatformsItem {
Self::MacosArm64 => "macos-arm64".to_string(),
Self::Win32 => "win32".to_string(),
Self::Win64 => "win64".to_string(),
Self::WinArm64 => "win-arm64".to_string(),
}
}
}
Expand All @@ -441,6 +444,7 @@ impl std::str::FromStr for PlatformOverrideInfoPlatformsItem {
"macos-arm64" => Ok(Self::MacosArm64),
"win32" => Ok(Self::Win32),
"win64" => Ok(Self::Win64),
"win-arm64" => Ok(Self::WinArm64),
_ => Err("invalid value".into()),
}
}
Expand Down Expand Up @@ -735,6 +739,8 @@ pub(crate) struct VersionInfo {
pub(crate) win32: Option<PlatformDownloadInfo>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub(crate) win64: Option<PlatformDownloadInfo>,
#[serde(rename = "win-arm64", default, skip_serializing_if = "Option::is_none")]
pub(crate) win_arm64: Option<PlatformDownloadInfo>,
}
impl From<&VersionInfo> for VersionInfo {
fn from(value: &VersionInfo) -> Self {
Expand Down
Loading