<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openmano-mpy/ports/esp8266, 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>esp8266/modules: Fix fs_corrupted() to use start_sec not START_SEC.</title>
<updated>2021-02-08T23:46:07+00:00</updated>
<author>
<name>Damien George</name>
</author>
<published>2021-02-08T23:42:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=c7aaee2b2ba0cb19d3b3deb6092e0bfe55d79052'/>
<id>c7aaee2b2ba0cb19d3b3deb6092e0bfe55d79052</id>
<content type='text'>
START_SEC was changed in e0905e85a7ad2961aa9192f6130565860e531ad3.

Also, update the error message to mention how to format the partition at
the REPL, and make the total message shorter to save a bit of flash.

Signed-off-by: Damien George &lt;damien@micropython.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
START_SEC was changed in e0905e85a7ad2961aa9192f6130565860e531ad3.

Also, update the error message to mention how to format the partition at
the REPL, and make the total message shorter to save a bit of flash.

Signed-off-by: Damien George &lt;damien@micropython.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>py/gc: Change include of stdint.h to stddef.h.</title>
<updated>2021-02-05T04:46:56+00:00</updated>
<author>
<name>Damien George</name>
</author>
<published>2021-02-05T04:45:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=9dedcf122d19c6b7452adb48ff5567509adfb073'/>
<id>9dedcf122d19c6b7452adb48ff5567509adfb073</id>
<content type='text'>
No std-int types are used in gc.h, but size_t is which needs stddef.h.

Signed-off-by: Damien George &lt;damien@micropython.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
No std-int types are used in gc.h, but size_t is which needs stddef.h.

Signed-off-by: Damien George &lt;damien@micropython.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ports: Remove def of MP_PLAT_PRINT_STRN if it's the same as the default.</title>
<updated>2021-02-04T11:39:17+00:00</updated>
<author>
<name>Damien George</name>
</author>
<published>2021-02-04T03:43:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=7c4435459261f1ea93577938b1ab281239d159e7'/>
<id>7c4435459261f1ea93577938b1ab281239d159e7</id>
<content type='text'>
To simplify config, there's no need to specify MP_PLAT_PRINT_STRN if it's
the same as the default definition in py/mpconfig.h.

Signed-off-by: Damien George &lt;damien@micropython.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
To simplify config, there's no need to specify MP_PLAT_PRINT_STRN if it's
the same as the default definition in py/mpconfig.h.

Signed-off-by: Damien George &lt;damien@micropython.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>py/gc: Don't include mpconfig.h and misc.h in gc.h.</title>
<updated>2021-02-04T11:37:26+00:00</updated>
<author>
<name>Xiang Xiao</name>
</author>
<published>2021-01-11T06:10:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=5fdf351178df9a18df624ae0f5947d8a5a6bce40'/>
<id>5fdf351178df9a18df624ae0f5947d8a5a6bce40</id>
<content type='text'>
Because gc.h doesn't reference any symbol from these header files.

Signed-off-by: Xiang Xiao &lt;xiaoxiang@xiaomi.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Because gc.h doesn't reference any symbol from these header files.

Signed-off-by: Xiang Xiao &lt;xiaoxiang@xiaomi.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>esp8266/modules/neopixel.py: Add timing param to NeoPixel constructor.</title>
<updated>2021-01-30T03:35:54+00:00</updated>
<author>
<name>Christopher Tse</name>
</author>
<published>2021-01-26T09:28:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=5c37e76e4f27cf3553adb67947c0a8e0a5500591'/>
<id>5c37e76e4f27cf3553adb67947c0a8e0a5500591</id>
<content type='text'>
This matches the esp32 port.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This matches the esp32 port.
</pre>
</div>
</content>
</entry>
<entry>
<title>esp32,esp8266: Remove "FAT" from warning message in inisetup.py.</title>
<updated>2020-11-18T05:26:19+00:00</updated>
<author>
<name>robert</name>
</author>
<published>2020-11-16T19:51:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=5af3c046c7bfc1108094e53aea8b612c2ff86fd4'/>
<id>5af3c046c7bfc1108094e53aea8b612c2ff86fd4</id>
<content type='text'>
Because FAT is not any more the only filesystem used.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Because FAT is not any more the only filesystem used.
</pre>
</div>
</content>
</entry>
<entry>
<title>esp8266/mpconfigport.h: Seed the urandom module on import.</title>
<updated>2020-10-29T03:12:44+00:00</updated>
<author>
<name>robert</name>
</author>
<published>2020-08-23T10:12:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=057193e855ca0b5873191c327184052765781ddf'/>
<id>057193e855ca0b5873191c327184052765781ddf</id>
<content type='text'>
For seeding, the hardware RNG of the esp8266 is used.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
For seeding, the hardware RNG of the esp8266 is used.
</pre>
</div>
</content>
</entry>
<entry>
<title>extmod/utime_mphal: Add generic utime.time_ns() function.</title>
<updated>2020-10-01T04:20:42+00:00</updated>
<author>
<name>Damien George</name>
</author>
<published>2020-09-24T02:37:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=d4b61b00172ccc231307e3ef33f66f28cb6b051f'/>
<id>d4b61b00172ccc231307e3ef33f66f28cb6b051f</id>
<content type='text'>
It requires mp_hal_time_ns() to be provided by a port.  This function
allows very accurate absolute timestamps.

