Ардуина 1.8.5, ESP 2.4.2 , ошибок навалило.
[SPOILER="Ошибки компиляции"]
Arduino: 1.8.5 (Windows XP), Плата:"Generic ESP8266 Module, 80 MHz, Flash, ck, 26 MHz, 40MHz, QIO, 4M (3M SPIFFS), 2, v2 Lower Memory, Disabled, None, Only Sketch, 115200"
Изменены опции сборки, пересобираем все
J:\Arduino\1_скетчи\sketchbook\esp8266_mac_ip_proba\esp8266_mac_ip_proba.ino: In function 'void handleRoot()':
esp8266_mac_ip_proba:52: error: no matching function for call to 'IPAddress::IPAddress(ip_addr&)'
J:\Arduino\1_скетчи\sketchbook\esp8266_mac_ip_proba\esp8266_mac_ip_proba.ino:52:42: note: candidates are:
In file included from C:\Documents and Settings\UserXP\Local Settings\Application Data\Arduino15\packages\esp8266\hardware\esp8266\2.4.2\libraries\ESP8266WiFi\src/ESP8266WiFi.h:31:0,
from J:\Arduino\1_скетчи\sketchbook\esp8266_mac_ip_proba\esp8266_mac_ip_proba.ino:18:
C:\Documents and Settings\UserXP\Local Settings\Application Data\Arduino15\packages\esp8266\hardware\esp8266\2.4.2\cores\esp8266/IPAddress.h:49:9: note: IPAddress::IPAddress(const uint8_t*)
IPAddress(const uint8_t *address);
^
C:\Documents and Settings\UserXP\Local Settings\Application Data\Arduino15\packages\esp8266\hardware\esp8266\2.4.2\cores\esp8266/IPAddress.h:49:9: note: no known conversion for argument 1 from 'ip_addr' to 'const uint8_t* {aka const unsigned char*}'
C:\Documents and Settings\UserXP\Local Settings\Application Data\Arduino15\packages\esp8266\hardware\esp8266\2.4.2\cores\esp8266/IPAddress.h:48:9: note: IPAddress::IPAddress(uint32_t)
IPAddress(uint32_t address);
^
C:\Documents and Settings\UserXP\Local Settings\Application Data\Arduino15\packages\esp8266\hardware\esp8266\2.4.2\cores\esp8266/IPAddress.h:48:9: note: no known conversion for argument 1 from 'ip_addr' to 'uint32_t {aka unsigned int}'
C:\Documents and Settings\UserXP\Local Settings\Application Data\Arduino15\packages\esp8266\hardware\esp8266\2.4.2\cores\esp8266/IPAddress.h:47:9: note: IPAddress::IPAddress(uint8_t, uint8_t, uint8_t, uint8_t)
IPAddress(uint8_t first_octet, uint8_t second_octet, uint8_t third_octet, uint8_t fourth_octet);
^
C:\Documents and Settings\UserXP\Local Settings\Application Data\Arduino15\packages\esp8266\hardware\esp8266\2.4.2\cores\esp8266/IPAddress.h:47:9: note: candidate expects 4 arguments, 1 provided
C:\Documents and Settings\UserXP\Local Settings\Application Data\Arduino15\packages\esp8266\hardware\esp8266\2.4.2\cores\esp8266/IPAddress.h:46:9: note: IPAddress::IPAddress()
IPAddress();
^
C:\Documents and Settings\UserXP\Local Settings\Application Data\Arduino15\packages\esp8266\hardware\esp8266\2.4.2\cores\esp8266/IPAddress.h:46:9: note: candidate expects 0 arguments, 1 provided
C:\Documents and Settings\UserXP\Local Settings\Application Data\Arduino15\packages\esp8266\hardware\esp8266\2.4.2\cores\esp8266/IPAddress.h:29:7: note: constexpr IPAddress::IPAddress(const IPAddress&)
class IPAddress: public Printable {
^
C:\Documents and Settings\UserXP\Local Settings\Application Data\Arduino15\packages\esp8266\hardware\esp8266\2.4.2\cores\esp8266/IPAddress.h:29:7: note: no known conversion for argument 1 from 'ip_addr' to 'const IPAddress&'
C:\Documents and Settings\UserXP\Local Settings\Application Data\Arduino15\packages\esp8266\hardware\esp8266\2.4.2\cores\esp8266/IPAddress.h:29:7: note: constexpr IPAddress::IPAddress(IPAddress&&)
C:\Documents and Settings\UserXP\Local Settings\Application Data\Arduino15\packages\esp8266\hardware\esp8266\2.4.2\cores\esp8266/IPAddress.h:29:7: note: no known conversion for argument 1 from 'ip_addr' to 'IPAddress&&'
J:\Arduino\1_скетчи\sketchbook\esp8266_mac_ip_proba\esp8266_mac_ip_proba.ino: In function 'void setup()':
esp8266_mac_ip_proba:93: error: 'wifi_softap_add_dhcps_lease' was not declared in this scope
exit status 1
no matching function for call to 'IPAddress::IPAddress(ip_addr&)'
Этот отчёт будет иметь больше информации с
включенной опцией Файл -> Настройки ->
"Показать подробный вывод во время компиляции"
[/SPOILER]