Пожалуйста, не употребляйтесь новорегам – “любых примеров” не бывает в природе. Только что попробовал компилировать пример EchoServer – для двух платформ (ESP32S3 и Uno). Вывод компиляции выглядит вот так:
Для ESP32S3
In file included from d:\GoogleD\Soft\libraries\UIPEthernet-master/utility/mempool_conf.h:5,
from d:\GoogleD\Soft\libraries\UIPEthernet-master/utility/mempool.h:28,
from d:\GoogleD\Soft\libraries\UIPEthernet-master/utility/Enc28J60Network.h:28,
from d:\GoogleD\Soft\libraries\UIPEthernet-master/UIPEthernet.h:35,
from D:\GoogleD\Soft\Kaka\kaka3\kaka3.ino:37:
d:\GoogleD\Soft\libraries\UIPEthernet-master/utility/uipopt.h:97:4: warning: #warning "Endianness configured automaticaly." [-Wcpp]
#warning "Endianness configured automaticaly."
^~~~~~~
In file included from d:\GoogleD\Soft\libraries\UIPEthernet-master/UIPClient.h:37,
from d:\GoogleD\Soft\libraries\UIPEthernet-master/UIPEthernet.h:41,
from D:\GoogleD\Soft\Kaka\kaka3\kaka3.ino:37:
d:\GoogleD\Soft\libraries\UIPEthernet-master/utility/logging.h:24:2: warning: #warning "You can configure LogObject and ACTLOGLEVEL in 'utility/logging.h'. More verbosity more memory usage." [-Wcpp]
#warning "You can configure LogObject and ACTLOGLEVEL in 'utility/logging.h'. More verbosity more memory usage."
^~~~~~~
In file included from d:\GoogleD\Soft\libraries\UIPEthernet-master\Dhcp.cpp:6:
d:\GoogleD\Soft\libraries\UIPEthernet-master\utility/uipopt.h:97:4: warning: #warning "Endianness configured automaticaly." [-Wcpp]
#warning "Endianness configured automaticaly."
^~~~~~~
In file included from d:\GoogleD\Soft\libraries\UIPEthernet-master\Dhcp.cpp:17:
d:\GoogleD\Soft\libraries\UIPEthernet-master\utility/logging.h:24:2: warning: #warning "You can configure LogObject and ACTLOGLEVEL in 'utility/logging.h'. More verbosity more memory usage." [-Wcpp]
#warning "You can configure LogObject and ACTLOGLEVEL in 'utility/logging.h'. More verbosity more memory usage."
^~~~~~~
In file included from d:\GoogleD\Soft\libraries\UIPEthernet-master\utility/mempool_conf.h:5,
from d:\GoogleD\Soft\libraries\UIPEthernet-master\utility/mempool.h:28,
from d:\GoogleD\Soft\libraries\UIPEthernet-master\utility/Enc28J60Network.h:28,
from d:\GoogleD\Soft\libraries\UIPEthernet-master\UIPEthernet.h:35,
from d:\GoogleD\Soft\libraries\UIPEthernet-master\UIPUdp.cpp:20:
d:\GoogleD\Soft\libraries\UIPEthernet-master\utility/uipopt.h:97:4: warning: #warning "Endianness configured automaticaly." [-Wcpp]
#warning "Endianness configured automaticaly."
^~~~~~~
In file included from d:\GoogleD\Soft\libraries\UIPEthernet-master\UIPClient.h:37,
from d:\GoogleD\Soft\libraries\UIPEthernet-master\UIPEthernet.h:41,
from d:\GoogleD\Soft\libraries\UIPEthernet-master\UIPUdp.cpp:20:
d:\GoogleD\Soft\libraries\UIPEthernet-master\utility/logging.h:24:2: warning: #warning "You can configure LogObject and ACTLOGLEVEL in 'utility/logging.h'. More verbosity more memory usage." [-Wcpp]
#warning "You can configure LogObject and ACTLOGLEVEL in 'utility/logging.h'. More verbosity more memory usage."
^~~~~~~
In file included from d:\GoogleD\Soft\libraries\UIPEthernet-master\Dns.cpp:5:
d:\GoogleD\Soft\libraries\UIPEthernet-master\utility/uipopt.h:97:4: warning: #warning "Endianness configured automaticaly." [-Wcpp]
#warning "Endianness configured automaticaly."
^~~~~~~
In file included from d:\GoogleD\Soft\libraries\UIPEthernet-master\Dns.cpp:24:
d:\GoogleD\Soft\libraries\UIPEthernet-master\utility/logging.h:24:2: warning: #warning "You can configure LogObject and ACTLOGLEVEL in 'utility/logging.h'. More verbosity more memory usage." [-Wcpp]
#warning "You can configure LogObject and ACTLOGLEVEL in 'utility/logging.h'. More verbosity more memory usage."
^~~~~~~
In file included from d:\GoogleD\Soft\libraries\UIPEthernet-master\utility/mempool_conf.h:5,
from d:\GoogleD\Soft\libraries\UIPEthernet-master\utility/mempool.h:28,
from d:\GoogleD\Soft\libraries\UIPEthernet-master\utility/Enc28J60Network.h:28,
from d:\GoogleD\Soft\libraries\UIPEthernet-master\UIPEthernet.h:35,
from d:\GoogleD\Soft\libraries\UIPEthernet-master\UIPEthernet.cpp:27:
d:\GoogleD\Soft\libraries\UIPEthernet-master\utility/uipopt.h:97:4: warning: #warning "Endianness configured automaticaly." [-Wcpp]
#warning "Endianness configured automaticaly."
^~~~~~~
In file included from d:\GoogleD\Soft\libraries\UIPEthernet-master\UIPClient.h:37,
from d:\GoogleD\Soft\libraries\UIPEthernet-master\UIPEthernet.h:41,
from d:\GoogleD\Soft\libraries\UIPEthernet-master\UIPEthernet.cpp:27:
d:\GoogleD\Soft\libraries\UIPEthernet-master\utility/logging.h:24:2: warning: #warning "You can configure LogObject and ACTLOGLEVEL in 'utility/logging.h'. More verbosity more memory usage." [-Wcpp]
#warning "You can configure LogObject and ACTLOGLEVEL in 'utility/logging.h'. More verbosity more memory usage."
^~~~~~~
In file included from d:\GoogleD\Soft\libraries\UIPEthernet-master\UIPClient.cpp:19:
d:\GoogleD\Soft\libraries\UIPEthernet-master\utility/logging.h:24:2: warning: #warning "You can configure LogObject and ACTLOGLEVEL in 'utility/logging.h'. More verbosity more memory usage." [-Wcpp]
#warning "You can configure LogObject and ACTLOGLEVEL in 'utility/logging.h'. More verbosity more memory usage."
^~~~~~~
In file included from d:\GoogleD\Soft\libraries\UIPEthernet-master\UIPClient.cpp:23:
d:\GoogleD\Soft\libraries\UIPEthernet-master\utility/uipopt.h:97:4: warning: #warning "Endianness configured automaticaly." [-Wcpp]
#warning "Endianness configured automaticaly."
^~~~~~~
d:\GoogleD\Soft\libraries\UIPEthernet-master\UIPClient.cpp: In static member function 'static uint16_t UIPClient::_write(uip_userdata_t*, const uint8_t*, size_t)':
d:\GoogleD\Soft\libraries\UIPEthernet-master\UIPClient.cpp:262:1: error: label 'ready' defined but not used [-Werror=unused-label]
ready:
^~~~~
cc1plus.exe: some warnings being treated as errors
In file included from d:\GoogleD\Soft\libraries\UIPEthernet-master\utility/mempool_conf.h:5,
from d:\GoogleD\Soft\libraries\UIPEthernet-master\utility/mempool.h:28,
from d:\GoogleD\Soft\libraries\UIPEthernet-master\utility/Enc28J60Network.h:28,
from d:\GoogleD\Soft\libraries\UIPEthernet-master\UIPEthernet.h:35,
from d:\GoogleD\Soft\libraries\UIPEthernet-master\UIPServer.cpp:19:
d:\GoogleD\Soft\libraries\UIPEthernet-master\utility/uipopt.h:97:4: warning: #warning "Endianness configured automaticaly." [-Wcpp]
#warning "Endianness configured automaticaly."
^~~~~~~
In file included from d:\GoogleD\Soft\libraries\UIPEthernet-master\UIPClient.h:37,
from d:\GoogleD\Soft\libraries\UIPEthernet-master\UIPEthernet.h:41,
from d:\GoogleD\Soft\libraries\UIPEthernet-master\UIPServer.cpp:19:
d:\GoogleD\Soft\libraries\UIPEthernet-master\utility/logging.h:24:2: warning: #warning "You can configure LogObject and ACTLOGLEVEL in 'utility/logging.h'. More verbosity more memory usage." [-Wcpp]
#warning "You can configure LogObject and ACTLOGLEVEL in 'utility/logging.h'. More verbosity more memory usage."
^~~~~~~
exit status 1
Compilation error: exit status 1
а вот
Для Uno
In file included from d:\GoogleD\Soft\libraries\UIPEthernet-master/utility/mempool_conf.h:5:0,
from d:\GoogleD\Soft\libraries\UIPEthernet-master/utility/mempool.h:28,
from d:\GoogleD\Soft\libraries\UIPEthernet-master/utility/Enc28J60Network.h:28,
from d:\GoogleD\Soft\libraries\UIPEthernet-master/UIPEthernet.h:35,
from D:\GoogleD\Soft\Kaka\kaka3\kaka3.ino:37:
d:\GoogleD\Soft\libraries\UIPEthernet-master/utility/uipopt.h:97:4: warning: #warning "Endianness configured automaticaly." [-Wcpp]
#warning "Endianness configured automaticaly."
^~~~~~~
In file included from d:\GoogleD\Soft\libraries\UIPEthernet-master/UIPClient.h:37:0,
from d:\GoogleD\Soft\libraries\UIPEthernet-master/UIPEthernet.h:41,
from D:\GoogleD\Soft\Kaka\kaka3\kaka3.ino:37:
d:\GoogleD\Soft\libraries\UIPEthernet-master/utility/logging.h:24:2: warning: #warning "You can configure LogObject and ACTLOGLEVEL in 'utility/logging.h'. More verbosity more memory usage." [-Wcpp]
#warning "You can configure LogObject and ACTLOGLEVEL in 'utility/logging.h'. More verbosity more memory usage."
^~~~~~~
In file included from d:\GoogleD\Soft\libraries\UIPEthernet-master\Dns.cpp:5:0:
d:\GoogleD\Soft\libraries\UIPEthernet-master\utility/uipopt.h:97:4: warning: #warning "Endianness configured automaticaly." [-Wcpp]
#warning "Endianness configured automaticaly."
^~~~~~~
In file included from d:\GoogleD\Soft\libraries\UIPEthernet-master\Dns.cpp:24:0:
d:\GoogleD\Soft\libraries\UIPEthernet-master\utility/logging.h:24:2: warning: #warning "You can configure LogObject and ACTLOGLEVEL in 'utility/logging.h'. More verbosity more memory usage." [-Wcpp]
#warning "You can configure LogObject and ACTLOGLEVEL in 'utility/logging.h'. More verbosity more memory usage."
^~~~~~~
In file included from d:\GoogleD\Soft\libraries\UIPEthernet-master\utility/mempool_conf.h:5:0,
from d:\GoogleD\Soft\libraries\UIPEthernet-master\utility/mempool.h:28,
from d:\GoogleD\Soft\libraries\UIPEthernet-master\utility/Enc28J60Network.h:28,
from d:\GoogleD\Soft\libraries\UIPEthernet-master\UIPEthernet.h:35,
from d:\GoogleD\Soft\libraries\UIPEthernet-master\UIPUdp.cpp:20:
d:\GoogleD\Soft\libraries\UIPEthernet-master\utility/uipopt.h:97:4: warning: #warning "Endianness configured automaticaly." [-Wcpp]
#warning "Endianness configured automaticaly."
^~~~~~~
In file included from d:\GoogleD\Soft\libraries\UIPEthernet-master\UIPClient.h:37:0,
from d:\GoogleD\Soft\libraries\UIPEthernet-master\UIPEthernet.h:41,
from d:\GoogleD\Soft\libraries\UIPEthernet-master\UIPUdp.cpp:20:
d:\GoogleD\Soft\libraries\UIPEthernet-master\utility/logging.h:24:2: warning: #warning "You can configure LogObject and ACTLOGLEVEL in 'utility/logging.h'. More verbosity more memory usage." [-Wcpp]
#warning "You can configure LogObject and ACTLOGLEVEL in 'utility/logging.h'. More verbosity more memory usage."
^~~~~~~
In file included from d:\GoogleD\Soft\libraries\UIPEthernet-master\Dhcp.cpp:6:0:
d:\GoogleD\Soft\libraries\UIPEthernet-master\utility/uipopt.h:97:4: warning: #warning "Endianness configured automaticaly." [-Wcpp]
#warning "Endianness configured automaticaly."
^~~~~~~
In file included from d:\GoogleD\Soft\libraries\UIPEthernet-master\Dhcp.cpp:17:0:
d:\GoogleD\Soft\libraries\UIPEthernet-master\utility/logging.h:24:2: warning: #warning "You can configure LogObject and ACTLOGLEVEL in 'utility/logging.h'. More verbosity more memory usage." [-Wcpp]
#warning "You can configure LogObject and ACTLOGLEVEL in 'utility/logging.h'. More verbosity more memory usage."
^~~~~~~
In file included from d:\GoogleD\Soft\libraries\UIPEthernet-master\UIPClient.cpp:19:0:
d:\GoogleD\Soft\libraries\UIPEthernet-master\utility/logging.h:24:2: warning: #warning "You can configure LogObject and ACTLOGLEVEL in 'utility/logging.h'. More verbosity more memory usage." [-Wcpp]
#warning "You can configure LogObject and ACTLOGLEVEL in 'utility/logging.h'. More verbosity more memory usage."
^~~~~~~
In file included from d:\GoogleD\Soft\libraries\UIPEthernet-master\UIPClient.cpp:23:0:
d:\GoogleD\Soft\libraries\UIPEthernet-master\utility/uipopt.h:97:4: warning: #warning "Endianness configured automaticaly." [-Wcpp]
#warning "Endianness configured automaticaly."
^~~~~~~
d:\GoogleD\Soft\libraries\UIPEthernet-master\UIPClient.cpp: In static member function 'static uint16_t UIPClient::_write(uip_userdata_t*, const uint8_t*, size_t)':
d:\GoogleD\Soft\libraries\UIPEthernet-master\UIPClient.cpp:262:1: warning: label 'ready' defined but not used [-Wunused-label]
ready:
^~~~~
In file included from d:\GoogleD\Soft\libraries\UIPEthernet-master\utility/mempool_conf.h:5:0,
from d:\GoogleD\Soft\libraries\UIPEthernet-master\utility/mempool.h:28,
from d:\GoogleD\Soft\libraries\UIPEthernet-master\utility/Enc28J60Network.h:28,
from d:\GoogleD\Soft\libraries\UIPEthernet-master\UIPEthernet.h:35,
from d:\GoogleD\Soft\libraries\UIPEthernet-master\UIPEthernet.cpp:27:
d:\GoogleD\Soft\libraries\UIPEthernet-master\utility/uipopt.h:97:4: warning: #warning "Endianness configured automaticaly." [-Wcpp]
#warning "Endianness configured automaticaly."
^~~~~~~
In file included from d:\GoogleD\Soft\libraries\UIPEthernet-master\UIPClient.h:37:0,
from d:\GoogleD\Soft\libraries\UIPEthernet-master\UIPEthernet.h:41,
from d:\GoogleD\Soft\libraries\UIPEthernet-master\UIPEthernet.cpp:27:
d:\GoogleD\Soft\libraries\UIPEthernet-master\utility/logging.h:24:2: warning: #warning "You can configure LogObject and ACTLOGLEVEL in 'utility/logging.h'. More verbosity more memory usage." [-Wcpp]
#warning "You can configure LogObject and ACTLOGLEVEL in 'utility/logging.h'. More verbosity more memory usage."
^~~~~~~
In file included from d:\GoogleD\Soft\libraries\UIPEthernet-master\utility/mempool_conf.h:5:0,
from d:\GoogleD\Soft\libraries\UIPEthernet-master\utility/mempool.h:28,
from d:\GoogleD\Soft\libraries\UIPEthernet-master\utility/Enc28J60Network.h:28,
from d:\GoogleD\Soft\libraries\UIPEthernet-master\UIPEthernet.h:35,
from d:\GoogleD\Soft\libraries\UIPEthernet-master\UIPServer.cpp:19:
d:\GoogleD\Soft\libraries\UIPEthernet-master\utility/uipopt.h:97:4: warning: #warning "Endianness configured automaticaly." [-Wcpp]
#warning "Endianness configured automaticaly."
^~~~~~~
In file included from d:\GoogleD\Soft\libraries\UIPEthernet-master\UIPClient.h:37:0,
from d:\GoogleD\Soft\libraries\UIPEthernet-master\UIPEthernet.h:41,
from d:\GoogleD\Soft\libraries\UIPEthernet-master\UIPServer.cpp:19:
d:\GoogleD\Soft\libraries\UIPEthernet-master\utility/logging.h:24:2: warning: #warning "You can configure LogObject and ACTLOGLEVEL in 'utility/logging.h'. More verbosity more memory usage." [-Wcpp]
#warning "You can configure LogObject and ACTLOGLEVEL in 'utility/logging.h'. More verbosity more memory usage."
^~~~~~~
In file included from D:\GoogleD\Soft\libraries\UIPEthernet-master\utility\uip.h:56:0,
from D:\GoogleD\Soft\libraries\UIPEthernet-master\utility\uip_arp.h:62,
from D:\GoogleD\Soft\libraries\UIPEthernet-master\utility\uip_arp.c:61:
D:\GoogleD\Soft\libraries\UIPEthernet-master\utility\uipopt.h:97:4: warning: #warning "Endianness configured automaticaly." [-Wcpp]
#warning "Endianness configured automaticaly."
^~~~~~~
In file included from D:\GoogleD\Soft\libraries\UIPEthernet-master\utility\uip.h:56:0,
from D:\GoogleD\Soft\libraries\UIPEthernet-master\utility\uip.c:82:
D:\GoogleD\Soft\libraries\UIPEthernet-master\utility\uipopt.h:97:4: warning: #warning "Endianness configured automaticaly." [-Wcpp]
#warning "Endianness configured automaticaly."
^~~~~~~
D:\GoogleD\Soft\libraries\UIPEthernet-master\utility\uip.c: In function 'uip_process':
D:\GoogleD\Soft\libraries\UIPEthernet-master\utility\uip.c:857:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if((BUF->len[0] << 8) + BUF->len[1] <= uip_len) {
^~
In file included from D:\GoogleD\Soft\libraries\UIPEthernet-master\utility\mempool_conf.h:5:0,
from D:\GoogleD\Soft\libraries\UIPEthernet-master\utility\mempool.h:28,
from D:\GoogleD\Soft\libraries\UIPEthernet-master\utility\mempool.cpp:20:
D:\GoogleD\Soft\libraries\UIPEthernet-master\utility\uipopt.h:97:4: warning: #warning "Endianness configured automaticaly." [-Wcpp]
#warning "Endianness configured automaticaly."
^~~~~~~
In file included from D:\GoogleD\Soft\libraries\UIPEthernet-master\utility\mempool.cpp:22:0:
D:\GoogleD\Soft\libraries\UIPEthernet-master\utility\logging.h:24:2: warning: #warning "You can configure LogObject and ACTLOGLEVEL in 'utility/logging.h'. More verbosity more memory usage." [-Wcpp]
#warning "You can configure LogObject and ACTLOGLEVEL in 'utility/logging.h'. More verbosity more memory usage."
^~~~~~~
In file included from D:\GoogleD\Soft\libraries\UIPEthernet-master\utility\mempool_conf.h:5:0,
from D:\GoogleD\Soft\libraries\UIPEthernet-master\utility\mempool.h:28,
from D:\GoogleD\Soft\libraries\UIPEthernet-master\utility\Enc28J60Network.h:28,
from D:\GoogleD\Soft\libraries\UIPEthernet-master\utility\Enc28J60Network.cpp:25:
D:\GoogleD\Soft\libraries\UIPEthernet-master\utility\uipopt.h:97:4: warning: #warning "Endianness configured automaticaly." [-Wcpp]
#warning "Endianness configured automaticaly."
^~~~~~~
In file included from D:\GoogleD\Soft\libraries\UIPEthernet-master\utility\Enc28J60Network.cpp:34:0:
D:\GoogleD\Soft\libraries\UIPEthernet-master\utility\logging.h:24:2: warning: #warning "You can configure LogObject and ACTLOGLEVEL in 'utility/logging.h'. More verbosity more memory usage." [-Wcpp]
#warning "You can configure LogObject and ACTLOGLEVEL in 'utility/logging.h'. More verbosity more memory usage."
^~~~~~~
Скетч использует 17118 байт (53%) памяти устройства. Всего доступно 32256 байт.
Глобальные переменные используют 1050 байт (51%) динамической памяти, оставляя 998 байт для локальных переменных. Максимум: 2048 байт.
Как видите, ничего похожего на Ваши предупреждения нет.
Мне все примеры перебирать?