File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ target platform and run the appropriate set of tests for that platform. For exa
1313
1414That will run tests on the ` /dev/ttyACM0 ` serial port. You can also use shortcut
1515device names like ` a<n> ` for ` /dev/ttyACM<n> ` and ` c<n> ` for ` COM<n> ` . Use
16- ` ./run-tests.py --help ` to see all of the device possibilites , and other options.
16+ ` ./run-tests.py --help ` to see all of the device possibilities , and other options.
1717
1818There are three kinds of tests:
1919
Original file line number Diff line number Diff line change 1- # Test machine.PWM, frequncy and duty cycle (using machine.time_pulse_us).
1+ # Test machine.PWM, frequency and duty cycle (using machine.time_pulse_us).
22#
33# IMPORTANT: This test requires hardware connections: the PWM-output and pulse-input
44# pins must be wired together (see the variable `pwm_pulse_pins`).
Original file line number Diff line number Diff line change 44
55nvs = NVS ("mp-test" )
66
7- # test setting and gettin an integer kv
7+ # test setting and getting an integer kv
88nvs .set_i32 ("key1" , 1234 )
99print (nvs .get_i32 ("key1" ))
1010nvs .set_i32 ("key2" , - 503 )
Original file line number Diff line number Diff line change @@ -848,7 +848,7 @@ def run_one_test(test_file):
848848 test_file_abspath = os .path .abspath (test_file ).replace ("\\ " , "/" )
849849
850850 if args .filters :
851- # Default verdict is the opposit of the first action
851+ # Default verdict is the opposite of the first action
852852 verdict = "include" if args .filters [0 ][0 ] == "exclude" else "exclude"
853853 for action , pat in args .filters :
854854 if pat .search (test_file ):
You can’t perform that action at this time.
0 commit comments