<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openmano-mpy/drivers, 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>drivers/sdcard: Add sleep_ms(1) delay in SDCard.readinto sync loop.</title>
<updated>2021-04-23T13:44:37+00:00</updated>
<author>
<name>Damien George</name>
</author>
<published>2021-04-23T13:44:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=a1bc32d8a8fbb09bc04c2ca07b10475f7ddde8c3'/>
<id>a1bc32d8a8fbb09bc04c2ca07b10475f7ddde8c3</id>
<content type='text'>
So this driver works on faster MCUs (that run this loop fast) with older,
slower SD cards.

Fixes issue #7129.

Signed-off-by: Damien George &lt;damien@micropython.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
So this driver works on faster MCUs (that run this loop fast) with older,
slower SD cards.

Fixes issue #7129.

Signed-off-by: Damien George &lt;damien@micropython.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>drivers/memory/spiflash: Add MICROPY_HW_SPIFLASH_ENABLE_CACHE option.</title>
<updated>2020-12-18T02:39:32+00:00</updated>
<author>
<name>Damien George</name>
</author>
<published>2020-12-17T05:59:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=e43a74a4db484ac1bfef191a8aa19b58b519efc6'/>
<id>e43a74a4db484ac1bfef191a8aa19b58b519efc6</id>
<content type='text'>
This only needs to be enabled if a board uses FAT FS on external SPI flash.
When disabled (and using external SPI flash) 4k of RAM can be saved.

Signed-off-by: Damien George &lt;damien@micropython.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This only needs to be enabled if a board uses FAT FS on external SPI flash.
When disabled (and using external SPI flash) 4k of RAM can be saved.

Signed-off-by: Damien George &lt;damien@micropython.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>extmod/modbluetooth: Refactor stack/hci/driver/port bindings.</title>
<updated>2020-09-08T01:41:31+00:00</updated>
<author>
<name>Jim Mussared</name>
</author>
<published>2020-08-14T05:43:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=ed14435a8e6199b845c3404a9052f9ff4213292c'/>
<id>ed14435a8e6199b845c3404a9052f9ff4213292c</id>
<content type='text'>
Previously the interaction between the different layers of the Bluetooth
stack was different on each port and each stack.  This commit defines
common interfaces between them and implements them for cyw43, btstack,
nimble, stm32, unix.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously the interaction between the different layers of the Bluetooth
stack was different on each port and each stack.  This commit defines
common interfaces between them and implements them for cyw43, btstack,
nimble, stm32, unix.
</pre>
</div>
</content>
</entry>
<entry>
<title>all: Rename "sys" module to "usys".</title>
<updated>2020-09-03T14:10:24+00:00</updated>
<author>
<name>stijn</name>
</author>
<published>2020-06-18T09:19:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=40ad8f1666b265dafc7844d765f45cfae4b6299f'/>
<id>40ad8f1666b265dafc7844d765f45cfae4b6299f</id>
<content type='text'>
This is consistent with the other 'micro' modules and allows implementing
additional features in Python via e.g. micropython-lib's sys.

Note this is a breaking change (not backwards compatible) for ports which
do not enable weak links, as "import sys" must now be replaced with
"import usys".
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is consistent with the other 'micro' modules and allows implementing
additional features in Python via e.g. micropython-lib's sys.

Note this is a breaking change (not backwards compatible) for ports which
do not enable weak links, as "import sys" must now be replaced with
"import usys".
</pre>
</div>
</content>
</entry>
<entry>
<title>drivers/display/ssd1306.py: Change the SET_COM_PIN_CFG setting.</title>
<updated>2020-04-07T03:42:37+00:00</updated>
<author>
<name>robert-hh</name>
</author>
<published>2020-03-29T08:58:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=8680a745956ad948d83fe845931f75c814a23c70'/>
<id>8680a745956ad948d83fe845931f75c814a23c70</id>
<content type='text'>
Making it more specific to use 0x02 for display with an aspect ratio &gt; 2
(resolutions 96x16 and 128x32) and 0x12 for all other sizes as recommended
by @mcauser.  Tested with a 64x32 display which did not work before.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Making it more specific to use 0x02 for display with an aspect ratio &gt; 2
(resolutions 96x16 and 128x32) and 0x12 for all other sizes as recommended
by @mcauser.  Tested with a 64x32 display which did not work before.
</pre>
</div>
</content>
</entry>
<entry>
<title>all: Use MP_ERROR_TEXT for all error messages.</title>
<updated>2020-04-05T05:02:06+00:00</updated>
<author>
<name>Jim Mussared</name>
</author>
<published>2020-03-02T11:35:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=def76fe4d9bbc2c342594dc05861b24d7165d274'/>
<id>def76fe4d9bbc2c342594dc05861b24d7165d274</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>drivers/onewire: Fix undefined variable errors.</title>
<updated>2020-03-24T14:09:14+00:00</updated>
<author>
<name>Andreas Motl</name>
</author>
<published>2020-03-23T03:07:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=fbfea3b44007a2186468a57b0a27062d1060085d'/>
<id>fbfea3b44007a2186468a57b0a27062d1060085d</id>
<content type='text'>
On CPython, and with pylint, the variables MATCH_ROM and SEARCH_ROM are
undefined.  This code works in MicroPython because these variables are
constants and the MicroPython parser/compiler optimises them out.  But it
is not valid Python because they are technically undefined within the scope
they are used.

