<?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[Serial2 Don&#x27;t compile]]></title><description><![CDATA[<p dir="auto">I have recently changed to using <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> in the boards manager now any application using serial2 wont comple. I get an error Error compiling for board M5Stack-Core-ESP32.</p>
<p dir="auto">Thanks</p>
<p dir="auto">David Ardis</p>
]]></description><link>https://community.m5stack.com/topic/324/serial2-don-t-compile</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Mar 2026 08:18:24 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/324.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 15 Sep 2018 19:38:15 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Serial2 Don&#x27;t compile on Mon, 17 Sep 2018 18:03:03 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/324">@nnn</a> 在 <a href="/post/1550">Serial2 Don't compile</a> 中说：</p>
<blockquote>
<p dir="auto">HardwareSerial Serial2_(2)</p>
</blockquote>
<p dir="auto">Thanks</p>
<p dir="auto">That worked for me</p>
<p dir="auto">David Ardis</p>
]]></description><link>https://community.m5stack.com/post/1551</link><guid isPermaLink="true">https://community.m5stack.com/post/1551</guid><dc:creator><![CDATA[ardisd]]></dc:creator><pubDate>Mon, 17 Sep 2018 18:03:03 GMT</pubDate></item><item><title><![CDATA[Reply to Serial2 Don&#x27;t compile on Mon, 17 Sep 2018 13:09:07 GMT]]></title><description><![CDATA[<p dir="auto">I got the same problem.<br />
I changed the rename of Serial2 and fixed it.</p>
<p dir="auto">HardwareSerial Serial2(2);<br />
→HardwareSerial Serial2_(2);</p>
]]></description><link>https://community.m5stack.com/post/1550</link><guid isPermaLink="true">https://community.m5stack.com/post/1550</guid><dc:creator><![CDATA[nnn]]></dc:creator><pubDate>Mon, 17 Sep 2018 13:09:07 GMT</pubDate></item><item><title><![CDATA[Reply to Serial2 Don&#x27;t compile on Sun, 16 Sep 2018 18:11:28 GMT]]></title><description><![CDATA[<p dir="auto">Just the standard serial2 sketch</p>
<p dir="auto">#include &lt;M5Stack.h&gt;</p>
<p dir="auto">HardwareSerial Serial2(2);</p>
<p dir="auto">void setup() {</p>
<p dir="auto">M5.begin();</p>
<p dir="auto">Serial.begin(115200);</p>
<p dir="auto">// Serial2.begin(unsigned long baud, uint32_t config, int8_t rxPin, int8_t txPin, bool invert)<br />
Serial2.begin(115200, SERIAL_8N1, 16, 17);<br />
}</p>
<p dir="auto">void loop() {</p>
<p dir="auto">if(Serial.available()) {<br />
int ch = Serial.read();<br />
Serial2.write(ch);<br />
}</p>
<p dir="auto">if(Serial2.available()) {<br />
int ch = Serial2.read();<br />
Serial.write(ch);<br />
}<br />
}</p>
]]></description><link>https://community.m5stack.com/post/1548</link><guid isPermaLink="true">https://community.m5stack.com/post/1548</guid><dc:creator><![CDATA[ardisd]]></dc:creator><pubDate>Sun, 16 Sep 2018 18:11:28 GMT</pubDate></item><item><title><![CDATA[Reply to Serial2 Don&#x27;t compile on Sun, 16 Sep 2018 15:45:27 GMT]]></title><description><![CDATA[<p dir="auto">I first thought is to tell you to Backup and delete the SD folders in dropbox and<br />
C:\programfiles(x86)\Arduino\Librarys\SD<br />
and then try again.</p>
<p dir="auto">Can I see your source code?</p>
]]></description><link>https://community.m5stack.com/post/1547</link><guid isPermaLink="true">https://community.m5stack.com/post/1547</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Sun, 16 Sep 2018 15:45:27 GMT</pubDate></item><item><title><![CDATA[Reply to Serial2 Don&#x27;t compile on Sun, 16 Sep 2018 15:41:42 GMT]]></title><description><![CDATA[<p dir="auto">Upgraded to 1.8.7 was on 1.8.5</p>
<p dir="auto">This is the error now</p>
<p dir="auto"><img src="/assets/uploads/files/1537112498718-capture-resized.jpg" alt="0_1537112496486_Capture.JPG" class=" img-fluid img-markdown" /></p>
]]></description><link>https://community.m5stack.com/post/1546</link><guid isPermaLink="true">https://community.m5stack.com/post/1546</guid><dc:creator><![CDATA[ardisd]]></dc:creator><pubDate>Sun, 16 Sep 2018 15:41:42 GMT</pubDate></item><item><title><![CDATA[Reply to Serial2 Don&#x27;t compile on Sun, 16 Sep 2018 12:40:09 GMT]]></title><description><![CDATA[<p dir="auto">Are you running arduino 1.8.7?<br />
Thats not all the error.</p>
]]></description><link>https://community.m5stack.com/post/1544</link><guid isPermaLink="true">https://community.m5stack.com/post/1544</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Sun, 16 Sep 2018 12:40:09 GMT</pubDate></item><item><title><![CDATA[Reply to Serial2 Don&#x27;t compile on Sun, 16 Sep 2018 11:28:29 GMT]]></title><description><![CDATA[<p dir="auto">Enclosed screen shot as requested</p>
<p dir="auto">I get the same error when compiling Serial2.ino and my own code</p>
<p dir="auto"><img src="/assets/uploads/files/1537097251081-capture-resized.jpg" alt="0_1537097249952_Capture.JPG" class=" img-fluid img-markdown" /></p>
]]></description><link>https://community.m5stack.com/post/1543</link><guid isPermaLink="true">https://community.m5stack.com/post/1543</guid><dc:creator><![CDATA[ardisd]]></dc:creator><pubDate>Sun, 16 Sep 2018 11:28:29 GMT</pubDate></item><item><title><![CDATA[Reply to Serial2 Don&#x27;t compile on Sun, 16 Sep 2018 09:28:50 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/458">@ardisd</a> Can you post a screenshot of the error ouput from arduino?</p>
]]></description><link>https://community.m5stack.com/post/1541</link><guid isPermaLink="true">https://community.m5stack.com/post/1541</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Sun, 16 Sep 2018 09:28:50 GMT</pubDate></item></channel></rss>