Skip to content

Commit 1db5af2

Browse files
committed
Actually build MSRV; update to 1.78.0
1 parent 06afef4 commit 1db5af2

File tree

4 files changed

+11
-10
lines changed

4 files changed

+11
-10
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@ jobs:
1111
strategy:
1212
matrix: # All permutations of {rust, mcu}
1313
rust:
14-
- 1.69.0 # MSRV
14+
- 1.78.0 # MSRV
1515
- stable
1616
mcu:
1717
- stm32h503
1818
- stm32h562
1919
- stm32h563
2020
- stm32h573
2121
env: # Peripheral Feature flags
22-
FLAGS: rt
22+
FLAGS: rt,log
2323

2424
steps:
2525
- uses: actions/checkout@v4
@@ -35,6 +35,8 @@ jobs:
3535
with:
3636
path: target
3737
key: ${{ runner.os }}-target-${{ matrix.rust }}-${{ hashFiles('**/Cargo.toml') }}-memory-${{ hashFiles('**/*.x') }}
38+
- name: Set rust version
39+
run: rustup override set ${{ matrix.rust }}
3840
- name: Install thumbv8m rust target
3941
run: rustup target add thumbv8m.main-none-eabihf
4042
- name: Build

.github/workflows/nightly.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,11 @@ jobs:
1414
matrix:
1515
mcu:
1616
- stm32h503
17-
logging: # Example logging options
18-
- log-itm
19-
- log-semihost
20-
- log-rtt
17+
- stm32h562
18+
- stm32h563
19+
- stm32h573
2120
env: # Peripheral Feature flags
22-
FLAGS: rt
21+
FLAGS: rt,log
2322

2423
steps:
2524
- uses: actions/checkout@v4
@@ -40,6 +39,6 @@ jobs:
4039
- name: Install thumbv8m rust target
4140
run: rustup +nightly target add thumbv8m.main-none-eabihf
4241
- name: Build
43-
run: cargo +nightly build --verbose --release --examples --target thumbv8m.main-none-eabihf --features ${{ matrix.mcu }},${{ env.FLAGS }},${{ matrix.logging }}
42+
run: cargo +nightly build --verbose --release --examples --target thumbv8m.main-none-eabihf --features ${{ matrix.mcu }},${{ env.FLAGS }}
4443
- name: Test
4544
run: cargo +nightly test --lib --target x86_64-unknown-linux-gnu --features ${{ matrix.mcu }},${{ env.FLAGS }}

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ authors = ["Edwin Svensson <[email protected]>"]
66
homepage = "https://github.com/stm32-rs/stm32h5xx-hal"
77
repository = "https://github.com/stm32-rs/stm32h5xx-hal"
88
readme = "README.md"
9-
rust-version = "1.69.0"
9+
rust-version = "1.78.0"
1010
categories = ["embedded", "hardware-support", "no-std"]
1111
description = "Hardware Abstraction Layer implementation for STM32H5 series microcontrollers"
1212
keywords = ["arm", "cortex-m", "stm32h5xx", "hal", "embedded-hal"]

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ every single model.
2929

3030
### Minimum supported Rust version
3131

32-
The Minimum Supported Rust Version (MSRV) at the moment is **1.69.0**. Older
32+
The Minimum Supported Rust Version (MSRV) at the moment is **1.78.0**. Older
3333
versions **may** compile, especially when some features are not used in your
3434
application.
3535

0 commit comments

Comments
 (0)