<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openmano-mpy/extmod, 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>extmod/uasyncio: Use .errno instead of .args[0] for OSError exceptions.</title>
<updated>2021-04-23T12:03:46+00:00</updated>
<author>
<name>Damien George</name>
</author>
<published>2021-04-20T07:12:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=342d55529d6f3312fc158d7af005f56d5e30adef'/>
<id>342d55529d6f3312fc158d7af005f56d5e30adef</id>
<content type='text'>
Signed-off-by: Damien George &lt;damien@micropython.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Damien George &lt;damien@micropython.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>extmod/extmod.cmake: Add support to build btree module with CMake.</title>
<updated>2021-04-09T03:33:26+00:00</updated>
<author>
<name>Damien George</name>
</author>
<published>2021-04-08T13:45:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=212fe7f33e7427899ee245cda5ab1776b38a79e2'/>
<id>212fe7f33e7427899ee245cda5ab1776b38a79e2</id>
<content type='text'>
Signed-off-by: Damien George &lt;damien@micropython.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Damien George &lt;damien@micropython.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>extmod/re1.5: Check and report byte overflow errors in _compilecode.</title>
<updated>2021-04-06T03:36:42+00:00</updated>
<author>
<name>Jeff Epler</name>
</author>
<published>2021-03-28T00:19:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=172fb5230a3943eeb6fbbb4de1dc56b16e2a7637'/>
<id>172fb5230a3943eeb6fbbb4de1dc56b16e2a7637</id>
<content type='text'>
The generated regex code is limited in the range of jumps and counts, and
this commit checks all cases which can overflow given the right kind of
input regex, and returns an error in such a case.

This change assumes that the results that overflow an int8_t do not
overflow a platform int.

Closes: #7078

Signed-off-by: Jeff Epler &lt;jepler@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The generated regex code is limited in the range of jumps and counts, and
this commit checks all cases which can overflow given the right kind of
input regex, and returns an error in such a case.

This change assumes that the results that overflow an int8_t do not
overflow a platform int.

Closes: #7078

Signed-off-by: Jeff Epler &lt;jepler@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>extmod/modbluetooth: Free temp arrays in gatts register services.</title>
<updated>2021-03-16T02:55:45+00:00</updated>
<author>
<name>Damien George</name>
</author>
<published>2021-03-16T01:40:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=2b888aa2f346b52b16fbefbea6a2d9d8085d8ff1'/>
<id>2b888aa2f346b52b16fbefbea6a2d9d8085d8ff1</id>
<content type='text'>
This helps to reduce memory fragmentation, by freeing the heap data as soon
as it is not needed.  It also helps the compiler keeps a reference to the
beginning of both arrays, which need to be traceable by the GC (otherwise
some compilers may optimise this reference to something else).

Signed-off-by: Damien George &lt;damien@micropython.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This helps to reduce memory fragmentation, by freeing the heap data as soon
as it is not needed.  It also helps the compiler keeps a reference to the
beginning of both arrays, which need to be traceable by the GC (otherwise
some compilers may optimise this reference to something else).

Signed-off-by: Damien George &lt;damien@micropython.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>extmod/extmod.cmake: Add modonewire.c to MICROPY_SOURCE_EXTMOD list.</title>
<updated>2021-03-14T04:51:28+00:00</updated>
<author>
<name>Damien George</name>
</author>
<published>2021-03-14T04:51:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=eccd73a403aef5b41368752b1d11d95e005bdc4b'/>
<id>eccd73a403aef5b41368752b1d11d95e005bdc4b</id>
<content type='text'>
Signed-off-by: Damien George &lt;damien@micropython.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Damien George &lt;damien@micropython.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>extmod/modbluetooth: Separate enabling of "client" from "central".</title>
<updated>2021-02-19T06:53:43+00:00</updated>
<author>
<name>Jim Mussared</name>
</author>
<published>2021-02-19T03:47:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=a76604afba109d990e466cdcd5a69a82077a7f56'/>
<id>a76604afba109d990e466cdcd5a69a82077a7f56</id>
<content type='text'>
Previously, the MICROPY_PY_BLUETOOTH_ENABLE_CENTRAL_MODE macro
controlled enabling both the central mode and the GATT client
functionality (because usually the two go together).

