Skip to content

Commit 887de9f

Browse files
Merge pull request #88 from thejpster/do-releases
Go go gadget releases
2 parents 3224df5 + 13c026e commit 887de9f

File tree

11 files changed

+54
-45
lines changed

11 files changed

+54
-45
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -88,36 +88,6 @@ jobs:
8888
cargo +nightly-2025-10-29 build --target ${{ matrix.target }} -Zbuild-std=core
8989
cargo +nightly-2025-10-29 build --target ${{ matrix.target }} -Zbuild-std=core --features "serde, defmt, check-asm"
9090
91-
build-versatileab:
92-
runs-on: ubuntu-24.04
93-
needs: setup
94-
strategy:
95-
matrix:
96-
rust: ${{ fromJSON(needs.setup.outputs.matrix).rust }}
97-
steps:
98-
- name: Checkout
99-
uses: actions/checkout@v4
100-
- name: Build
101-
run: |
102-
cd examples/versatileab
103-
cargo build --target armv7a-none-eabi
104-
cargo build --target armv7r-none-eabi
105-
cargo build --target armv7r-none-eabihf
106-
107-
build-mps3-an536:
108-
runs-on: ubuntu-24.04
109-
needs: setup
110-
strategy:
111-
matrix:
112-
rust: ${{ fromJSON(needs.setup.outputs.matrix).rust }}
113-
steps:
114-
- name: Checkout
115-
uses: actions/checkout@v4
116-
- name: Build
117-
run: |
118-
cd examples/mps3-an536
119-
cargo build --target armv8r-none-eabihf
120-
12191
# Build the host tools
12292
build-host:
12393
runs-on: ubuntu-24.04
@@ -141,7 +111,7 @@ jobs:
141111
# Gather all the above build jobs together for the purposes of getting an overall pass-fail
142112
build-all:
143113
runs-on: ubuntu-24.04
144-
needs: [build-tier2, build-tier2-nightly, build-tier3-no-atomics, build-host, build-versatileab, build-mps3-an536]
114+
needs: [build-tier2, build-tier2-nightly, build-tier3-no-atomics, build-host]
145115
steps:
146116
- run: /bin/true
147117

@@ -301,6 +271,7 @@ jobs:
301271
cargo test --manifest-path aarch32-cpu/Cargo.toml
302272
303273
# Run some programs in QEMU 9
274+
# These tests build with nightly as pinned by the rust-toolchain.toml file, because they include Tier 3 targets
304275
qemu-test:
305276
runs-on: ubuntu-24.04
306277
needs: [build-all]

aarch32-cpu/CHANGELOG.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,18 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
77

88
## [Unreleased]
99

10+
## [aarch32-cpu v0.1.0]
11+
12+
### Added
13+
14+
- ARMv4T and ARMv5TE support
15+
- Thumb mode target support
16+
1017
### Changed
1118

1219
- Renamed from `cortex-ar` to `aarch32-cpu`
13-
- Added ARMv4T and ARMv5TE support
20+
- Restarted numbering from 0.1.0
21+
- All BAR register types now hold plain `u32`, not `*mut u32` - fixes issues with `serde` derives on some types
1422

1523
## [cortex-ar v0.3.0]
1624

@@ -54,7 +62,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
5462

5563
Initial release
5664

57-
[Unreleased]: https://github.com/rust-embedded/aarch32/compare/cortex-ar-v0.3.0...HEAD
65+
[Unreleased]: https://github.com/rust-embedded/aarch32/compare/aarch32-cpu-v0.1.0...HEAD
66+
[aarch32-cpu v0.1.0]: https://github.com/rust-embedded/aarch32/compare/cortex-ar-v0.3.0...aarch32-cpu-v0.1.0
5867
[cortex-ar v0.3.0]: https://github.com/rust-embedded/aarch32/compare/cortex-ar-v0.2.0...cortex-ar-v0.3.0
5968
[cortex-ar v0.2.0]: https://github.com/rust-embedded/aarch32/compare/cortex-ar-v0.1.0...cortex-ar-v0.2.0
6069
[cortex-ar v0.1.0]: https://github.com/rust-embedded/aarch32/releases/tag/cortex-ar-v0.1.0

aarch32-cpu/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ defmt = { version = "1", optional = true }
3434
serde = { version = "1", features = ["derive"], default-features = false, optional = true }
3535

3636
[build-dependencies]
37-
arm-targets = { version = "0.3.0", path = "../arm-targets" }
37+
arm-targets = { version = "0.4.0", path = "../arm-targets" }
3838

3939
[features]
4040
# Adds a critical-section implementation that only disables interrupts.

aarch32-rt-macros/CHANGELOG.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
77

88
## [Unreleased]
99

10-
- Renamed to `aarch32-rt-macros`
10+
## [aarch32-rt-macros v0.1.0]
11+
12+
- Renamed to `aarch32-rt-macros`, restarted numbering from 0.1.0
1113

1214
## [cortex-ar-rt-macros v0.1.1]
1315

@@ -17,6 +19,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
1719

1820
Initial release
1921

20-
[Unreleased]: https://github.com/rust-embedded/aarch32/compare/cortex-ar-rt-macros-v0.1.1...HEAD
22+
[Unreleased]: https://github.com/rust-embedded/aarch32/compare/aarch32-rt-macros-v0.1.0...HEAD
23+
[aarch32-rt-macros v0.1.0]: https://github.com/rust-embedded/aarch32/compare/cortex-ar-rt-macros-v0.1.1...aarch32-rt-macros-v0.1.0
2124
[cortex-ar-rt-macros v0.1.1]: https://github.com/rust-embedded/aarch32/compare/cortex-ar-rt-macros-v0.1.0...cortex-ar-rt-macros-v0.1.1
2225
[cortex-ar-rt-macros v0.1.0]: https://github.com/rust-embedded/aarch32/releases/tag/cortex-ar-rt-macros-v0.1.0

