<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openmano-mpy/mpy-cross, 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>all: Rename BYTES_PER_WORD to MP_BYTES_PER_OBJ_WORD.</title>
<updated>2021-02-04T11:46:42+00:00</updated>
<author>
<name>Damien George</name>
</author>
<published>2021-02-04T05:39:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=ad4656b861f94277bed9647ca176e662ce5119e3'/>
<id>ad4656b861f94277bed9647ca176e662ce5119e3</id>
<content type='text'>
The "word" referred to by BYTES_PER_WORD is actually the size of mp_obj_t
which is not always the same as the size of a pointer on the target
architecture.  So rename this config value to better reflect what it
measures, and also prefix it with MP_.

For uses of BYTES_PER_WORD in setting the stack limit this has been
changed to sizeof(void *), because the stack usually grows with
machine-word sized values (eg an nlr_buf_t has many machine words in it).

Signed-off-by: Damien George &lt;damien@micropython.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The "word" referred to by BYTES_PER_WORD is actually the size of mp_obj_t
which is not always the same as the size of a pointer on the target
architecture.  So rename this config value to better reflect what it
measures, and also prefix it with MP_.

For uses of BYTES_PER_WORD in setting the stack limit this has been
changed to sizeof(void *), because the stack usually grows with
machine-word sized values (eg an nlr_buf_t has many machine words in it).

Signed-off-by: Damien George &lt;damien@micropython.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>py/persistentcode: Introduce MICROPY_PERSISTENT_CODE_SAVE_FILE option.</title>
<updated>2021-01-30T04:13:24+00:00</updated>
<author>
<name>David CARLIER</name>
</author>
<published>2021-01-16T20:48:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=cb30928ac8da931f905d1c14468498d21108933a'/>
<id>cb30928ac8da931f905d1c14468498d21108933a</id>
<content type='text'>
This should be enabled when the mp_raw_code_save_file function is needed.

It is enabled for mpy-cross, and a check for defined(__APPLE__) is added to
cover Mac M1 systems.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This should be enabled when the mp_raw_code_save_file function is needed.

It is enabled for mpy-cross, and a check for defined(__APPLE__) is added to
cover Mac M1 systems.
</pre>
</div>
</content>
</entry>
<entry>
<title>mpy-cross: Enable more warnings.</title>
<updated>2020-10-22T09:54:11+00:00</updated>
<author>
<name>Emil Renner Berthing</name>
</author>
<published>2020-10-03T09:29:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=bef412789ea93c521bd9c2dddc22b9b3484da574'/>
<id>bef412789ea93c521bd9c2dddc22b9b3484da574</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>all: Fix auto-enable of MICROPY_GCREGS_SETJMP to select GC behaviour.</title>
<updated>2020-04-30T06:49:42+00:00</updated>
<author>
<name>Damien George</name>
</author>
<published>2020-04-30T02:30:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=5c8bf12acf3d4cc4cebf971a6f61508559a28143'/>
<id>5c8bf12acf3d4cc4cebf971a6f61508559a28143</id>
<content type='text'>
Only enable it if MICROPY_GCREGS_SETJMP is not already defined, and no
supported architecture is defined.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Only enable it if MICROPY_GCREGS_SETJMP is not already defined, and no
supported architecture is defined.
</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: Format code to add space after C++-style comment start.</title>
<updated>2020-04-23T01:24:25+00:00</updated>
<author>
<name>stijn</name>
</author>
<published>2020-04-16T07:13:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=84fa3312cfa7d2237d4b56952f2cd6e3591210c4'/>
<id>84fa3312cfa7d2237d4b56952f2cd6e3591210c4</id>
<content type='text'>
Note: the uncrustify configuration is explicitly set to 'add' instead of
'force' in order not to alter the comments which use extra spaces after //
as a means of indenting text for clarity.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Note: the uncrustify configuration is explicitly set to 'add' instead of
'force' in order not to alter the comments which use extra spaces after //
as a means of indenting text for clarity.
</pre>
</div>
</content>
</entry>
<entry>
<title>mpy-cross/main: Print uncaught nlr jump to stderr.</title>
<updated>2020-04-16T06:22:25+00:00</updated>
<author>
<name>David Lechner</name>
</author>
<published>2020-04-13T17:29:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=6943fb60fea1c9ce40e7c62d1a17f306fea730d2'/>
<id>6943fb60fea1c9ce40e7c62d1a17f306fea730d2</id>
<content type='text'>
This is to be consistent with the same change in the unix port,
4ab8bee82f7d095c10c624de93da12a7aa1af8fd.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is to be consistent with the same change in the unix port,
4ab8bee82f7d095c10c624de93da12a7aa1af8fd.
</pre>
</div>
</content>
</entry>
<entry>
<title>mpy-cross/main: Fix stderr_print_strn parameter type.</title>
<updated>2020-04-16T06:18:13+00:00</updated>
<author>
<name>David Lechner</name>
</author>
<published>2020-04-13T17:26:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=803e5eadea2e22360d1107b50290b54aa7c3afb7'/>
<id>803e5eadea2e22360d1107b50290b54aa7c3afb7</id>
<content type='text'>
Change mp_uint_t to size_t to match the mp_print_strn_t function prototype.
This fixes a compiler warning when mp_uint_t and size_t are not the same
size.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change mp_uint_t to size_t to match the mp_print_strn_t function prototype.
This fixes a compiler warning when mp_uint_t and size_t are not the same
size.
</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>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>
</feed>