This commits adds a new MICROPY_PY_BLUETOOTH_ENABLE_GATT_CLIENT
macro that separately enables the GATT client functionality.
This defaults to MICROPY_PY_BLUETOOTH_ENABLE_CENTRAL_MODE.

This also fixes a bug in the NimBLE bindings where a notification
or indication would not be received by a peripheral (acting as client)
as gap_event_cb wasn't handling it. Now both central_gap_event_cb
and peripheral_gap_event_cb share the same common handler for these
events.

Signed-off-by: Jim Mussared &lt;jim.mussared@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously, the MICROPY_PY_BLUETOOTH_ENABLE_CENTRAL_MODE macro
controlled enabling both the central mode and the GATT client
functionality (because usually the two go together).

This commits adds a new MICROPY_PY_BLUETOOTH_ENABLE_GATT_CLIENT
macro that separately enables the GATT client functionality.
This defaults to MICROPY_PY_BLUETOOTH_ENABLE_CENTRAL_MODE.

This also fixes a bug in the NimBLE bindings where a notification
or indication would not be received by a peripheral (acting as client)
as gap_event_cb wasn't handling it. Now both central_gap_event_cb
and peripheral_gap_event_cb share the same common handler for these
events.

Signed-off-by: Jim Mussared &lt;jim.mussared@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>extmod/btstack: Use MICROPY_HW_BLE_UART_BAUDRATE for first UART init.</title>
<updated>2021-02-17T05:06:56+00:00</updated>
<author>
<name>Damien George</name>
</author>
<published>2021-02-17T05:06:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=cf6a0158806b11c521b9c9f8a1104f577a78fe1e'/>
<id>cf6a0158806b11c521b9c9f8a1104f577a78fe1e</id>
<content type='text'>
Otherwise the UART may be left in a state at baudrate=0.

Signed-off-by: Damien George &lt;damien@micropython.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Otherwise the UART may be left in a state at baudrate=0.

Signed-off-by: Damien George &lt;damien@micropython.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>extmod/modussl: Fix ussl read/recv/send/write errors when non-blocking.</title>
<updated>2021-02-17T00:50:54+00:00</updated>
<author>
<name>Thorsten von Eicken</name>
</author>
<published>2020-04-02T17:01:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=2c1299b0071c2c528cc01e3cde9eb22743820176'/>
<id>2c1299b0071c2c528cc01e3cde9eb22743820176</id>
<content type='text'>
Also fix related problems with socket on esp32, improve docs for
wrap_socket, and add more tests.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also fix related problems with socket on esp32, improve docs for
wrap_socket, and add more tests.
</pre>
</div>
</content>
</entry>
<entry>
<title>extmod/modbluetooth: Allow NimBLE to use Zephyr static address.</title>
<updated>2021-02-17T00:25:02+00:00</updated>
<author>
<name>Jim Mussared</name>
</author>
<published>2021-02-12T03:33:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=4005138882757ae536482c1d105b28c9869ab8ce'/>
<id>4005138882757ae536482c1d105b28c9869ab8ce</id>
<content type='text'>
Zephyr controllers can be queried for a static address (computed from the
device ID).  BlueKitchen already supports this, but make them both use the
same macro to enable the feature.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Zephyr controllers can be queried for a static address (computed from the
device ID).  BlueKitchen already supports this, but make them both use the
same macro to enable the feature.
</pre>
</div>
</content>
</entry>
<entry>
<title>extmod/nimble/hal/hal_uart: Fix HCI_TRACE format specifiers.</title>
<updated>2021-02-17T00:24:48+00:00</updated>
<author>
<name>Jim Mussared</name>
</author>
<published>2021-02-12T03:31:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=236274f08fb51d36eba9cd0458483bd398bfed0a'/>
<id>236274f08fb51d36eba9cd0458483bd398bfed0a</id>
<content type='text'>
Makes this work consistently on unix and stm32 ports.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Makes this work consistently on unix and stm32 ports.
</pre>
</div>
</content>
</entry>
</feed>
