Skip to content

Commit 5856dca

Browse files
authored
Merge pull request #37 from rursprung/only-build-defmt-on-rust-stable
only build `defmt` feature on stable rust + update dependencies
2 parents a340f5f + d254a71 commit 5856dca

File tree

3 files changed

+61
-46
lines changed

3 files changed

+61
-46
lines changed

.github/workflows/CI.yml

+5
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ jobs:
1515
matrix:
1616
rust: [1.62.0, stable]
1717
features: ['use_alloc', 'use_alloc,defmt', 'use_heapless', 'use_heapless,defmt']
18+
exclude:
19+
- rust: 1.62.0
20+
features: 'use_alloc,defmt'
21+
- rust: 1.62.0
22+
features: 'use_heapless,defmt'
1823
runs-on: ubuntu-latest
1924
steps:
2025
- uses: actions/checkout@v4

examples/stm32f4-event-printer/.cargo/config renamed to examples/stm32f4-event-printer/.cargo/config.toml

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
[target.thumbv7em-none-eabihf]
22
runner = 'probe-run --chip STM32F401RE'
3+
4+
[target.'cfg(all(target_arch = "arm", target_os = "none"))']
5+
linker = "flip-link"
6+
37
rustflags = [
48
"-C", "link-arg=-Tlink.x",
59
"-C", "link-arg=-Tdefmt.x",
6-
"-C", "linker=flip-link",
710
]
811

912
[build]

examples/stm32f4-event-printer/Cargo.lock

+52-45
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)