Enabled on unix, windows, stm32, esp8266 and esp32.

Signed-off-by: Damien George &lt;damien@micropython.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It requires mp_hal_time_ns() to be provided by a port.  This function
allows very accurate absolute timestamps.

Enabled on unix, windows, stm32, esp8266 and esp32.

Signed-off-by: Damien George &lt;damien@micropython.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ports: Support legacy soft I2C/SPI construction via id=-1 arg.</title>
<updated>2020-10-01T02:57:10+00:00</updated>
<author>
<name>Damien George</name>
</author>
<published>2020-09-25T04:47:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=71f3ade770fa7f2637d94f5ba5840b64a16a95db'/>
<id>71f3ade770fa7f2637d94f5ba5840b64a16a95db</id>
<content type='text'>
With a warning that this way of constructing software I2C/SPI is
deprecated.  The check and warning will be removed in a future release.

This should help existing code to migrate to the new SoftI2C/SoftSPI types.

Signed-off-by: Damien George &lt;damien@micropython.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
With a warning that this way of constructing software I2C/SPI is
deprecated.  The check and warning will be removed in a future release.

This should help existing code to migrate to the new SoftI2C/SoftSPI types.

Signed-off-by: Damien George &lt;damien@micropython.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ports: Add SoftI2C and SoftSPI to machine module where appropriate.</title>
<updated>2020-10-01T02:57:10+00:00</updated>
<author>
<name>Damien George</name>
</author>
<published>2020-09-16T04:09:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=39d50d129ce428858332523548f0594503d0f45b'/>
<id>39d50d129ce428858332523548f0594503d0f45b</id>
<content type='text'>
Previous commits removed the ability for one I2C/SPI constructor to
construct both software- or hardware-based peripheral instances.  Such
construction is now split to explicit soft and non-soft types.

This commit makes both types available in all ports that previously could
create both software and hardware peripherals: machine.I2C and machine.SPI
construct hardware instances, while machine.SoftI2C and machine.SoftSPI
create software instances.

This is a breaking change for use of software-based I2C and SPI.  Code that
constructed I2C/SPI peripherals in the following way will need to be
changed:

    machine.I2C(-1, ...)            -&gt;  machine.SoftI2C(...)
    machine.I2C(scl=scl, sda=sda)   -&gt;  machine.SoftI2C(scl=scl, sda=sda)

    machine.SPI(-1, ...)            -&gt;  machine.SoftSPI(...)
    machine.SPI(sck=sck, mosi=mosi, miso=miso)
                        -&gt;  machine.SoftSPI(sck=sck, mosi=mosi, miso=miso)

Code which uses machine.I2C and machine.SPI classes to access hardware
peripherals does not need to change.

Signed-off-by: Damien George &lt;damien@micropython.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previous commits removed the ability for one I2C/SPI constructor to
construct both software- or hardware-based peripheral instances.  Such
construction is now split to explicit soft and non-soft types.

This commit makes both types available in all ports that previously could
create both software and hardware peripherals: machine.I2C and machine.SPI
construct hardware instances, while machine.SoftI2C and machine.SoftSPI
create software instances.

This is a breaking change for use of software-based I2C and SPI.  Code that
constructed I2C/SPI peripherals in the following way will need to be
changed:

    machine.I2C(-1, ...)            -&gt;  machine.SoftI2C(...)
    machine.I2C(scl=scl, sda=sda)   -&gt;  machine.SoftI2C(scl=scl, sda=sda)

    machine.SPI(-1, ...)            -&gt;  machine.SoftSPI(...)
    machine.SPI(sck=sck, mosi=mosi, miso=miso)
                        -&gt;  machine.SoftSPI(sck=sck, mosi=mosi, miso=miso)

Code which uses machine.I2C and machine.SPI classes to access hardware
peripherals does not need to change.

Signed-off-by: Damien George &lt;damien@micropython.org&gt;
</pre>
</div>
</content>
</entry>
</feed>
