Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
By cherowley
#16802
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 allCore 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 allCore 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 allCore 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!
User avatar
By mrendu43
#17946 Hello

So i can use arduino ide with standart esp sdk comands and api?

Can anyone explane me how can i do direct port addresing in arduino ide?
User avatar
By ficeto
#18109 check the github source of the digital functions. your questions will be answered :) direct register access mapped in esp8266_peri.h which is by default included.
Latest stable release has the old functions.
Surely you can extern "C" { #include "some_sdk_header.h" } and use the SDK stuff.
User avatar
By JimDrew
#43014 There seems to be quite a few people asking the same question about using SDK-API calls. Does anyone have actual example code for doing something like:

SET_PERI_REG_MASK( UART_CONF0(uart_no),UART_TX_FLOW_EN);

This is suppose to enable the CTS flow control for the UART transmit. I have seen no working samples for doing things like this. Anyone have some? Thanks!