File tree Expand file tree Collapse file tree 2 files changed +11
-9
lines changed Expand file tree Collapse file tree 2 files changed +11
-9
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change @@ -21,10 +21,12 @@ def run(mcu, cargo_cmd):
2121
2222def 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
5052if __name__ == "__main__" :
5153 main ()
52-
You can’t perform that action at this time.
0 commit comments