<?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[Pure Micro Python without Ui-Flow on my M5Stack core2]]></title><description><![CDATA[<p dir="auto">Hello friends,<br />
I just want to make myself pure Micro Python without Ui-Flow on my M5Stack core2.<br />
(Program otherwise with MS code and the Pycom-WipY modules).</p>
<p dir="auto">(I absolutely need Blueetooth!)<br />
Which Micro Python version do I need to use for this?<br />
(Downloadlink?)<br />
Where can I get the latest lib for M5Stack-Core2?<br />
(Downloadlink?)<br />
How do I integrate the Lib for M5Stack-Core2 then?</p>
<p dir="auto">Why isn't there an option with the M5Stack burner to do it right away with Micro Python only, without Ui-Flow?<br />
Who can help me further?</p>
<p dir="auto">Translated with <a href="http://www.DeepL.com/Translator" target="_blank" rel="noopener noreferrer nofollow ugc">www.DeepL.com/Translator</a> (free version)</p>
]]></description><link>https://community.m5stack.com/topic/2601/pure-micro-python-without-ui-flow-on-my-m5stack-core2</link><generator>RSS for Node</generator><lastBuildDate>Mon, 16 Mar 2026 08:28:08 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/2601.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 15 Dec 2020 10:41:41 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Pure Micro Python without Ui-Flow on my M5Stack core2 on Sat, 15 Oct 2022 14:06:51 GMT]]></title><description><![CDATA[<p dir="auto">Is it possible to use m5stack_ui here?<br />
How do it?</p>
]]></description><link>https://community.m5stack.com/post/18972</link><guid isPermaLink="true">https://community.m5stack.com/post/18972</guid><dc:creator><![CDATA[Snufkin1514]]></dc:creator><pubDate>Sat, 15 Oct 2022 14:06:51 GMT</pubDate></item><item><title><![CDATA[Reply to Pure Micro Python without Ui-Flow on my M5Stack core2 on Tue, 05 Jul 2022 14:00:35 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/21121">@purpledread</a></p>
<p dir="auto">Never mind. As simple Python code.</p>
<p dir="auto">Thanks!</p>
]]></description><link>https://community.m5stack.com/post/17915</link><guid isPermaLink="true">https://community.m5stack.com/post/17915</guid><dc:creator><![CDATA[purpledread]]></dc:creator><pubDate>Tue, 05 Jul 2022 14:00:35 GMT</pubDate></item><item><title><![CDATA[Reply to Pure Micro Python without Ui-Flow on my M5Stack core2 on Tue, 05 Jul 2022 03:40:55 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/6143">@dhed</a></p>
<p dir="auto">Sorry for the newbe questions. You've been a big help.</p>
<p dir="auto">When you say you load files to ram from the <a href="http://boot.py" target="_blank" rel="noopener noreferrer nofollow ugc">boot.py</a> file, how do you access that ram from the <a href="http://main.py" target="_blank" rel="noopener noreferrer nofollow ugc">main.py</a> file?</p>
]]></description><link>https://community.m5stack.com/post/17910</link><guid isPermaLink="true">https://community.m5stack.com/post/17910</guid><dc:creator><![CDATA[purpledread]]></dc:creator><pubDate>Tue, 05 Jul 2022 03:40:55 GMT</pubDate></item><item><title><![CDATA[Reply to Pure Micro Python without Ui-Flow on my M5Stack core2 on Tue, 28 Jun 2022 03:58:36 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/6143">@dhed</a></p>
<p dir="auto">I'm trying to read from the SD card on startup and then use the display.</p>
<p dir="auto">If I access the sd card, the program runs with no errors, but nothing displays.</p>
<p dir="auto">I tried initializing the display  using the example you gave, but I get an error that there isn't enough DMA-able memory to allocate the display buffer.</p>
<p dir="auto">/Chris</p>
]]></description><link>https://community.m5stack.com/post/17827</link><guid isPermaLink="true">https://community.m5stack.com/post/17827</guid><dc:creator><![CDATA[purpledread]]></dc:creator><pubDate>Tue, 28 Jun 2022 03:58:36 GMT</pubDate></item><item><title><![CDATA[Reply to Pure Micro Python without Ui-Flow on my M5Stack core2 on Fri, 17 Jun 2022 22:15:38 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/6143">@dhed</a></p>
<p dir="auto">Actually, ampy is working fairly well.</p>
<p dir="auto">Thanks,<br />
/Chris</p>
]]></description><link>https://community.m5stack.com/post/17746</link><guid isPermaLink="true">https://community.m5stack.com/post/17746</guid><dc:creator><![CDATA[purpledread]]></dc:creator><pubDate>Fri, 17 Jun 2022 22:15:38 GMT</pubDate></item><item><title><![CDATA[Reply to Pure Micro Python without Ui-Flow on my M5Stack core2 on Sun, 12 Jun 2022 18:17:13 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/21121">@purpledread</a><br />
I'm using VSCode with the PyMakr extension (see <a href="https://lemariva.com/blog/2018/12/micropython-visual-studio-code-as-ide" target="_blank" rel="noopener noreferrer nofollow ugc">LeMaRiva's blog</a> for install-instructions).<br />
Nice IDE with integrated serial-console for REPL and up-/downloading of files.</p>
<p dir="auto">But I guess any serial-console (i.E. <a href="https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html" target="_blank" rel="noopener noreferrer nofollow ugc">PuTTY</a>) should allow you to see error messages.<br />
Also check <a href="http://micropython.org" target="_blank" rel="noopener noreferrer nofollow ugc">micropython.org</a> for instructions to get a <a href="http://docs.micropython.org/en/latest/zephyr/tutorial/repl.html" target="_blank" rel="noopener noreferrer nofollow ugc">REPL over the serial port</a>.</p>
]]></description><link>https://community.m5stack.com/post/17711</link><guid isPermaLink="true">https://community.m5stack.com/post/17711</guid><dc:creator><![CDATA[dhed]]></dc:creator><pubDate>Sun, 12 Jun 2022 18:17:13 GMT</pubDate></item><item><title><![CDATA[Reply to Pure Micro Python without Ui-Flow on my M5Stack core2 on Sun, 12 Jun 2022 04:52:50 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/6143">@dhed</a></p>
<p dir="auto">That's all working now, including using ampy to copy files and run code.</p>
<p dir="auto">I'm use to using Mu Editor with my other ESP32 boards.</p>
<p dir="auto">Is there some way to run Python code and get back error messages if there is an issue in the code?</p>
<p dir="auto">Thanks!<br />
/Chris</p>
]]></description><link>https://community.m5stack.com/post/17708</link><guid isPermaLink="true">https://community.m5stack.com/post/17708</guid><dc:creator><![CDATA[purpledread]]></dc:creator><pubDate>Sun, 12 Jun 2022 04:52:50 GMT</pubDate></item><item><title><![CDATA[Reply to Pure Micro Python without Ui-Flow on my M5Stack core2 on Sun, 12 Jun 2022 04:07:16 GMT]]></title><description><![CDATA[<p dir="auto">Thanks, the new upload link worked.</p>
<p dir="auto">/Chris</p>
]]></description><link>https://community.m5stack.com/post/17707</link><guid isPermaLink="true">https://community.m5stack.com/post/17707</guid><dc:creator><![CDATA[purpledread]]></dc:creator><pubDate>Sun, 12 Jun 2022 04:07:16 GMT</pubDate></item><item><title><![CDATA[Reply to Pure Micro Python without Ui-Flow on my M5Stack core2 on Mon, 06 Jun 2022 10:00:58 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/21121">@purpledread</a> That link still works for me, but <a href="https://gofile.io/d/1jEhJr" target="_blank" rel="noopener noreferrer nofollow ugc">here</a> it is uploaded to an alternative.</p>
]]></description><link>https://community.m5stack.com/post/17661</link><guid isPermaLink="true">https://community.m5stack.com/post/17661</guid><dc:creator><![CDATA[dhed]]></dc:creator><pubDate>Mon, 06 Jun 2022 10:00:58 GMT</pubDate></item><item><title><![CDATA[Reply to Pure Micro Python without Ui-Flow on my M5Stack core2 on Mon, 06 Jun 2022 03:34:30 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/6143">@dhed</a></p>
<p dir="auto">I tried to get your compiled firmware, but that ZippyShare site keeps trying to download other things and I can't get it to download your file.</p>
<p dir="auto">Thanks,<br />
/Chris</p>
]]></description><link>https://community.m5stack.com/post/17654</link><guid isPermaLink="true">https://community.m5stack.com/post/17654</guid><dc:creator><![CDATA[purpledread]]></dc:creator><pubDate>Mon, 06 Jun 2022 03:34:30 GMT</pubDate></item><item><title><![CDATA[Reply to Pure Micro Python without Ui-Flow on my M5Stack core2 on Wed, 01 Sep 2021 18:03:18 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/7960">@favnec5</a> Here is another Micropython port for the Core2. Already thried that with my core2: <a href="https://github.com/thuehlinger/micropython-core2" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/thuehlinger/micropython-core2</a></p>
<p dir="auto">Another note: you do not need to use another firmware, you can use Micropython directly by just not using uiflow. See my repo <a href="https://github.com/hjgode/m5home" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/hjgode/m5home</a> within the lv dir: lv_test.py<br />
Be warned, the LV Binding is not very well documented and often only links to the C API.</p>
]]></description><link>https://community.m5stack.com/post/14785</link><guid isPermaLink="true">https://community.m5stack.com/post/14785</guid><dc:creator><![CDATA[Josef]]></dc:creator><pubDate>Wed, 01 Sep 2021 18:03:18 GMT</pubDate></item><item><title><![CDATA[Reply to Pure Micro Python without Ui-Flow on my M5Stack core2 on Mon, 30 Aug 2021 19:09:57 GMT]]></title><description><![CDATA[<p dir="auto">Hi, the problem is, for me, that i need to write files to the sdCard like a datalogger. I think old lobo’s version do the job but not lv_micropython… <a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/1">@m5stack</a> : official pure m5stack needed to use the core 2 functionalities OR hidden start menu version of uiflow.</p>
]]></description><link>https://community.m5stack.com/post/14764</link><guid isPermaLink="true">https://community.m5stack.com/post/14764</guid><dc:creator><![CDATA[favnec5]]></dc:creator><pubDate>Mon, 30 Aug 2021 19:09:57 GMT</pubDate></item><item><title><![CDATA[Reply to Pure Micro Python without Ui-Flow on my M5Stack core2 on Mon, 30 Aug 2021 16:53:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/7960">@favnec5</a><br />
My workaround for this (known) problem:</p>
<ol>
<li>during boot mount the sdcard and load files to ram</li>
<li>then unmout the sdcard</li>
<li>initialize the display</li>
</ol>
<p dir="auto">something like:</p>
<pre><code>import uos
from machine import Pin, SDCard

