Re: Documentation and API
Posted: Thu May 07, 2015 8:36 am
igrr wrote:The (temporary) way to do that is to clone the latest version of the git repository and then copy the hardware/esp8266com directory into your existing installation.
I'm writing some scripts to package the platform separately from the IDE, so this will change for the next release.
Is this still the way to update?
I tried replacing the esp8266com/esp8266 folder but when compiling I now get errors:
Code: Select all
Core Include Paths
Include Path 'c:\Program Files\arduino\hardware\esp8266com\esp8266\cores\esp8266'
Include Path 'c:\Program Files\arduino\hardware\esp8266com\esp8266\variants\generic'
Library Include Paths (3)
Include Path 'c:\Program Files\arduino\libraries\PubSubClient'
Include Path 'c:\Program Files\arduino\hardware\esp8266com\esp8266\libraries\ESP8266WiFi\src'
Include Path 'c:\Program Files\arduino\hardware\esp8266com\esp8266\libraries\Ticker'
Platform Libraries Root Include Paths
Include Path 'c:\Program Files\arduino\libraries'
Include Path 'c:\Program Files\arduino\hardware\esp8266com\esp8266\libraries'
Include Path 'C:\Program Files\Visual Micro\Visual Micro for Arduino\Micro Platforms\default\debuggers'
Include Path 'C:\Users\Administrator\Documents\Arduino\libraries'
"c:\Program Files\arduino/hardware/tools/esp8266/xtensa-lx106-elf/bin/xtensa-lx106-elf-g++" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ "-Ic:\Program Files\arduino/hardware/tools/esp8266/sdk//include" -c -Os -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -std=c++11 -MMD -DF_CPU=80000000L -DARDUINO=161 -DARDUINO_ESP8266_ESP01 -DARDUINO_ARCH_ESP8266 -DESP8266 -I"c:\Program Files\arduino\hardware\esp8266com\esp8266\cores\esp8266" -I"c:\Program Files\arduino\hardware\esp8266com\esp8266\variants\generic" -I"c:\Program Files\arduino\libraries\PubSubClient" -I"c:\Program Files\arduino\hardware\esp8266com\esp8266\libraries\ESP8266WiFi\src" -I"c:\Program Files\arduino\hardware\esp8266com\esp8266\libraries\Ticker" -I"c:\Program Files\arduino\libraries" -I"c:\Program Files\arduino\hardware\esp8266com\esp8266\libraries" -I"C:\Program Files\Visual Micro\Visual Micro for Arduino\Micro Platforms\default\debuggers" -I"C:\Users\Administrator\Documents\Arduino\libraries" "C:\Users\Administrator\AppData\Local\V.Micro\Arduino\Builds\MQTT4\generic\MQTT4.cpp" -o "C:\Users\Administrator\AppData\Local\V.Micro\Arduino\Builds\MQTT4\generic\MQTT4.cpp.o"
MQTT4.ino:7:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
MQTT4.ino:8:16: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
"c:\Program Files\arduino/hardware/tools/esp8266/xtensa-lx106-elf/bin/xtensa-lx106-elf-g++" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ "-Ic:\Program Files\arduino/hardware/tools/esp8266/sdk//include" -c -Os -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -std=c++11 -MMD -DF_CPU=80000000L -DARDUINO=161 -DARDUINO_ESP8266_ESP01 -DARDUINO_ARCH_ESP8266 -DESP8266 -I"c:\Program Files\arduino\hardware\esp8266com\esp8266\cores\esp8266" -I"c:\Program Files\arduino\hardware\esp8266com\esp8266\variants\generic" -I"c:\Program Files\arduino\libraries\PubSubClient" -I"c:\Program Files\arduino\hardware\esp8266com\esp8266\libraries\ESP8266WiFi\src" -I"c:\Program Files\arduino\hardware\esp8266com\esp8266\libraries\Ticker" -I"c:\Program Files\arduino\libraries" -I"c:\Program Files\arduino\hardware\esp8266com\esp8266\libraries" -I"C:\Program Files\Visual Micro\Visual Micro for Arduino\Micro Platforms\default\debuggers" -I"C:\Users\Administrator\Documents\Arduino\libraries" "c:\Program Files\arduino\hardware\esp8266com\esp8266\libraries\ESP8266WiFi\src\ESP8266WiFi.cpp" -o "C:\Users\Administrator\AppData\Local\V.Micro\Arduino\Builds\MQTT4\generic\ESP8266WiFi\ESP8266WiFi.cpp.o"
ESP8266WiFi.cpp:In member function 'bool ESP8266WiFiClass::smartConfigDone()'
ESP8266WiFi.cpp:409:40: error: 'SC_STATUS_LINK_OVER' was not declared in this scope
"c:\Program Files\arduino/hardware/tools/esp8266/xtensa-lx106-elf/bin/xtensa-lx106-elf-g++" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ "-Ic:\Program Files\arduino/hardware/tools/esp8266/sdk//include" -c -Os -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -std=c++11 -MMD -DF_CPU=80000000L -DARDUINO=161 -DARDUINO_ESP8266_ESP01 -DARDUINO_ARCH_ESP8266 -DESP8266 -I"c:\Program Files\arduino\hardware\esp8266com\esp8266\cores\esp8266" -I"c:\Program Files\arduino\hardware\esp8266com\esp8266\variants\generic" -I"c:\Program Files\arduino\libraries\PubSubClient" -I"c:\Program Files\arduino\hardware\esp8266com\esp8266\libraries\ESP8266WiFi\src" -I"c:\Program Files\arduino\hardware\esp8266com\esp8266\libraries\Ticker" -I"c:\Program Files\arduino\libraries" -I"c:\Program Files\arduino\hardware\esp8266com\esp8266\libraries" -I"C:\Program Files\Visual Micro\Visual Micro for Arduino\Micro Platforms\default\debuggers" -I"C:\Users\Administrator\Documents\Arduino\libraries" "c:\Program Files\arduino\hardware\esp8266com\esp8266\libraries\ESP8266WiFi\src\WiFiClient.cpp" -o "C:\Users\Administrator\AppData\Local\V.Micro\Arduino\Builds\MQTT4\generic\ESP8266WiFi\WiFiClient.cpp.o"
"c:\Program Files\arduino/hardware/tools/esp8266/xtensa-lx106-elf/bin/xtensa-lx106-elf-g++" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ "-Ic:\Program Files\arduino/hardware/tools/esp8266/sdk//include" -c -Os -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -std=c++11 -MMD -DF_CPU=80000000L -DARDUINO=161 -DARDUINO_ESP8266_ESP01 -DARDUINO_ARCH_ESP8266 -DESP8266 -I"c:\Program Files\arduino\hardware\esp8266com\esp8266\cores\esp8266" -I"c:\Program Files\arduino\hardware\esp8266com\esp8266\variants\generic" -I"c:\Program Files\arduino\libraries\PubSubClient" -I"c:\Program Files\arduino\hardware\esp8266com\esp8266\libraries\ESP8266WiFi\src" -I"c:\Program Files\arduino\hardware\esp8266com\esp8266\libraries\Ticker" -I"c:\Program Files\arduino\libraries" -I"c:\Program Files\arduino\hardware\esp8266com\esp8266\libraries" -I"C:\Program Files\Visual Micro\Visual Micro for Arduino\Micro Platforms\default\debuggers" -I"C:\Users\Administrator\Documents\Arduino\libraries" "c:\Program Files\arduino\hardware\esp8266com\esp8266\libraries\ESP8266WiFi\src\WiFiServer.cpp" -o "C:\Users\Administrator\AppData\Local\V.Micro\Arduino\Builds\MQTT4\generic\ESP8266WiFi\WiFiServer.cpp.o"
"c:\Program Files\arduino/hardware/tools/esp8266/xtensa-lx106-elf/bin/xtensa-lx106-elf-g++" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ "-Ic:\Program Files\arduino/hardware/tools/esp8266/sdk//include" -c -Os -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -std=c++11 -MMD -DF_CPU=80000000L -DARDUINO=161 -DARDUINO_ESP8266_ESP01 -DARDUINO_ARCH_ESP8266 -DESP8266 -I"c:\Program Files\arduino\hardware\esp8266com\esp8266\cores\esp8266" -I"c:\Program Files\arduino\hardware\esp8266com\esp8266\variants\generic" -I"c:\Program Files\arduino\libraries\PubSubClient" -I"c:\Program Files\arduino\hardware\esp8266com\esp8266\libraries\ESP8266WiFi\src" -I"c:\Program Files\arduino\hardware\esp8266com\esp8266\libraries\Ticker" -I"c:\Program Files\arduino\libraries" -I"c:\Program Files\arduino\hardware\esp8266com\esp8266\libraries" -I"C:\Program Files\Visual Micro\Visual Micro for Arduino\Micro Platforms\default\debuggers" -I"C:\Users\Administrator\Documents\Arduino\libraries" "c:\Program Files\arduino\hardware\esp8266com\esp8266\libraries\ESP8266WiFi\src\WiFiUdp.cpp" -o "C:\Users\Administrator\AppData\Local\V.Micro\Arduino\Builds\MQTT4\generic\ESP8266WiFi\WiFiUdp.cpp.o"
Error compiling
If I merge the directory (overwriting existing older files):
Code: Select all
Core Include Paths
Include Path 'c:\Program Files\arduino\hardware\esp8266com\esp8266\cores\esp8266'
Include Path 'c:\Program Files\arduino\hardware\esp8266com\esp8266\variants\generic'
Library Include Paths (3)
Include Path 'c:\Program Files\arduino\libraries\PubSubClient'
Include Path 'c:\Program Files\arduino\hardware\esp8266com\esp8266\libraries\ESP8266WiFi\src'
Include Path 'c:\Program Files\arduino\hardware\esp8266com\esp8266\libraries\Ticker'
Platform Libraries Root Include Paths
Include Path 'c:\Program Files\arduino\libraries'
Include Path 'c:\Program Files\arduino\hardware\esp8266com\esp8266\libraries'
Include Path 'C:\Program Files\Visual Micro\Visual Micro for Arduino\Micro Platforms\default\debuggers'
Include Path 'C:\Users\Administrator\Documents\Arduino\libraries'
"c:\Program Files\arduino/hardware/tools/esp8266/xtensa-lx106-elf/bin/xtensa-lx106-elf-g++" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ "-Ic:\Program Files\arduino/hardware/tools/esp8266/sdk//include" -c -Os -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -std=c++11 -MMD -DF_CPU=80000000L -DARDUINO=161 -DARDUINO_ESP8266_ESP01 -DARDUINO_ARCH_ESP8266 -DESP8266 -I"c:\Program Files\arduino\hardware\esp8266com\esp8266\cores\esp8266" -I"c:\Program Files\arduino\hardware\esp8266com\esp8266\variants\generic" -I"c:\Program Files\arduino\libraries\PubSubClient" -I"c:\Program Files\arduino\hardware\esp8266com\esp8266\libraries\ESP8266WiFi\src" -I"c:\Program Files\arduino\hardware\esp8266com\esp8266\libraries\Ticker" -I"c:\Program Files\arduino\libraries" -I"c:\Program Files\arduino\hardware\esp8266com\esp8266\libraries" -I"C:\Program Files\Visual Micro\Visual Micro for Arduino\Micro Platforms\default\debuggers" -I"C:\Users\Administrator\Documents\Arduino\libraries" "C:\Users\Administrator\AppData\Local\V.Micro\Arduino\Builds\MQTT4\generic\MQTT4.cpp" -o "C:\Users\Administrator\AppData\Local\V.Micro\Arduino\Builds\MQTT4\generic\MQTT4.cpp.o"
MQTT4.ino:7:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
MQTT4.ino:8:16: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
"c:\Program Files\arduino/hardware/tools/esp8266/xtensa-lx106-elf/bin/xtensa-lx106-elf-g++" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ "-Ic:\Program Files\arduino/hardware/tools/esp8266/sdk//include" -c -Os -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -std=c++11 -MMD -DF_CPU=80000000L -DARDUINO=161 -DARDUINO_ESP8266_ESP01 -DARDUINO_ARCH_ESP8266 -DESP8266 -I"c:\Program Files\arduino\hardware\esp8266com\esp8266\cores\esp8266" -I"c:\Program Files\arduino\hardware\esp8266com\esp8266\variants\generic" -I"c:\Program Files\arduino\libraries\PubSubClient" -I"c:\Program Files\arduino\hardware\esp8266com\esp8266\libraries\ESP8266WiFi\src" -I"c:\Program Files\arduino\hardware\esp8266com\esp8266\libraries\Ticker" -I"c:\Program Files\arduino\libraries" -I"c:\Program Files\arduino\hardware\esp8266com\esp8266\libraries" -I"C:\Program Files\Visual Micro\Visual Micro for Arduino\Micro Platforms\default\debuggers" -I"C:\Users\Administrator\Documents\Arduino\libraries" "c:\Program Files\arduino\hardware\esp8266com\esp8266\libraries\ESP8266WiFi\src\ESP8266WiFi.cpp" -o "C:\Users\Administrator\AppData\Local\V.Micro\Arduino\Builds\MQTT4\generic\ESP8266WiFi\ESP8266WiFi.cpp.o"
ESP8266WiFi.cpp:In member function 'bool ESP8266WiFiClass::smartConfigDone()'
ESP8266WiFi.cpp:409:40: error: 'SC_STATUS_LINK_OVER' was not declared in this scope
"c:\Program Files\arduino/hardware/tools/esp8266/xtensa-lx106-elf/bin/xtensa-lx106-elf-g++" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ "-Ic:\Program Files\arduino/hardware/tools/esp8266/sdk//include" -c -Os -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -std=c++11 -MMD -DF_CPU=80000000L -DARDUINO=161 -DARDUINO_ESP8266_ESP01 -DARDUINO_ARCH_ESP8266 -DESP8266 -I"c:\Program Files\arduino\hardware\esp8266com\esp8266\cores\esp8266" -I"c:\Program Files\arduino\hardware\esp8266com\esp8266\variants\generic" -I"c:\Program Files\arduino\libraries\PubSubClient" -I"c:\Program Files\arduino\hardware\esp8266com\esp8266\libraries\ESP8266WiFi\src" -I"c:\Program Files\arduino\hardware\esp8266com\esp8266\libraries\Ticker" -I"c:\Program Files\arduino\libraries" -I"c:\Program Files\arduino\hardware\esp8266com\esp8266\libraries" -I"C:\Program Files\Visual Micro\Visual Micro for Arduino\Micro Platforms\default\debuggers" -I"C:\Users\Administrator\Documents\Arduino\libraries" "c:\Program Files\arduino\hardware\esp8266com\esp8266\libraries\ESP8266WiFi\src\WiFiClient.cpp" -o "C:\Users\Administrator\AppData\Local\V.Micro\Arduino\Builds\MQTT4\generic\ESP8266WiFi\WiFiClient.cpp.o"
"c:\Program Files\arduino/hardware/tools/esp8266/xtensa-lx106-elf/bin/xtensa-lx106-elf-g++" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ "-Ic:\Program Files\arduino/hardware/tools/esp8266/sdk//include" -c -Os -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -std=c++11 -MMD -DF_CPU=80000000L -DARDUINO=161 -DARDUINO_ESP8266_ESP01 -DARDUINO_ARCH_ESP8266 -DESP8266 -I"c:\Program Files\arduino\hardware\esp8266com\esp8266\cores\esp8266" -I"c:\Program Files\arduino\hardware\esp8266com\esp8266\variants\generic" -I"c:\Program Files\arduino\libraries\PubSubClient" -I"c:\Program Files\arduino\hardware\esp8266com\esp8266\libraries\ESP8266WiFi\src" -I"c:\Program Files\arduino\hardware\esp8266com\esp8266\libraries\Ticker" -I"c:\Program Files\arduino\libraries" -I"c:\Program Files\arduino\hardware\esp8266com\esp8266\libraries" -I"C:\Program Files\Visual Micro\Visual Micro for Arduino\Micro Platforms\default\debuggers" -I"C:\Users\Administrator\Documents\Arduino\libraries" "c:\Program Files\arduino\hardware\esp8266com\esp8266\libraries\ESP8266WiFi\src\WiFiServer.cpp" -o "C:\Users\Administrator\AppData\Local\V.Micro\Arduino\Builds\MQTT4\generic\ESP8266WiFi\WiFiServer.cpp.o"
"c:\Program Files\arduino/hardware/tools/esp8266/xtensa-lx106-elf/bin/xtensa-lx106-elf-g++" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ "-Ic:\Program Files\arduino/hardware/tools/esp8266/sdk//include" -c -Os -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -std=c++11 -MMD -DF_CPU=80000000L -DARDUINO=161 -DARDUINO_ESP8266_ESP01 -DARDUINO_ARCH_ESP8266 -DESP8266 -I"c:\Program Files\arduino\hardware\esp8266com\esp8266\cores\esp8266" -I"c:\Program Files\arduino\hardware\esp8266com\esp8266\variants\generic" -I"c:\Program Files\arduino\libraries\PubSubClient" -I"c:\Program Files\arduino\hardware\esp8266com\esp8266\libraries\ESP8266WiFi\src" -I"c:\Program Files\arduino\hardware\esp8266com\esp8266\libraries\Ticker" -I"c:\Program Files\arduino\libraries" -I"c:\Program Files\arduino\hardware\esp8266com\esp8266\libraries" -I"C:\Program Files\Visual Micro\Visual Micro for Arduino\Micro Platforms\default\debuggers" -I"C:\Users\Administrator\Documents\Arduino\libraries" "c:\Program Files\arduino\hardware\esp8266com\esp8266\libraries\ESP8266WiFi\src\WiFiUdp.cpp" -o "C:\Users\Administrator\AppData\Local\V.Micro\Arduino\Builds\MQTT4\generic\ESP8266WiFi\WiFiUdp.cpp.o"
Error compiling
MQTT4.ino:8:16: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
"c:\Program Files\arduino/hardware/tools/esp8266/xtensa-lx106-elf/bin/xtensa-lx106-elf-g++" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ "-Ic:\Program Files\arduino/hardware/tools/esp8266/sdk//include" -c -Os -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -std=c++11 -MMD -DF_CPU=80000000L -DARDUINO=161 -DARDUINO_ESP8266_ESP01 -DARDUINO_ARCH_ESP8266 -DESP8266 -I"c:\Program Files\arduino\hardware\esp8266com\esp8266\cores\esp8266" -I"c:\Program Files\arduino\hardware\esp8266com\esp8266\variants\generic" -I"c:\Program Files\arduino\libraries\PubSubClient" -I"c:\Program Files\arduino\hardware\esp8266com\esp8266\libraries\ESP8266WiFi\src" -I"c:\Program Files\arduino\hardware\esp8266com\esp8266\libraries\Ticker" -I"c:\Program Files\arduino\libraries" -I"c:\Program Files\arduino\hardware\esp8266com\esp8266\libraries" -I"C:\Program Files\Visual Micro\Visual Micro for Arduino\Micro Platforms\default\debuggers" -I"C:\Users\Administrator\Documents\Arduino\libraries" "c:\Program Files\arduino\hardware\esp8266com\esp8266\libraries\ESP8266WiFi\src\ESP8266WiFi.cpp" -o "C:\Users\Administrator\AppData\Local\V.Micro\Arduino\Builds\MQTT4\generic\ESP8266WiFi\ESP8266WiFi.cpp.o"
ESP8266WiFi.cpp:In member function 'bool ESP8266WiFiClass::smartConfigDone()'
ESP8266WiFi.cpp:409:40: error: 'SC_STATUS_LINK_OVER' was not declared in this scope
"c:\Program Files\arduino/hardware/tools/esp8266/xtensa-lx106-elf/bin/xtensa-lx106-elf-g++" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ "-Ic:\Program Files\arduino/hardware/tools/esp8266/sdk//include" -c -Os -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -std=c++11 -MMD -DF_CPU=80000000L -DARDUINO=161 -DARDUINO_ESP8266_ESP01 -DARDUINO_ARCH_ESP8266 -DESP8266 -I"c:\Program Files\arduino\hardware\esp8266com\esp8266\cores\esp8266" -I"c:\Program Files\arduino\hardware\esp8266com\esp8266\variants\generic" -I"c:\Program Files\arduino\libraries\PubSubClient" -I"c:\Program Files\arduino\hardware\esp8266com\esp8266\libraries\ESP8266WiFi\src" -I"c:\Program Files\arduino\hardware\esp8266com\esp8266\libraries\Ticker" -I"c:\Program Files\arduino\libraries" -I"c:\Program Files\arduino\hardware\esp8266com\esp8266\libraries" -I"C:\Program Files\Visual Micro\Visual Micro for Arduino\Micro Platforms\default\debuggers" -I"C:\Users\Administrator\Documents\Arduino\libraries" "c:\Program Files\arduino\hardware\esp8266com\esp8266\libraries\ESP8266WiFi\src\WiFiClient.cpp" -o "C:\Users\Administrator\AppData\Local\V.Micro\Arduino\Builds\MQTT4\generic\ESP8266WiFi\WiFiClient.cpp.o"
"c:\Program Files\arduino/hardware/tools/esp8266/xtensa-lx106-elf/bin/xtensa-lx106-elf-g++" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ "-Ic:\Program Files\arduino/hardware/tools/esp8266/sdk//include" -c -Os -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -std=c++11 -MMD -DF_CPU=80000000L -DARDUINO=161 -DARDUINO_ESP8266_ESP01 -DARDUINO_ARCH_ESP8266 -DESP8266 -I"c:\Program Files\arduino\hardware\esp8266com\esp8266\cores\esp8266" -I"c:\Program Files\arduino\hardware\esp8266com\esp8266\variants\generic" -I"c:\Program Files\arduino\libraries\PubSubClient" -I"c:\Program Files\arduino\hardware\esp8266com\esp8266\libraries\ESP8266WiFi\src" -I"c:\Program Files\arduino\hardware\esp8266com\esp8266\libraries\Ticker" -I"c:\Program Files\arduino\libraries" -I"c:\Program Files\arduino\hardware\esp8266com\esp8266\libraries" -I"C:\Program Files\Visual Micro\Visual Micro for Arduino\Micro Platforms\default\debuggers" -I"C:\Users\Administrator\Documents\Arduino\libraries" "c:\Program Files\arduino\hardware\esp8266com\esp8266\libraries\ESP8266WiFi\src\WiFiServer.cpp" -o "C:\Users\Administrator\AppData\Local\V.Micro\Arduino\Builds\MQTT4\generic\ESP8266WiFi\WiFiServer.cpp.o"
"c:\Program Files\arduino/hardware/tools/esp8266/xtensa-lx106-elf/bin/xtensa-lx106-elf-g++" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ "-Ic:\Program Files\arduino/hardware/tools/esp8266/sdk//include" -c -Os -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -std=c++11 -MMD -DF_CPU=80000000L -DARDUINO=161 -DARDUINO_ESP8266_ESP01 -DARDUINO_ARCH_ESP8266 -DESP8266 -I"c:\Program Files\arduino\hardware\esp8266com\esp8266\cores\esp8266" -I"c:\Program Files\arduino\hardware\esp8266com\esp8266\variants\generic" -I"c:\Program Files\arduino\libraries\PubSubClient" -I"c:\Program Files\arduino\hardware\esp8266com\esp8266\libraries\ESP8266WiFi\src" -I"c:\Program Files\arduino\hardware\esp8266com\esp8266\libraries\Ticker" -I"c:\Program Files\arduino\libraries" -I"c:\Program Files\arduino\hardware\esp8266com\esp8266\libraries" -I"C:\Program Files\Visual Micro\Visual Micro for Arduino\Micro Platforms\default\debuggers" -I"C:\Users\Administrator\Documents\Arduino\libraries" "c:\Program Files\arduino\hardware\esp8266com\esp8266\libraries\ESP8266WiFi\src\WiFiUdp.cpp" -o "C:\Users\Administrator\AppData\Local\V.Micro\Arduino\Builds\MQTT4\generic\ESP8266WiFi\WiFiUdp.cpp.o"
Error compiling
Do I need to merge the folders in a special way?
Do I need to not replace the 3 txt files in the esp8266?
If I overwrite all the files EXCEPT the 3 txt files:
Code: Select all
Core Include Paths
Include Path 'c:\Program Files\arduino\hardware\esp8266com\esp8266-new\cores\esp8266'
Include Path 'c:\Program Files\arduino\hardware\esp8266com\esp8266-new\variants\generic'
Library Include Paths (2)
Include Path 'c:\Program Files\arduino\libraries\PubSubClient'
Include Path 'c:\Program Files\arduino\hardware\esp8266com\esp8266-new\libraries\Ticker'
Platform Libraries Root Include Paths
Include Path 'c:\Program Files\arduino\libraries'
Include Path 'c:\Program Files\arduino\hardware\esp8266com\esp8266-new\libraries'
Include Path 'C:\Program Files\Visual Micro\Visual Micro for Arduino\Micro Platforms\default\debuggers'
Include Path 'C:\Users\Administrator\Documents\Arduino\libraries'
"c:\Program Files\arduino/hardware/tools/esp8266/xtensa-lx106-elf/bin/xtensa-lx106-elf-g++" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ "-Ic:\Program Files\arduino/hardware/tools/esp8266/sdk//include" -c -Os -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -std=c++11 -MMD -DF_CPU=80000000L -DARDUINO=161 -DARDUINO_ESP8266_ESP01 -DARDUINO_ARCH_ESP8266-NEW -DESP8266 -I"c:\Program Files\arduino\hardware\esp8266com\esp8266-new\cores\esp8266" -I"c:\Program Files\arduino\hardware\esp8266com\esp8266-new\variants\generic" -I"c:\Program Files\arduino\libraries\PubSubClient" -I"c:\Program Files\arduino\hardware\esp8266com\esp8266-new\libraries\Ticker" -I"c:\Program Files\arduino\libraries" -I"c:\Program Files\arduino\hardware\esp8266com\esp8266-new\libraries" -I"C:\Program Files\Visual Micro\Visual Micro for Arduino\Micro Platforms\default\debuggers" -I"C:\Users\Administrator\Documents\Arduino\libraries" "C:\Users\Administrator\AppData\Local\V.Micro\Arduino\Builds\MQTT4\generic\MQTT4.cpp" -o "C:\Users\Administrator\AppData\Local\V.Micro\Arduino\Builds\MQTT4\generic\MQTT4.cpp.o"
:ISO C99 requires whitespace after the macro name [enabled by default]
MQTT4.ino:2:25: fatal error: ESP8266WiFi.h: No such file or directory
Error compiling
Thanks!