David Lechner
3dc324d3f1
tests: Format all Python code with black, except tests in basics subdir.
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.
5 years ago
Ville Skyttä
ca16c38210
various: Spelling fixes
8 years ago
Paul Sokolovsky
8212773adb
tests: Use read() instead of readall().
8 years ago
danicampora
075ca64521
cc3200: Fix UART tests after correcting uart.read() behaviour.
9 years ago
Daniel Campora
c92e6a45eb
cc3200: Rename pyb module to machine.
9 years ago
Daniel Campora
ef369249cb
cc3200: Implement support for os.dupterm().
9 years ago
Daniel Campora
dffa9f6da6
cc3200: New SD and RTC API plus os and time modules' extensions.
9 years ago
Daniel Campora
8332044f75
cc3200: Add UART.ODD and UART.EVEN to select parity.
9 years ago
Daniel Campora
e77abc261b
cc3200: Default peripheral ID support on I2C.
9 years ago
Daniel Campora
7d6b6f6681
cc3200: Make UART choose default id when not given.
9 years ago
Daniel Campora
d265df589e
tests/wipy: Disable the REPL on UART before running the UART test.
9 years ago
Daniel Campora
4cc0cd6cab
tests/wipy: Additional tests for when the UART is un-initialized.
9 years ago
Daniel Campora
4d7fa05b43
cc3200: Improve Pin and UART implementation.
Deassign pins af before assigning. Make uart.any() return the
correct value everytime, this requires interrupts to be always
enabled.
9 years ago
Daniel Campora
f8b98d8329
tests/wipy: Improve UART tests with no pin assignment case.
9 years ago
Daniel Campora
f91f212d9f
cc3200: New UART API plus related test.
9 years ago