sdcard = SDCard(slot=2, sck=Pin(18), miso=Pin(38), mosi=Pin(23),  cs=Pin(4), freq=40000000)
uos.mount(sdcard, '/sd')
...
uos.umount('/sd')
sdcard.deinit()
</code></pre>
<p dir="auto"><strong>before</strong> initializing the display:</p>
<pre><code>from ili9XXX import ili9341
lcd = ili9341(spihost=1, mosi=23, miso=38, clk=18, dc=15, cs=5, invert=True, rot=0xC0, width=320, height=240, rst=-1, power=-1, backlight=-1)
</code></pre>
<p dir="auto">I'm loading weathericons to use with <a href="https://openweathermap.org/" target="_blank" rel="noopener noreferrer nofollow ugc">openweathermap</a> that way.</p>
]]></description><link>https://community.m5stack.com/post/14763</link><guid isPermaLink="true">https://community.m5stack.com/post/14763</guid><dc:creator><![CDATA[dhed]]></dc:creator><pubDate>Mon, 30 Aug 2021 16:53:51 GMT</pubDate></item><item><title><![CDATA[Reply to Pure Micro Python without Ui-Flow on my M5Stack core2 on Sun, 29 Aug 2021 12:31:03 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/6143">@dhed</a><br />
Hi, thank you for your firmware.<br />
I try lot of things. There is a problem to use SDCard with display driver a the same SPI.  SDCard is down :-/<br />
Do you know this problem ?</p>
]]></description><link>https://community.m5stack.com/post/14755</link><guid isPermaLink="true">https://community.m5stack.com/post/14755</guid><dc:creator><![CDATA[favnec5]]></dc:creator><pubDate>Sun, 29 Aug 2021 12:31:03 GMT</pubDate></item><item><title><![CDATA[Reply to Pure Micro Python without Ui-Flow on my M5Stack core2 on Thu, 19 Aug 2021 19:02:17 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/7960">@favnec5</a> said in <a href="/post/14684">Pure Micro Python without Ui-Flow on my M5Stack core2</a>:</p>
<blockquote>
<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/6143">@dhed</a><br />
hi Dhed, is it possible for you to share the last bin pure lv_micropython firmware for M5CORE ?<br />
it's been several days i 'm trying to compile it but i'm a win64 user... it's hard for me.</p>
</blockquote>
<p dir="auto">Here's my compiled firmware: <a href="https://www71.zippyshare.com/v/7nLBIXMK/file.html" target="_blank" rel="noopener noreferrer nofollow ugc">zippyshare-link</a>.<br />
Should be flashable with:</p>
<pre><code>esptool.py --chip esp32 -p COM3 -b 460800 erase_flash
esptool.py -p COM3 -b 460800 --before default_reset --after hard_reset write_flash --flash_mode dio --flash_freq 80m --flash_size 16MB 0x8000 partition-table.bin 0x1000 bootloader.bin 0x10000 micropython.bin
</code></pre>
<p dir="auto">(flashing works even under Windows with the <a href="https://docs.espressif.com/projects/esp-idf/en/v4.0.2/get-started/windows-setup.html" target="_blank" rel="noopener noreferrer nofollow ugc">ESP-IDF toolchain</a> installed)</p>
]]></description><link>https://community.m5stack.com/post/14685</link><guid isPermaLink="true">https://community.m5stack.com/post/14685</guid><dc:creator><![CDATA[dhed]]></dc:creator><pubDate>Thu, 19 Aug 2021 19:02:17 GMT</pubDate></item><item><title><![CDATA[Reply to Pure Micro Python without Ui-Flow on my M5Stack core2 on Thu, 19 Aug 2021 15:18:31 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/6143">@dhed</a><br />
hi Dhed, is it possible for you to share the last bin pure lv_micropython firmware for M5CORE ?<br />
it's been several days i 'm trying to compile it but i'm a win64 user... it's hard for me.</p>
]]></description><link>https://community.m5stack.com/post/14684</link><guid isPermaLink="true">https://community.m5stack.com/post/14684</guid><dc:creator><![CDATA[favnec5]]></dc:creator><pubDate>Thu, 19 Aug 2021 15:18:31 GMT</pubDate></item><item><title><![CDATA[Reply to Pure Micro Python without Ui-Flow on my M5Stack core2 on Fri, 06 Aug 2021 21:51:13 GMT]]></title><description><![CDATA[<p dir="auto">The latest <a href="https://github.com/lvgl/lv_micropython/" target="_blank" rel="noopener noreferrer nofollow ugc">lv_micropython</a> can be built for the 'M5CORE2'-board.<br />
(I used ESP-IDF v4.0.2 on Ubuntu 20.04)</p>
<p dir="auto">Stuff I tested successfully on my M5Core2:</p>
<ul>
<li>display with lvgl widgets</li>
<li>touchscreen</li>
<li>WLAN</li>
<li>RTC</li>
<li>SDCard (read)</li>
</ul>
<p dir="auto">Might be interesting for people searching pure Micropython + lvgl on the Core2.</p>
]]></description><link>https://community.m5stack.com/post/14591</link><guid isPermaLink="true">https://community.m5stack.com/post/14591</guid><dc:creator><![CDATA[dhed]]></dc:creator><pubDate>Fri, 06 Aug 2021 21:51:13 GMT</pubDate></item><item><title><![CDATA[Reply to Pure Micro Python without Ui-Flow on my M5Stack core2 on Wed, 12 May 2021 13:55:56 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/700">@lukasmaximus</a><br />
Is it possible now to see the actual Micropython libs?<br />
For example is it possible to see the code of the libs to see how the function for the cor2 touch screen work etc?</p>
]]></description><link>https://community.m5stack.com/post/13769</link><guid isPermaLink="true">https://community.m5stack.com/post/13769</guid><dc:creator><![CDATA[fruplot]]></dc:creator><pubDate>Wed, 12 May 2021 13:55:56 GMT</pubDate></item><item><title><![CDATA[Reply to Pure Micro Python without Ui-Flow on my M5Stack core2 on Sun, 20 Dec 2020 23:31:18 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/2129">@Wolli01</a> as for the M5 Basic you can refer to my video <a href="https://www.youtube.com/watch?v=GPRNUCBTVy4" target="_blank" rel="noopener noreferrer nofollow ugc">https://www.youtube.com/watch?v=GPRNUCBTVy4</a> As for M5Core2 I cant tell you as I haven't got round to testing pure micropython on this device. If the screen is not displaying anything are you sure you have a micropython driver in the flash and have initialized the screen in your code?</p>
]]></description><link>https://community.m5stack.com/post/11313</link><guid isPermaLink="true">https://community.m5stack.com/post/11313</guid><dc:creator><![CDATA[lukasmaximus]]></dc:creator><pubDate>Sun, 20 Dec 2020 23:31:18 GMT</pubDate></item><item><title><![CDATA[Reply to Pure Micro Python without Ui-Flow on my M5Stack core2 on Sat, 19 Dec 2020 09:56:04 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/700">@lukasmaximus</a><br />
<a href="http://micropython.org/download/esp32/" target="_blank" rel="noopener noreferrer nofollow ugc">http://micropython.org/download/esp32/</a><br />
Which file must be taken for the M5Stack Basic and for the Core 2? There are plenty of different ones.<br />
Do you have a small example to output the text hello in the <a href="http://main.py" target="_blank" rel="noopener noreferrer nofollow ugc">main.py</a>?<br />
The lib. Dateine I have downloaded all from your GitHub account and installed under the lib folder.<br />
I've been trying for hours but the screen always stays blank.  It would be nice if you could help.</p>
<p dir="auto">Translated with <a href="http://www.DeepL.com/Translator" target="_blank" rel="noopener noreferrer nofollow ugc">www.DeepL.com/Translator</a> (free version)</p>
]]></description><link>https://community.m5stack.com/post/11287</link><guid isPermaLink="true">https://community.m5stack.com/post/11287</guid><dc:creator><![CDATA[Wolli01]]></dc:creator><pubDate>Sat, 19 Dec 2020 09:56:04 GMT</pubDate></item><item><title><![CDATA[Reply to Pure Micro Python without Ui-Flow on my M5Stack core2 on Wed, 16 Dec 2020 06:21:37 GMT]]></title><description><![CDATA[<p dir="auto">Thanks for the info.</p>
]]></description><link>https://community.m5stack.com/post/11227</link><guid isPermaLink="true">https://community.m5stack.com/post/11227</guid><dc:creator><![CDATA[Wolli01]]></dc:creator><pubDate>Wed, 16 Dec 2020 06:21:37 GMT</pubDate></item><item><title><![CDATA[Reply to Pure Micro Python without Ui-Flow on my M5Stack core2 on Tue, 15 Dec 2020 23:51:34 GMT]]></title><description><![CDATA[<p dir="auto">Hey <a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/2129">@Wolli01</a> unfortunately this option isn't available right now but you can take a look into it yourself if you have the know how, the screen of m5core2 uses littlevgl library which has been ported to micropython <a href="https://github.com/lvgl/lv_binding_micropython" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/lvgl/lv_binding_micropython</a> for the micropython firmware you can just go to <a href="http://micropython.org" target="_blank" rel="noopener noreferrer nofollow ugc">micropython.org</a> and download one of the firmwares for generic esp32. As for the various modules there has never been an official github with these available, I have one for mpu6886 and axp on my personal <a href="https://github.com/lukasmaximus89/M5Stick-C-Micropython-1.12" target="_blank" rel="noopener noreferrer nofollow ugc">github</a> which should work though. I'm afraid this is going to be like a jigsaw puzzle, piecing various resources together to create the firmware you want</p>
]]></description><link>https://community.m5stack.com/post/11226</link><guid isPermaLink="true">https://community.m5stack.com/post/11226</guid><dc:creator><![CDATA[lukasmaximus]]></dc:creator><pubDate>Tue, 15 Dec 2020 23:51:34 GMT</pubDate></item></channel></rss>