aboutsummaryrefslogtreecommitdiff
path: root/tests/pyb/can.py
AgeCommit message (Collapse)Author
2020-03-30tests: Format all Python code with black, except tests in basics subdir.David Lechner
This adds the Python files in the tests/ directory to be formatted with ./tools/codeformat.py. The basics/ subdirectory is excluded for now so we aren't changing too much at once. In a few places `# fmt: off`/`# fmt: on` was used where the code had special formatting for readability or where the test was actually testing the specific formatting.
2019-12-13tests/pyb: Refactor pyboard tests to work on PYBv1, PYBLITEv1 and PYBD.Damien George
2018-03-19tests/pyb/can: Update to test pyb.CAN restart, state, info, inplace recvDamien George
2017-06-10tests: Convert remaining "sys.exit()" to "raise SystemExit".Paul Sokolovsky
2017-05-29various: Spelling fixesVille Skyttä
2017-02-06tests/pyb: Adjust tests so they can run on PYB and PYBLITE.Damien George
A few tests still fail on PYBLITE, and that's due to differences in the available peripheral block numbers on the different MCUs (eg I2C(2) exists on one, but it's I2C(3) on the other).
2016-05-08stmhal/can: Allow to get existing CAN obj if constructed without args.Henrik Sölver
Initialisation of CAN objects should now behave as other peripheral objects. Fixes issue #2001.
2015-11-02stmhal/can: Fix a bug in filter handling.Henrik Sölver
Reported here: http://forum.micropython.org/viewtopic.php?f=2&t=845
2015-05-28tests: Add tests to create valid and invalid UART, I2C, SPI, CAN busses.Damien George
2015-04-18stmhal: Add support for sending and receiving CAN RTR messages.Henrik
2015-04-16stmhal: Allow sending CAN messages with timeout=0.Damien George
Thanks to Henrik Sölver for this patch.
2015-02-15stmhal: Add support for CAN rx callbacks.Henrik Sölver
2014-11-26Adding CAN filter managementHenrik Sölver
2014-10-30stmhal: Improve CAN print function.Damien George
2014-10-30tests: Added and adapted CAN tests for extended messagesHenrik Sölver
2014-10-02tests: Add simple CAN test.Damien George