<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openmano-mpy/ports/samd, 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>samd/mphalport: Fix USB CDC tx handling to work reliably.</title>
<updated>2021-02-12T03:09:01+00:00</updated>
<author>
<name>Damien George</name>
</author>
<published>2021-02-12T03:09:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=ede6b86a08ea3a749e1785c5263723c875b08359'/>
<id>ede6b86a08ea3a749e1785c5263723c875b08359</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>ports: Update to build with new tinyusb.</title>
<updated>2021-02-12T01:50:36+00:00</updated>
<author>
<name>Damien George</name>
</author>
<published>2021-02-08T12:47:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=035d16126ac2e4ea9b9c1c33a15104cd952897a1'/>
<id>035d16126ac2e4ea9b9c1c33a15104cd952897a1</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>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>ports: Use correct in/out endpoint size in TUD_CDC_DESCRIPTOR.</title>
<updated>2020-10-17T04:49:16+00:00</updated>
<author>
<name>Damien George</name>
</author>
<published>2020-10-13T00:06:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=18518e26a7a92345fdcf8ad79e4c8b3a753f2d06'/>
<id>18518e26a7a92345fdcf8ad79e4c8b3a753f2d06</id>
<content type='text'>
The last argument of TUD_CDC_DESCRIPTOR() is the endpoint size (or
wMaxPacketSize), not the CDC RX buffer size (which can be larger than the
endpoint size).

Signed-off-by: Damien George &lt;damien@micropython.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The last argument of TUD_CDC_DESCRIPTOR() is the endpoint size (or
wMaxPacketSize), not the CDC RX buffer size (which can be larger than the
endpoint size).

Signed-off-by: Damien George &lt;damien@micropython.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>all: Factor gchelper code to one place and use it for unix &amp; ARM ports.</title>
<updated>2020-04-29T13:45:19+00:00</updated>
<author>
<name>Jim Mussared</name>
</author>
<published>2020-04-23T06:12:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=710426024aece6d248c26bef6627bc3fac13f612'/>
<id>710426024aece6d248c26bef6627bc3fac13f612</id>
<content type='text'>
No functionality change is intended with this commit, it just consolidates
the separate implementations of GC helper code to the lib/utils/ directory
as a general set of helper functions useful for any port.  This reduces
duplication of code, and makes it easier for future ports or embedders to
get the GC implementation correct.

Ports should now link against gchelper_native.c and either gchelper_m0.s or
gchelper_m3.s (currently only Cortex-M is supported but other architectures
can follow), or use the fallback gchelper_generic.c which will work on
x86/x64/ARM.

The gc_helper_get_sp function from gchelper_m3.s is not really GC related
and was only used by cc3200, so it has been moved to that port and renamed
to cortex_m3_get_sp.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
No functionality change is intended with this commit, it just consolidates
the separate implementations of GC helper code to the lib/utils/ directory
as a general set of helper functions useful for any port.  This reduces
duplication of code, and makes it easier for future ports or embedders to
get the GC implementation correct.

Ports should now link against gchelper_native.c and either gchelper_m0.s or
gchelper_m3.s (currently only Cortex-M is supported but other architectures
can follow), or use the fallback gchelper_generic.c which will work on
x86/x64/ARM.

The gc_helper_get_sp function from gchelper_m3.s is not really GC related
and was only used by cc3200, so it has been moved to that port and renamed
to cortex_m3_get_sp.
</pre>
</div>
</content>
</entry>
<entry>
<title>all: Remove spaces inside and around parenthesis.</title>
<updated>2020-03-28T12:36:44+00:00</updated>
<author>
<name>Damien George</name>
</author>
<published>2020-03-26T13:35:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=1a3e386c67e03a79eb768cb6e9f6777e002d6660'/>
<id>1a3e386c67e03a79eb768cb6e9f6777e002d6660</id>
<content type='text'>
Using new options enabled in the uncrustify configuration.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Using new options enabled in the uncrustify configuration.
</pre>
</div>
</content>
</entry>
<entry>
<title>samd: Fix to build with latest tinyusb.</title>
<updated>2020-03-11T04:34:10+00:00</updated>
<author>
<name>Jim Mussared</name>
</author>
<published>2020-01-15T03:15:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=211032a5c9a2807bc596c95bac575082badf730d'/>
<id>211032a5c9a2807bc596c95bac575082badf730d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</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>all: Add *FORMAT-OFF* in various places.</title>
<updated>2020-02-27T23:31:07+00:00</updated>
<author>
<name>Damien George</name>
</author>
<published>2020-02-26T00:58:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=3f39d18c2b884d32f0443e2e8114ff9d7a14d718'/>
<id>3f39d18c2b884d32f0443e2e8114ff9d7a14d718</id>
<content type='text'>
This string is recognised by uncrustify, to disable formatting in the
region marked by these comments.  This is necessary in the qstrdef*.h files
to prevent modification of the strings within the Q(...).  In other places
it is used to prevent excessive reformatting that would make the code less
readable.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This string is recognised by uncrustify, to disable formatting in the
region marked by these comments.  This is necessary in the qstrdef*.h files
to prevent modification of the strings within the Q(...).  In other places
it is used to prevent excessive reformatting that would make the code less
readable.
</pre>
</div>
</content>
</entry>
<entry>
<title>py/scheduler: Move clearing of kbd traceback to mp_keyboard_interrupt.</title>
<updated>2020-02-07T05:08:31+00:00</updated>
<author>
<name>Damien George</name>
</author>
<published>2020-02-07T01:30:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=abe2caf6df4cc98e540d9c05b4f2bce14cdedfa4'/>
<id>abe2caf6df4cc98e540d9c05b4f2bce14cdedfa4</id>
<content type='text'>
This is a more logical place to clear the KeyboardInterrupt traceback,
right before it is set as a pending exception.  The clearing is also
optimised from a function call to a simple store of NULL.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is a more logical place to clear the KeyboardInterrupt traceback,
right before it is set as a pending exception.  The clearing is also
optimised from a function call to a simple store of NULL.
</pre>
</div>
</content>
</entry>
</feed>