aarch32-rt/CHANGELOG.md

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,19 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
77

88
## [Unreleased]
99

10+
## [aarch32-rt v0.1.0]
11+
12+
### Added
13+
14+
- ARMv7-A support, by merging with the old `cortex-a-rt` crate
15+
- ARMv4T and ARMv5TE support
16+
- Thumb mode target support
17+
- `fpu-d32` feature (was called `vfp-dp` in the old `cortex-a-rt`)
18+
1019
### Changed
1120

1221
- Renamed from `cortex-r-rt` to `aarch32-rt`
13-
- Added ARMv4T and ARMv5TE support
14-
- Added `fpu-d32` feature
22+
- Restarted numbering from 0.1.0
1523
- Fixed SVC handling from T32 mode
1624

1725
## [cortex-r-rt v0.2.1]
@@ -42,7 +50,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
4250

4351
Initial release
4452

45-
[Unreleased]: https://github.com/rust-embedded/aarch32/compare/cortex-r-rt-v0.2.1...HEAD
53+
[Unreleased]: https://github.com/rust-embedded/aarch32/compare/aarch32-rt-v0.1.0...HEAD
54+
[aarch32-rt v0.1.0]: https://github.com/rust-embedded/aarch32/compare/cortex-r-rt-v0.2.1...aarch32-rt-v0.1.0
4655
[cortex-r-rt v0.2.1]: https://github.com/rust-embedded/aarch32/compare/cortex-r-rt-v0.2.0...cortex-r-rt-v0.2.1
4756
[cortex-r-rt v0.2.0]: https://github.com/rust-embedded/aarch32/compare/cortex-r-rt-v0.1.0...cortex-r-rt-v0.2.0
4857
[cortex-r-rt v0.1.0]: https://github.com/rust-embedded/aarch32/releases/tag/cortex-r-rt-v0.1.0

aarch32-rt/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ description = "Run-time support for Arm AArch32"
1111
edition = "2021"
1212
keywords = [
1313
"arm",
14-
"cortex-r",
14+
"aarch32",
1515
"embedded",
1616
"no-std",
1717
"run-time",
@@ -37,7 +37,7 @@ eabi-fpu = []
3737
fpu-d32 = []
3838

3939
[build-dependencies]
40-
arm-targets = { version = "0.3.0", path = "../arm-targets" }
40+
arm-targets = { version = "0.4.0", path = "../arm-targets" }
4141

4242
[package.metadata.docs.rs]
4343
targets = ["armv7r-none-eabihf", "armv7r-none-eabihf", "armv7a-none-eabi"]

aarch32-rt/src/lib.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,12 @@
1717
//! ## Features
1818
//!
1919
//! - `eabi-fpu`: Enables the FPU, even if you selected a soft-float ABI target.
20+
//! - `fpu-d32`: Make the interrupt context store routines save the upper
21+
//! double-precision registers.
22+
//!
23+
//! If your program is using all 32 double-precision registers (e.g. if you
24+
//! have set the `+d32` target feature) then you need to enable this option
25+
//! otherwise important FPU state may be lost when an exception occurs.
2026
//!
2127
//! ## Information about the Run-Time
2228
//!

arm-targets/CHANGELOG.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,16 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
77

88
## [Unreleased]
99

10+
## [v0.4.0]
11+
12+
### Added
13+
14+
- Added `Arch::Armv6`
15+
16+
### Changed
17+
18+
- Targets starting with `thumb` are identified as T32 targets
19+
1020
## [v0.3.0]
1121

1222
### Added
@@ -32,7 +42,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
3242

3343
Initial release
3444

35-
[Unreleased]: https://github.com/rust-embedded/aarch32/compare/arm-targets-v0.3.0...HEAD
45+
[Unreleased]: https://github.com/rust-embedded/aarch32/compare/arm-targets-v0.4.0...HEAD
46+
[v0.4.0]: https://github.com/rust-embedded/aarch32/compare/arm-targets-v0.3.0...arm-targets-v0.4.0
3647
[v0.3.0]: https://github.com/rust-embedded/aarch32/compare/arm-targets-v0.2.0...arm-targets-v0.3.0
3748
[v0.2.0]: https://github.com/rust-embedded/aarch32/compare/arm-targets-v0.1.0...arm-targets-v0.2.0
3849
[v0.1.0]: https://github.com/rust-embedded/aarch32/releases/tag/arm-targets-v0.1.0

arm-targets/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ readme = "README.md"
1212
repository = "https://github.com/rust-embedded/aarch32.git"
1313
homepage = "https://github.com/rust-embedded/aarch32"
1414
rust-version = "1.59"
15-
version = "0.3.0"
15+
version = "0.4.0"
1616

1717
[dependencies]

examples/mps3-an536/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ libm = "0.2.15"
2525
semihosting = { version = "0.1.18", features = ["stdio"] }
2626

2727
[build-dependencies]
28-
arm-targets = {version = "0.3.0", path = "../../arm-targets"}
28+
arm-targets = {version = "0.4.0", path = "../../arm-targets"}
2929

3030
[features]
3131
eabi-fpu = ["aarch32-rt/eabi-fpu"]

0 commit comments

Comments
 (0)