Skip to content

Commit be3f62c

Browse files
author
JD
committed
Updated CHANGELOG.md
1 parent 133ced1 commit be3f62c

File tree

2 files changed

+11
-9
lines changed

2 files changed

+11
-9
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
1515

1616
### Added
1717

18+
- PWM output on TIM2 channels.
1819
- Provide getters to serial status flags idle/txe/rxne/tc.
1920
- Provide ability to reset timer UIF interrupt flag
2021
- PWM complementary output capability for TIM1 with new example to demonstrate

tools/check.py

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,12 @@ def run(mcu, cargo_cmd):
2121

2222
def main():
2323
cargo_meta = json.loads(
24-
subprocess.check_output("cargo metadata --no-deps --format-version=1",
25-
shell=True,
26-
universal_newlines=True)
24+
subprocess.check_output(
25+
"cargo metadata --no-deps --format-version=1",
26+
shell=True,
27+
universal_newlines=True,
2728
)
29+
)
2830

2931
crate_info = cargo_meta["packages"][0]
3032

@@ -36,17 +38,16 @@ def main():
3638
and x != "stm32f030"
3739
and x != "stm32-usbd"
3840
]
41+
print(features)
3942

40-
if 'size_check' in sys.argv:
41-
cargo_cmd = ['cargo', 'build', '--release']
43+
if "size_check" in sys.argv:
44+
cargo_cmd = ["cargo", "build", "--release"]
4245
else:
43-
cargo_cmd = ['cargo', 'check']
46+
cargo_cmd = ["cargo", "check"]
4447

45-
if not all(map(lambda f: run(f, cargo_cmd),
46-
features)):
48+
if not all(map(lambda f: run(f, cargo_cmd), features)):
4749
sys.exit(-1)
4850

4951

5052
if __name__ == "__main__":
5153
main()
52-

0 commit comments

Comments
 (0)