Skip to content
Open
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
12 changes: 8 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,22 +13,26 @@ jobs:
matrix:
# All generated code should be running on stable now
rust: [stable]
test_cortex_m_types: [true]

include:
# Test MSRV
- rust: 1.61.0
- rust: 1.71.0
# Should be set to true for >= 1.81.0
test_cortex_m_types: false

# Test nightly but don't fail
- rust: nightly
test_cortex_m_types: true
experimental: true
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}
- name: Run tests
if: ${{ matrix.rust != '1.61.0' }}
if: ${{ matrix.test_cortex_m_types }}
run: cargo test --all --exclude cortex-m-rt --exclude testsuite --features cortex-m/critical-section-single-core
- name: Run tests for 1.61.0 (need to exclude cortex-m-types)
if: ${{ matrix.rust == '1.61.0' }}
- name: Run tests for < 1.81.0 (need to exclude cortex-m-types)
if: ${{ matrix.test_cortex_m_types == false }}
run: cargo test --all --exclude cortex-m-rt --exclude testsuite --exclude cortex-m-types --features cortex-m/critical-section-single-core
2 changes: 1 addition & 1 deletion .github/workflows/rt-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
continue-on-error: ${{ matrix.experimental || false }}
strategy:
matrix:
rust: [nightly, stable, 1.61.0]
rust: [nightly, stable, 1.71.0]

include:
# Nightly is only for reference and allowed to fail
Expand Down
1 change: 1 addition & 0 deletions cortex-m-rt/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
from an external device. Note that this relies on the bootloader to have already
copied `.data` to the VMA before relinquishing control.
- Updated references from 'Cortex-M Team' to 'Arm Team'
- Bump MSRV to 1.71

## [v0.7.5]

Expand Down
2 changes: 1 addition & 1 deletion cortex-m-rt/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ version = "0.7.5"
autoexamples = true
links = "cortex-m-rt" # Prevent multiple versions of cortex-m-rt being linked
edition = "2021"
rust-version = "1.61"
rust-version = "1.71"

[dependencies]
cortex-m-rt-macros = { path = "macros", version = "=0.7.5" }
Expand Down
2 changes: 1 addition & 1 deletion cortex-m-rt/macros/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ name = "cortex-m-rt-macros"
repository = "https://github.com/rust-embedded/cortex-m"
version = "0.7.5"
edition = "2021"
rust-version = "1.61"
rust-version = "1.71"

[lib]
proc-macro = true
Expand Down
2 changes: 1 addition & 1 deletion cortex-m-semihosting/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ readme = "README.md"
repository = "https://github.com/rust-embedded/cortex-m"
version = "0.5.0"
edition = "2021"
rust-version = "1.61"
rust-version = "1.71"

[features]
jlink-quirks = []
Expand Down
2 changes: 1 addition & 1 deletion cortex-m/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

## [Unreleased]

- MSRV is 1.61 to match cortex-m-rt crate
- MSRV is 1.71 to match cortex-m-rt crate
- Add `enter_unprivileged` function to switch to unprivileged mode (on the Process Stack, or `PSP`)
- Updated references from 'Cortex-M Team' to 'Arm Team'

Expand Down
4 changes: 2 additions & 2 deletions cortex-m/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ license = "MIT OR Apache-2.0"
name = "cortex-m"
readme = "README.md"
repository = "https://github.com/rust-embedded/cortex-m"
edition = "2021"
version = "0.7.7"
edition = "2018"
links = "cortex-m" # prevent multiple versions of this crate to be linked together
rust-version = "1.61"
rust-version = "1.71"

[dependencies]
bare-metal = { version = "0.2.4", features = ["const-fn"] }
Expand Down
2 changes: 1 addition & 1 deletion panic-itm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ keywords = ["panic-impl", "panic-handler", "ITM", "ARM", "Cortex-M"]
license = "MIT OR Apache-2.0"
name = "panic-itm"
repository = "https://github.com/rust-embedded/cortex-m"
edition = "2021"
version = "0.4.2"
edition = "2018"

[dependencies]
cortex-m = { path = "../cortex-m", version = ">= 0.5.8, < 0.8" }
2 changes: 1 addition & 1 deletion panic-semihosting/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ license = "MIT OR Apache-2.0"
name = "panic-semihosting"
repository = "https://github.com/rust-embedded/cortex-m"
version = "0.6.0"
rust-version = "1.61"
rust-version = "1.71"
edition = "2021"

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion testsuite/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
authors = ["The Embedded Devices Working Group's Arm Team<cortex-m@teams.rust-embedded.org>"]
name = "testsuite"
publish = false
edition = "2018"
edition = "2021"
version = "0.1.0"

[features]
Expand Down
2 changes: 1 addition & 1 deletion xtask/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "xtask"
version = "0.0.0"
authors = ["The Embedded Devices Working Group's Arm Team<cortex-m@teams.rust-embedded.org>"]
edition = "2018"
edition = "2021"
publish = false

[[test]]
Expand Down