<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[m5ez for micropython 1&#x2F;?]]></title><description><![CDATA[<p dir="auto"><strong>Step 1:</strong> Build Micropython on Windows 10 <strong>DONE</strong></p>
<ul>
<li>
<p dir="auto">GIVEN Ubuntu Linux Subsystem</p>
</li>
<li>
<p dir="auto">AND dependent packages / python /pip (see wiki by loboris)</p>
</li>
<li>
<p dir="auto">AND M5fire serial port connected on COM1 (/dev/ttyS1)</p>
</li>
<li>
<p dir="auto">AND user has access to serial port</p>
</li>
<li>
<p dir="auto">AND git repositories from loboris (optional) and M5Stack</p>
</li>
<li>
<p dir="auto">WHEN ./BUILD.sh menuconfig</p>
</li>
<li>
<p dir="auto">AND ./BUILD.sh -j4</p>
</li>
<li>
<p dir="auto">AND ./BUILD.sh --port /dev/ttyS1 flash</p>
</li>
<li>
<p dir="auto">AND reset M5fire</p>
</li>
<li>
<p dir="auto">AND ./BUILD.sh --port /dev/ttyS1 monitor</p>
</li>
<li>
<p dir="auto">THEN bootup messages (TODO)</p>
</li>
<li>
<p dir="auto">AND python REPL active</p>
</li>
<li>
<p dir="auto">AND M5stack module (via help(modules)</p>
</li>
</ul>
<p dir="auto">OPEN:</p>
<ul>
<li>startup errors (<a href="http://boot.py/main.py?" target="_blank" rel="noopener noreferrer nofollow ugc">boot.py/main.py?</a>)</li>
<li>no ui with menu config</li>
</ul>
<p dir="auto"><em>Step 2:</em> Add a simple C/INO module with python access <strong>OPEN</strong></p>
<p dir="auto">![questions](Bild Link) and comments welcome</p>
]]></description><link>https://community.m5stack.com/topic/506/m5ez-for-micropython-1</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 01:47:27 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/506.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 13 Jan 2019 08:56:30 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to m5ez for micropython 1&#x2F;? on Mon, 28 Jan 2019 01:59:17 GMT]]></title><description><![CDATA[<p dir="auto">nice work, looking forward to try it out when it's ready</p>
]]></description><link>https://community.m5stack.com/post/2739</link><guid isPermaLink="true">https://community.m5stack.com/post/2739</guid><dc:creator><![CDATA[lukasmaximus]]></dc:creator><pubDate>Mon, 28 Jan 2019 01:59:17 GMT</pubDate></item><item><title><![CDATA[Reply to m5ez for micropython 1&#x2F;? on Sun, 27 Jan 2019 21:26:39 GMT]]></title><description><![CDATA[<h4>update</h4>
<p dir="auto">I am still working on the module integration - got one answers to my help issue on github repo from loboris</p>
<ul>
<li>
<p dir="auto"><a href="https://github.com/vrubel/MicroPython_ESP32_psRAM_LoBo/commit/57227919ffa93f426fb21212a5d949ea92f2d9f5" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/vrubel/MicroPython_ESP32_psRAM_LoBo/commit/57227919ffa93f426fb21212a5d949ea92f2d9f5</a></p>
</li>
<li>
<p dir="auto">Add a define NEW_MODULE to menuconfig (MicroPython_BUILD/components/micropython/Kconfig.projbuild)</p>
</li>
<li>
<p dir="auto">Add a ifdef guard with your DEFINE NEW_MODULE  to the micropython makefile ( MicroPython_BUILD/components/micropython/component.mk)</p>
</li>
<li>
<p dir="auto">write your sourcecode (MicroPython_BUILD/components/micropython/esp32/new_module.c)</p>
</li>
</ul>
<p dir="auto">Kconfig.projbuild</p>
<pre><code>   config MICROPY_USE_NEW_MODULE 
            bool "Use NEW_MODULE "
            default y
            help
                Include source from new_model.c into build 

</code></pre>
<p dir="auto"><a href="http://component.mk" target="_blank" rel="noopener noreferrer nofollow ugc">component.mk</a></p>
<pre><code>ifdef MICROPY_USE_NEW_MODULE 
SRC_C += esp32/new_module.c
endif
</code></pre>
<p dir="auto">mpconfigport.h</p>
<pre><code>#ifdef MICROPY_USE_NEW_MODULE 
extern const struct _mp_obj_module_t mp_module_new_module;
#define BUILTIN_MODULE_NEW_MODULE { MP_OBJ_NEW_QSTR(MP_QSTR_indicator), (mp_obj_t)&amp;mp_module_new_module},
#else
#define BUILTIN_MODULE_NEW_MODULE
#endif
...

#define MICROPY_PORT_BUILTIN_MODULES \
...
      BUILTIN_MODULE_NEW_MODULE \

</code></pre>
]]></description><link>https://community.m5stack.com/post/2738</link><guid isPermaLink="true">https://community.m5stack.com/post/2738</guid><dc:creator><![CDATA[felix42eu]]></dc:creator><pubDate>Sun, 27 Jan 2019 21:26:39 GMT</pubDate></item></channel></rss>