<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openmano-mpy/examples/usercmodule/cppexample, 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>examples/usercmodules: Simplify user C module enabling.</title>
<updated>2021-04-01T05:27:38+00:00</updated>
<author>
<name>Damien George</name>
</author>
<published>2021-03-30T13:45:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=d87f42b0e53829052f17955ba1e17f938ae486fb'/>
<id>d87f42b0e53829052f17955ba1e17f938ae486fb</id>
<content type='text'>
It's a bit of a pitfall with user C modules that including them in the
build does not automatically enable them.  This commit changes the docs and
examples for user C modules to encourage writers of user C modules to
enable them unconditionally.  This makes things simpler and covers most use
cases.

See discussion in issue #6960, and also #7086.

Signed-off-by: Damien George &lt;damien@micropython.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It's a bit of a pitfall with user C modules that including them in the
build does not automatically enable them.  This commit changes the docs and
examples for user C modules to encourage writers of user C modules to
enable them unconditionally.  This makes things simpler and covers most use
cases.

See discussion in issue #6960, and also #7086.

Signed-off-by: Damien George &lt;damien@micropython.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>examples/usercmodule: Add micropython.cmake to the C and CPP examples.</title>
<updated>2021-03-30T13:27:46+00:00</updated>
<author>
<name>Phil Howard</name>
</author>
<published>2021-02-23T23:06:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=cc497d4c6a7bbf491fbc57b9447632bddff8d566'/>
<id>cc497d4c6a7bbf491fbc57b9447632bddff8d566</id>
<content type='text'>
examples/usercmodule/micropython.cmake:

Root micropython.cmake file is responsible for including modules.

examples/usercmodule/cexample/micropython.cmake:
examples/usercmodule/cppexample/micropython.cmake:

Module micropython.cmake files define the target and link it to usermod.

Signed-off-by: Phil Howard &lt;phil@pimoroni.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
examples/usercmodule/micropython.cmake:

Root micropython.cmake file is responsible for including modules.

examples/usercmodule/cexample/micropython.cmake:
examples/usercmodule/cppexample/micropython.cmake:

Module micropython.cmake files define the target and link it to usermod.

Signed-off-by: Phil Howard &lt;phil@pimoroni.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>examples: Add example code for user C modules, both C and C++.</title>
<updated>2020-10-29T04:30:42+00:00</updated>
<author>
<name>stijn</name>
</author>
<published>2020-10-21T09:13:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=25c4563f26c2270cde01b01dca0e8b801c9c8282'/>
<id>25c4563f26c2270cde01b01dca0e8b801c9c8282</id>
<content type='text'>
Add working example code to provide a starting point for users with files
that they can just copy, and include the modules in the coverage test to
verify the complete user C module build functionality.  The cexample module
uses the code originally found in cmodules.rst, which has been updated to
reflect this and partially rewritten with more complete information.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add working example code to provide a starting point for users with files
that they can just copy, and include the modules in the coverage test to
verify the complete user C module build functionality.  The cexample module
uses the code originally found in cmodules.rst, which has been updated to
reflect this and partially rewritten with more complete information.
</pre>
</div>
</content>
</entry>
</feed>
