<?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[Error compiling examples]]></title><description><![CDATA[<p dir="auto">I'm currently exploring the world of Zigbee and got the sample code here:<br />
<a href="https://github.com/m5stack/M5Stack/tree/master/examples/Unit/Zigbee_CC2630/P2P_TEST" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/m5stack/M5Stack/tree/master/examples/Unit/Zigbee_CC2630/P2P_TEST</a></p>
<p dir="auto">Although when I try to compile it in Arduino I get this error:</p>
<pre><code>In file included from /Users/z/Documents/Arduino/libraries/M5Stack/src/M5Display.h:8,
                 from /Users/z/Documents/Arduino/libraries/M5Stack/src/M5Stack.h:111,
                 from /Users/z/IdeaProjects/poc/M5Stack/examples/Unit/Zigbee_CC2630/P2P_TEST/P2P_TEST.ino:17:
/Users/z/Documents/Arduino/libraries/M5Stack/src/utility/In_eSPI.h:560:21: error: 'VSPI' was not declared in this scope
     uint8_t  port = VSPI;
                     ^~~~
/Users/z/Documents/Arduino/libraries/M5Stack/src/utility/In_eSPI.h:560:21: note: suggested alternative: 'SPI'
     uint8_t  port = VSPI;
                     ^~~~
                     SPI

exit status 1</code></pre>
]]></description><link>https://community.m5stack.com/topic/5152/error-compiling-examples</link><generator>RSS for Node</generator><lastBuildDate>Sat, 07 Mar 2026 00:29:59 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/5152.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 25 Mar 2023 00:24:25 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Error compiling examples on Mon, 27 Mar 2023 10:51:52 GMT]]></title><description><![CDATA[<p dir="auto">Thanks for the tip <a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/1997">@flypeek</a></p>
<p dir="auto">I checked with my Hello World code and this worked.</p>
<p dir="auto">I did not expect the AtomS3 to be that different to the original AtomMatrix. However I just confirmed if I change the "board" to just <code>M5Stack-Atom</code> all the original code compiles.</p>
<p dir="auto">I would have expected big changes if we referred to the ESP32-C3 with the new RISC architecture, but the S3 was fairly similar I thought.</p>
<p dir="auto">I presume it has a new board definition due to the LCD screen on the AtomS3. If I can get the Zigbee unit working nicely, I might port the example over and post up a PR in the AtomS3 library.</p>
<p dir="auto">Many thanks again <a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/1997">@flypeek</a> you have unblocked me and I can keep moving forward (I hope).</p>
]]></description><link>https://community.m5stack.com/post/20456</link><guid isPermaLink="true">https://community.m5stack.com/post/20456</guid><dc:creator><![CDATA[Exie]]></dc:creator><pubDate>Mon, 27 Mar 2023 10:51:52 GMT</pubDate></item><item><title><![CDATA[Reply to Error compiling examples on Mon, 27 Mar 2023 10:17:24 GMT]]></title><description><![CDATA[<p dir="auto">you can see examples<br />
#include &lt;M5AtomS3.h&gt;  not  #include "M5Stack.h"</p>
]]></description><link>https://community.m5stack.com/post/20455</link><guid isPermaLink="true">https://community.m5stack.com/post/20455</guid><dc:creator><![CDATA[flypeek]]></dc:creator><pubDate>Mon, 27 Mar 2023 10:17:24 GMT</pubDate></item><item><title><![CDATA[Reply to Error compiling examples on Mon, 27 Mar 2023 06:06:11 GMT]]></title><description><![CDATA[<p dir="auto">By way of a follow up, I'm inclined to suggest the M5Stack library 0.4.2 is broken.</p>
<pre><code>#include "M5Stack.h"

void setup() {
  // put your setup code here, to run once:
  printf("Hello World");
}

void loop() {
  // put your main code here, to run repeatedly:

}
</code></pre>
<p dir="auto">Still produces the same exception above:</p>
<pre><code>In file included from /Users/z/Documents/Arduino/libraries/M5Stack/src/M5Display.h:8,
                 from /Users/z/Documents/Arduino/libraries/M5Stack/src/M5Stack.h:111,
                 from /Users/z/Documents/Arduino/M5Stack_Hello/M5Stack_Hello.ino:1:
/Users/z/Documents/Arduino/libraries/M5Stack/src/utility/In_eSPI.h:633:20: error: 'VSPI' was not declared in this scope
     uint8_t port = VSPI;
                    ^~~~
/Users/z/Documents/Arduino/libraries/M5Stack/src/utility/In_eSPI.h:633:20: note: suggested alternative: 'SPI'
     uint8_t port = VSPI;
                    ^~~~
                    SPI

exit status 1
</code></pre>
<p dir="auto">This is using Arduino IDE 2.0.4 trying to compile for <code>M5Stack-AtomS3</code> board</p>
]]></description><link>https://community.m5stack.com/post/20454</link><guid isPermaLink="true">https://community.m5stack.com/post/20454</guid><dc:creator><![CDATA[Exie]]></dc:creator><pubDate>Mon, 27 Mar 2023 06:06:11 GMT</pubDate></item></channel></rss>