<?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[LAN Module W5500 with POE Compilation error]]></title><description><![CDATA[<p dir="auto">I have seen this issue already in this forum. Also checked the internet and many people seem to face the same problem. Compilation of the example file offered by M5Stack : Webserver gives a compilation error : cannot declare variable 'Aserver' to be of abstract type 'EthernetServer'. I have tried using Ethernet.h as well as Ethernet2.h. Both give the same compilation error in Arduino IDE. If I compile the code for an Arduino MKR1010 (so without included M5Stack.h). Could anyone share a solution for this urgent problem? Many thanks. This is the code that give the problem. #include &lt;M5Stack.h&gt;<br />
#include &lt;SPI.h&gt;<br />
#include &lt;Ethernet.h&gt;</p>
<p dir="auto">EthernetServer server(80);</p>
]]></description><link>https://community.m5stack.com/topic/3068/lan-module-w5500-with-poe-compilation-error</link><generator>RSS for Node</generator><lastBuildDate>Fri, 15 May 2026 03:34:30 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/3068.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 11 Mar 2021 09:45:52 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to LAN Module W5500 with POE Compilation error on Thu, 15 Jul 2021 06:45:03 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/jvm" aria-label="Profile: jvm">@<bdi>jvm</bdi></a></p>
<p dir="auto">open the files <code>Ethernet.h</code> and <code>EthernetServer.cpp</code>, then search for the commented out lines and replace those.</p>
<p dir="auto">Since you are using an M5Core2 you'll also want to adapt the SPI pins as they are slightly different between M5Stack and M5Core2.</p>
<p dir="auto">M5Stack uses:</p>
<pre><code>#define SCK  18
#define MISO 19
#define MOSI 23
#define CS   26
</code></pre>
<p dir="auto">M5Core2 uses:</p>
<pre><code>#define SCK  18
#define MISO 38
#define MOSI 23
#define CS   26
</code></pre>
<p dir="auto">Please also refer to <a href="https://www.gwendesign.ch/kb/m5stack/m5core2/#m5core2-bus-and-gpios-compared-to-m5stack" target="_blank" rel="noopener noreferrer nofollow ugc">this GPIO comparison sheet</a> I've compiled a while ago.</p>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/14409</link><guid isPermaLink="true">https://community.m5stack.com/post/14409</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Thu, 15 Jul 2021 06:45:03 GMT</pubDate></item><item><title><![CDATA[Reply to LAN Module W5500 with POE Compilation error on Wed, 14 Jul 2021 12:01:53 GMT]]></title><description><![CDATA[<p dir="auto">How did you do it ? On which line did you add these lines of code  ?</p>
<p dir="auto">I am trying to run this example on a Core2 with the regular Lan module (non POE). I also tried the EasyLoader, but it doesn´t work on Core2.</p>
]]></description><link>https://community.m5stack.com/post/14404</link><guid isPermaLink="true">https://community.m5stack.com/post/14404</guid><dc:creator><![CDATA[jvm]]></dc:creator><pubDate>Wed, 14 Jul 2021 12:01:53 GMT</pubDate></item><item><title><![CDATA[Reply to LAN Module W5500 with POE Compilation error on Fri, 12 Mar 2021 11:47:28 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/happyuser" aria-label="Profile: HappyUser">@<bdi>HappyUser</bdi></a></p>
<p dir="auto">I am happy to hear that you are a happy user again.</p>
<p dir="auto">Cheers<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/12948</link><guid isPermaLink="true">https://community.m5stack.com/post/12948</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Fri, 12 Mar 2021 11:47:28 GMT</pubDate></item><item><title><![CDATA[Reply to LAN Module W5500 with POE Compilation error on Fri, 12 Mar 2021 11:46:06 GMT]]></title><description><![CDATA[<p dir="auto">Let me shout in big CAPITALS : this is solved. I am really grateful. What is wrong with me that it took me so long to find the correct source to solve this problem. Many thanks.</p>
]]></description><link>https://community.m5stack.com/post/12947</link><guid isPermaLink="true">https://community.m5stack.com/post/12947</guid><dc:creator><![CDATA[HappyUser]]></dc:creator><pubDate>Fri, 12 Mar 2021 11:46:06 GMT</pubDate></item><item><title><![CDATA[Reply to LAN Module W5500 with POE Compilation error on Fri, 12 Mar 2021 11:00:09 GMT]]></title><description><![CDATA[<p dir="auto">Thank you, that would be great. Can I use a standard TextEdit program to make these modifications?</p>
]]></description><link>https://community.m5stack.com/post/12944</link><guid isPermaLink="true">https://community.m5stack.com/post/12944</guid><dc:creator><![CDATA[HappyUser]]></dc:creator><pubDate>Fri, 12 Mar 2021 11:00:09 GMT</pubDate></item><item><title><![CDATA[Reply to LAN Module W5500 with POE Compilation error on Fri, 12 Mar 2021 10:43:43 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/happyuser" aria-label="Profile: HappyUser">@<bdi>HappyUser</bdi></a></p>
<p dir="auto">With the following two changes I can get the WebServer example to compile and run:<br />
In <code>Ethernet.h</code></p>
<pre><code>//	virtual void begin();
	virtual void begin(uint16_t port=0);
</code></pre>
<p dir="auto">In <code>EthernetServer.cpp</code></p>
<pre><code>//void EthernetServer::begin()
void EthernetServer::begin(uint16_t port)
</code></pre>
<p dir="auto">Good luck!<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/12943</link><guid isPermaLink="true">https://community.m5stack.com/post/12943</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Fri, 12 Mar 2021 10:43:43 GMT</pubDate></item></channel></rss>