From d3fdd76d504622c2e63a8d38b1306fa1abfc86de Mon Sep 17 00:00:00 2001 From: Rock Boynton Date: Tue, 17 Feb 2026 11:46:34 -0800 Subject: Relax cortex-m-rt version specification cortex-m-rt v0.7.3 and earlier didn't document support for custom linker scripts. Without that, I figured we were relying on an implementation detail, and a patch version bump could break dependents. Pinning the version avoided that possibility. Now that there's documented support for custom scripts, we can relax that. --- CHANGELOG.md | 4 ++++ Cargo.toml | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b4d6752..8187edb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,10 @@ enabled. Use `RuntimeBuilder::boot_header` to force inclusion / exclusion of the NXP boot ROM header in your image. +Relax cortex-m-rt version specification, providing support for cortex-m-rt +after 0.7.3. However, it's not guaranteed that this package supports all +feature flags available in newer versions of cortex-m-rt. + ### FlexRAM bank layouts The runtime builder lets users specify the _layout_, or assignment, of FlexRAM diff --git a/Cargo.toml b/Cargo.toml index bb93245..cf832e4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -18,7 +18,7 @@ device = ["cortex-m-rt/device"] cfg-if = "1.0" [target.'cfg(all(target_arch = "arm", target_os = "none"))'.dependencies] -cortex-m-rt = { version = "=0.7.3", features = ["set-vtor", "set-sp"] } +cortex-m-rt = { version = "0.7.3", features = ["set-vtor", "set-sp"] } [target.'cfg(all(target_arch = "arm", target_os = "none"))'.dev-dependencies] board = { path = "board" } -- cgit v1.2.3