Skip to content

Commit 7d45380

Browse files
authored
Merge pull request #672 from stm32-rs/badge2
add deps badge, check improve
2 parents ea1826f + 19ab67c commit 7d45380

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ stm32f4xx-hal
55
[![Crates.io](https://img.shields.io/crates/v/stm32f4xx-hal.svg)](https://crates.io/crates/stm32f4xx-hal)
66
[![Released API docs](https://docs.rs/stm32f4xx-hal/badge.svg)](https://docs.rs/stm32f4xx-hal)
77
![Minimum Supported Rust Version](https://img.shields.io/badge/rustc-1.60+-blue.svg)
8+
[![dependency status](https://deps.rs/repo/github/stm32-rs/stm32f4xx-hal/status.svg)](https://deps.rs/repo/github/stm32-rs/stm32f4xx-hal)
89
[![Continuous integration](https://github.com/stm32-rs/stm32f4xx-hal/workflows/Continuous%20integration/badge.svg)](https://github.com/stm32-rs/stm32f4xx-hal)
910

1011
_stm32f4xx-hal_ contains a multi device hardware abstraction on top of the

tools/check.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,17 @@ def main():
2828

2929
crate_info = cargo_meta["packages"][0]
3030

31-
features = ["{},usb_fs,can,i2s,fsmc_lcd".format(x)
31+
features = ["{},usb_fs,can,i2s,fsmc_lcd,rtic,defmt".format(x)
3232
for x in crate_info["features"].keys()
3333
if x.startswith("stm32f4")]
3434

3535
if 'size_check' in sys.argv:
3636
cargo_cmd = ['cargo', 'build', '--release']
3737
else:
3838
cargo_cmd = ['cargo', 'check']
39+
40+
if '--examples' in sys.argv:
41+
cargo_cmd += ['--examples']
3942

4043
if not all(map(lambda f: run(f, cargo_cmd),
4144
features)):

0 commit comments

Comments
 (0)