<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openmano-mpy/tests/pyb, branch master</title>
<subtitle>MicroPython source and hardware configuration for OpenMano</subtitle>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/'/>
<entry>
<title>tests: Format all Python code with black, except tests in basics subdir.</title>
<updated>2020-03-30T02:21:58+00:00</updated>
<author>
<name>David Lechner</name>
</author>
<published>2020-03-23T02:26:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=3dc324d3f1312e40d3a8ed87e7244966bb756f26'/>
<id>3dc324d3f1312e40d3a8ed87e7244966bb756f26</id>
<content type='text'>
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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.
</pre>
</div>
</content>
</entry>
<entry>
<title>tests/pyb: Adjust UART and Timer tests to work on PYBD_SF6.</title>
<updated>2019-12-20T05:42:38+00:00</updated>
<author>
<name>Damien George</name>
</author>
<published>2019-12-20T05:42:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=39bc430e44173430776e7336c9e622d52affe59a'/>
<id>39bc430e44173430776e7336c9e622d52affe59a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>tests/pyb: Refactor pyboard tests to work on PYBv1, PYBLITEv1 and PYBD.</title>
<updated>2019-12-13T06:27:29+00:00</updated>
<author>
<name>Damien George</name>
</author>
<published>2019-12-13T05:43:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=4b184d12819139fc51073248614111c45a5ac631'/>
<id>4b184d12819139fc51073248614111c45a5ac631</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>stm32/timer: Fix Timer.freq() calc so mult doesn't overflow uint32_t.</title>
<updated>2019-10-31T01:49:18+00:00</updated>
<author>
<name>Damien George</name>
</author>
<published>2019-10-31T01:49:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=9ec73aedb4fedafce93a018c26cfbc79686be34b'/>
<id>9ec73aedb4fedafce93a018c26cfbc79686be34b</id>
<content type='text'>
Fixes issue #5280.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes issue #5280.
</pre>
</div>
</content>
</entry>
<entry>
<title>tests/pyb: Update UART expected output now that default timeout is 0.</title>
<updated>2019-05-14T04:49:18+00:00</updated>
<author>
<name>Damien George</name>
</author>
<published>2019-05-14T04:49:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=38cb95710a97fe65e901043ff435d4e3a90530e4'/>
<id>38cb95710a97fe65e901043ff435d4e3a90530e4</id>
<content type='text'>
Follow up to commit 34942d0a72980173eca51b201f271f67bcae46b5
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Follow up to commit 34942d0a72980173eca51b201f271f67bcae46b5
</pre>
</div>
</content>
</entry>
<entry>
<title>stm32/uart: Add rxbuf keyword arg to UART constructor and init method.</title>
<updated>2018-12-05T02:24:11+00:00</updated>
<author>
<name>Damien George</name>
</author>
<published>2018-12-05T02:24:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=8007d0bd16e1007453c7c801345458db5d663e21'/>
<id>8007d0bd16e1007453c7c801345458db5d663e21</id>
<content type='text'>
As per the machine.UART documentation, this is used to set the length of
the RX buffer.  The legacy read_buf_len argument is retained for backwards
compatibility, with rxbuf overriding it if provided.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As per the machine.UART documentation, this is used to set the length of
the RX buffer.  The legacy read_buf_len argument is retained for backwards
compatibility, with rxbuf overriding it if provided.
</pre>
</div>
</content>
</entry>
<entry>
<title>stm32/uart: Always show the flow setting when printing a UART object.</title>
<updated>2018-12-04T08:16:16+00:00</updated>
<author>
<name>Damien George</name>
</author>
<published>2018-12-04T08:16:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=9262f541389d9dc3bb6e1ff06e00b8250b22b671'/>
<id>9262f541389d9dc3bb6e1ff06e00b8250b22b671</id>
<content type='text'>
Also change the order of printing of flow so it is after stop (so bits,
parity, stop are one after the other), and reduce code size by using
mp_print_str instead of mp_printf where possible.

See issue #1981.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also change the order of printing of flow so it is after stop (so bits,
parity, stop are one after the other), and reduce code size by using
mp_print_str instead of mp_printf where possible.

See issue #1981.
</pre>
</div>
</content>
</entry>
<entry>
<title>tests/pyb: Make i2c and pyb1 pyboard tests run again.</title>
<updated>2018-06-08T03:00:27+00:00</updated>
<author>
<name>Damien George</name>
</author>
<published>2018-06-08T03:00:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=a12d046c42dc7e786563f8247ed8aa8ac6e14a47'/>
<id>a12d046c42dc7e786563f8247ed8aa8ac6e14a47</id>
<content type='text'>
For i2c.py: the accelerometer now uses the new I2C driver so need to
explicitly init the legacy i2c object to get the test working.

For pyb1.py: the legacy pyb.hid() call will crash if the USB_HID object is
not initialised.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
For i2c.py: the accelerometer now uses the new I2C driver so need to
explicitly init the legacy i2c object to get the test working.

For pyb1.py: the legacy pyb.hid() call will crash if the USB_HID object is
not initialised.
</pre>
</div>
</content>
</entry>
<entry>
<title>tests/pyb: Update tests to run correctly on PYBv1.0.</title>
<updated>2018-05-02T05:25:37+00:00</updated>
<author>
<name>Damien George</name>
</author>
<published>2018-05-02T05:25:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=db2bdad8a2ed0814a64d0859fa6ea435a110d304'/>
<id>db2bdad8a2ed0814a64d0859fa6ea435a110d304</id>
<content type='text'>
In adcall.py the pyb module may not be imported, so use ADCAll directly.

In dac.py the DAC object now prints more info, so update .exp file.

In spi.py the SPI should be deinitialised upon exit, so the test can run a
second time correctly.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In adcall.py the pyb module may not be imported, so use ADCAll directly.

In dac.py the DAC object now prints more info, so update .exp file.

In spi.py the SPI should be deinitialised upon exit, so the test can run a
second time correctly.
</pre>
</div>
</content>
</entry>
<entry>
<title>tests/pyb: Add test for pyb.ADCAll class.</title>
<updated>2018-04-11T07:12:13+00:00</updated>
<author>
<name>Damien George</name>
</author>
<published>2018-04-11T07:12:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=d12483d93662d0aa1a421f4f8348c7e960c25183'/>
<id>d12483d93662d0aa1a421f4f8348c7e960c25183</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
