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/).
15
15
16
16
### Added
17
17
18
+ - PWM output on TIM2 channels.
18
19
- Provide getters to serial status flags idle/txe/rxne/tc.
19
20
- Provide ability to reset timer UIF interrupt flag
20
21
- 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):
21
21
22
22
def main ():
23
23
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 ,
27
28
)
29
+ )
28
30
29
31
crate_info = cargo_meta ["packages" ][0 ]
30
32
@@ -36,17 +38,16 @@ def main():
36
38
and x != "stm32f030"
37
39
and x != "stm32-usbd"
38
40
]
41
+ print (features )
39
42
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" ]
42
45
else :
43
- cargo_cmd = [' cargo' , ' check' ]
46
+ cargo_cmd = [" cargo" , " check" ]
44
47
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 )):
47
49
sys .exit (- 1 )
48
50
49
51
50
52
if __name__ == "__main__" :
51
53
main ()
52
-
You can’t perform that action at this time.
0 commit comments