Skip to content

Commit 5a4f78c

Browse files
authored
Merge pull request #47 from rursprung/only-build-defmt-on-rust-stable
only build `defmt` feature on stable rust + update dependencies
2 parents 1b5f718 + 69baf0b commit 5a4f78c

File tree

3 files changed

+51
-39
lines changed

3 files changed

+51
-39
lines changed

.github/workflows/CI.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ jobs:
1515
matrix:
1616
rust: [1.63.0, stable]
1717
features: ['', '--all-features']
18+
exclude:
19+
- rust: 1.63.0
20+
features: '--all-features'
1821
runs-on: ubuntu-latest
1922
steps:
2023
- uses: actions/checkout@v4

examples/stm32f4-single-motor-example/.cargo/config renamed to examples/stm32f4-single-motor-example/.cargo/config.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
[target.thumbv7em-none-eabihf]
22
runner = 'probe-rs run --chip STM32F401RE'
3+
4+
[target.'cfg(all(target_arch = "arm", target_os = "none"))']
5+
linker = "flip-link"
36
rustflags = [
47
"-C", "link-arg=-Tlink.x",
58
"-C", "link-arg=-Tdefmt.x",
6-
"-C", "linker=flip-link",
79
]
810

911
[build]

examples/stm32f4-single-motor-example/Cargo.lock

Lines changed: 45 additions & 38 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)