This commit makes the code valid Python code.  The const part is removed
completely because these constants are part of the public API and so cannot
be moved to the global scope (where they could still use the MicroPython
const optimisation).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
On CPython, and with pylint, the variables MATCH_ROM and SEARCH_ROM are
undefined.  This code works in MicroPython because these variables are
constants and the MicroPython parser/compiler optimises them out.  But it
is not valid Python because they are technically undefined within the scope
they are used.

This commit makes the code valid Python code.  The const part is removed
completely because these constants are part of the public API and so cannot
be moved to the global scope (where they could still use the MicroPython
const optimisation).
</pre>
</div>
</content>
</entry>
<entry>
<title>stm32: Refactor bluetooth stack/hci/driver bindings.</title>
<updated>2020-03-09T14:53:42+00:00</updated>
<author>
<name>Damien George</name>
</author>
<published>2020-02-20T03:35:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=894c550c866211c9f176875d40c15fcf3bf74149'/>
<id>894c550c866211c9f176875d40c15fcf3bf74149</id>
<content type='text'>
This makes a cleaner separation between the: driver, HCI UART and BT stack.
Also updated the naming to be more consistent (mp_bluetooth_hci_*).

Work done in collaboration with Jim Mussared aka @jimmo.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This makes a cleaner separation between the: driver, HCI UART and BT stack.
Also updated the naming to be more consistent (mp_bluetooth_hci_*).

Work done in collaboration with Jim Mussared aka @jimmo.
</pre>
</div>
</content>
</entry>
<entry>
<title>all: Reformat C and Python source code with tools/codeformat.py.</title>
<updated>2020-02-27T23:33:03+00:00</updated>
<author>
<name>Damien George</name>
</author>
<published>2020-02-27T04:36:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=69661f3343bedf86e514337cff63d96cc42f8859'/>
<id>69661f3343bedf86e514337cff63d96cc42f8859</id>
<content type='text'>
This is run with uncrustify 0.70.1, and black 19.10b0.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is run with uncrustify 0.70.1, and black 19.10b0.
</pre>
</div>
</content>
</entry>
<entry>
<title>drivers/nrf24l01: Change pipe addrs in test to match Arduino addrs.</title>
<updated>2020-02-16T12:26:34+00:00</updated>
<author>
<name>Peter Hinch</name>
</author>
<published>2020-02-11T06:31:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=d2f22ea9531ee7e61d3e3c8b818797fd3e947b01'/>
<id>d2f22ea9531ee7e61d3e3c8b818797fd3e947b01</id>
<content type='text'>
These addresses were initially chosen to match the nRF24 Arduino library
examples but they are byte-reversed.  So change them to be on-air
compatible with the Arduino library.

Also, the data sheet for the nRF24 says that RX data pipes 1-5 must share
the same top 32-bits, and must differ only in the LSbyte.  The addresses
used here (while correct because they are on TX pipe and RX pipe 0) are
misleading in this sense, because it looks like they were chosen to share
the top 32-bits per the datasheet.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These addresses were initially chosen to match the nRF24 Arduino library
examples but they are byte-reversed.  So change them to be on-air
compatible with the Arduino library.

Also, the data sheet for the nRF24 says that RX data pipes 1-5 must share
the same top 32-bits, and must differ only in the LSbyte.  The addresses
used here (while correct because they are on TX pipe and RX pipe 0) are
misleading in this sense, because it looks like they were chosen to share
the top 32-bits per the datasheet.
</pre>
</div>
</content>
</entry>
</feed>
