<?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[Arduino on linux with m5Stack]]></title><description><![CDATA[<p dir="auto">There are good how-to docs for Windows and OSX, but not for linux, so...</p>
<p dir="auto">Finally got around to starting to play with that m5stack thing I picked up at the last Maker Faire. Since my main system is linux Mint 19.1 I figured this would be straightforward.<br />
Not exactly. No docs for linux, so I'm on my own.</p>
<p dir="auto">So... since linux isn't supported (and the EasyLoader program is Windows-only) I've been carefully cobbling together a system to deal with it.</p>
<p dir="auto">The actual url to install in Additional Boards Manager URLs is<br />
<a href="https://dl.espressif.com/dl/package_esp32_index.json" target="_blank" rel="noopener noreferrer nofollow ugc">https://dl.espressif.com/dl/package_esp32_index.json</a></p>
<p dir="auto">There's a linux usb-to-serial driver here:<br />
<a href="https://docs.m5stack.com/#/en/quick_start/m5core/m5stack_core_get_started_MicroPython" target="_blank" rel="noopener noreferrer nofollow ugc">https://docs.m5stack.com/#/en/quick_start/m5core/m5stack_core_get_started_MicroPython</a></p>
<p dir="auto">After running make the file seems to compile properly.<br />
Then after reading the CP210x_VCP_Linux_4.x_Release_Notes.txt file I see I need to install the driver separately. Compiling and running the example file also seems to work properly using the port at /dev/ttyUSB0. So far so good.</p>
<p dir="auto">The M5Burner on that same web page does work, but I'm still having problems with the Arduino IDE. Compiling code errors out with the messages</p>
<p dir="auto">File "/home/mwieder/.arduino15/packages/esp32/tools/esptool_py/2.6.1/esptool.py", line 37, in &lt;module&gt;<br />
import serial<br />
ImportError: No module named serial<br />
Multiple libraries were found for "SD.h"<br />
Used: /home/mwieder/.arduino15/packages/esp32/hardware/esp32/1.0.2/libraries/SD<br />
Not used: /home/mwieder/Downloads/arduino-1.8.9/libraries/SD</p>
<p dir="auto">OK - turns out that enabling verbose debug messages in Preferences also shows</p>
<p dir="auto">Pyserial is not installed for /usr/bin/python. Check the README for installation instructions.Traceback (most recent call last):</p>
<p dir="auto">...and thus my introduction to python wheels. So downloading the latest pyserial wheel and then</p>
<p dir="auto">pip install wheel<br />
pip install pyserial-3.4-py2.py3-none-any.whl</p>
<p dir="auto">resulted in a successful compilation and upload in the Arduino IDE.</p>
<p dir="auto">Hope this helps someone out.</p>
]]></description><link>https://community.m5stack.com/topic/1112/arduino-on-linux-with-m5stack</link><generator>RSS for Node</generator><lastBuildDate>Sun, 08 Mar 2026 11:05:14 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/1112.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 29 Jun 2019 02:55:57 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Arduino on linux with m5Stack on Tue, 02 Jul 2019 04:49:13 GMT]]></title><description><![CDATA[<p dir="auto"><em>Scratches Head and gets a splinter</em><br />
Is the install creating the symlink device?<br />
Sometimes I had issues with hardware in ubuntu and raspbian and had to manually create the link which then links back to ttyUSB0.</p>
]]></description><link>https://community.m5stack.com/post/4749</link><guid isPermaLink="true">https://community.m5stack.com/post/4749</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Tue, 02 Jul 2019 04:49:13 GMT</pubDate></item><item><title><![CDATA[Reply to Arduino on linux with m5Stack on Tue, 02 Jul 2019 01:10:56 GMT]]></title><description><![CDATA[<p dir="auto">thanks @mweider and sorry you had to struggle so much. I've had a linux setup tutorial for uiflow I made a while ago which wasn't complete sitting around on my desktop for a while, some things are a little out of date on it but I'll try to get it up at some point for the sake of others.</p>
<p dir="auto">I wanted to check with you whether you had to add the device to the dialout group with this command:</p>
<p dir="auto"><code>sudo usermod -a -G dialout $USER</code></p>
<p dir="auto">I was told it was necessary, didn't work for me. Even though I had installed the drivers<br />
and run this command, I still had to chmod the /dev/tty directory before I could connect to the device over serial. Perhaps we could set up a seperate forum board specifically for linux users. What do you think?</p>
]]></description><link>https://community.m5stack.com/post/4741</link><guid isPermaLink="true">https://community.m5stack.com/post/4741</guid><dc:creator><![CDATA[lukasmaximus]]></dc:creator><pubDate>Tue, 02 Jul 2019 01:10:56 GMT</pubDate></item><item><title><![CDATA[Reply to Arduino on linux with m5Stack on Mon, 01 Jul 2019 19:07:32 GMT]]></title><description><![CDATA[<p dir="auto">Thank you so much !</p>
]]></description><link>https://community.m5stack.com/post/4740</link><guid isPermaLink="true">https://community.m5stack.com/post/4740</guid><dc:creator><![CDATA[Trackskills]]></dc:creator><pubDate>Mon, 01 Jul 2019 19:07:32 GMT</pubDate></item><item><title><![CDATA[Reply to Arduino on linux with m5Stack on Sat, 29 Jun 2019 06:47:01 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/1657">@mwieder</a> Thank you for shareing this.</p>
]]></description><link>https://community.m5stack.com/post/4724</link><guid isPermaLink="true">https://community.m5stack.com/post/4724</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Sat, 29 Jun 2019 06:47:01 GMT</pubDate></item></channel></rss>