Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Examples wont compile #69

Open
EasyG0ing1 opened this issue Sep 23, 2019 · 0 comments
Open

Examples wont compile #69

EasyG0ing1 opened this issue Sep 23, 2019 · 0 comments

Comments

@EasyG0ing1
Copy link

I am using Arduino IDE 1.8.9 with the latest hardware library update, and I can't even compile the examples without errors. I have the generic ESP8266 selected but I've also tried the WEMOS and the Node MCU 1.0 but no matter which hardware I select, the examples will not compile.

Here are the compiler logs when I try to compile SerialESP8266_tcp_cli with Generic ESP8266 selected:

/Applications/Arduino.app/Contents/Java/arduino-builder -dump-prefs -logger=machine -hardware /Applications/Arduino.app/Contents/Java/hardware -hardware /Users/michael/Library/Arduino15/packages -hardware /Users/michael/Documents/Arduino/hardware -tools /Applications/Arduino.app/Contents/Java/tools-builder -tools /Applications/Arduino.app/Contents/Java/hardware/tools/avr -tools /Users/michael/Library/Arduino15/packages -built-in-libraries /Applications/Arduino.app/Contents/Java/libraries -libraries /Users/michael/Documents/Arduino/libraries -fqbn=esp8266:esp8266:generic:xtal=80,vt=flash,exception=disabled,ssl=all,ResetMethod=ck,CrystalFreq=26,FlashFreq=40,FlashMode=dout,eesz=512K,led=2,sdk=nonosdk221,ip=lm2f,dbg=Disabled,lvl=None____,wipe=none,baud=115200 -vid-pid=1A86_7523 -ide-version=10809 -build-path /var/folders/31/wvbpnk3d609fm8x1ppxxxcsr0000gr/T/arduino_build_350027 -warnings=all -build-cache /var/folders/31/wvbpnk3d609fm8x1ppxxxcsr0000gr/T/arduino_cache_782446 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.python.path=/Users/michael/Library/Arduino15/packages/esp8266/tools/python/3.7.2-post1 -prefs=runtime.tools.python-3.7.2-post1.path=/Users/michael/Library/Arduino15/packages/esp8266/tools/python/3.7.2-post1 -prefs=runtime.tools.xtensa-lx106-elf-gcc.path=/Users/michael/Library/Arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9 -prefs=runtime.tools.xtensa-lx106-elf-gcc-2.5.0-3-20ed2b9.path=/Users/michael/Library/Arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9 -prefs=runtime.tools.mkspiffs.path=/Users/michael/Library/Arduino15/packages/esp8266/tools/mkspiffs/2.5.0-3-20ed2b9 -prefs=runtime.tools.mkspiffs-2.5.0-3-20ed2b9.path=/Users/michael/Library/Arduino15/packages/esp8266/tools/mkspiffs/2.5.0-3-20ed2b9 -verbose /Users/michael/Documents/Arduino/libraries/ESP8266wifi2/examples/SerialESP8266_tcp_cli/SerialESP8266_tcp_cli.ino
/Applications/Arduino.app/Contents/Java/arduino-builder -compile -logger=machine -hardware /Applications/Arduino.app/Contents/Java/hardware -hardware /Users/michael/Library/Arduino15/packages -hardware /Users/michael/Documents/Arduino/hardware -tools /Applications/Arduino.app/Contents/Java/tools-builder -tools /Applications/Arduino.app/Contents/Java/hardware/tools/avr -tools /Users/michael/Library/Arduino15/packages -built-in-libraries /Applications/Arduino.app/Contents/Java/libraries -libraries /Users/michael/Documents/Arduino/libraries -fqbn=esp8266:esp8266:generic:xtal=80,vt=flash,exception=disabled,ssl=all,ResetMethod=ck,CrystalFreq=26,FlashFreq=40,FlashMode=dout,eesz=512K,led=2,sdk=nonosdk221,ip=lm2f,dbg=Disabled,lvl=None____,wipe=none,baud=115200 -vid-pid=1A86_7523 -ide-version=10809 -build-path /var/folders/31/wvbpnk3d609fm8x1ppxxxcsr0000gr/T/arduino_build_350027 -warnings=all -build-cache /var/folders/31/wvbpnk3d609fm8x1ppxxxcsr0000gr/T/arduino_cache_782446 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.python.path=/Users/michael/Library/Arduino15/packages/esp8266/tools/python/3.7.2-post1 -prefs=runtime.tools.python-3.7.2-post1.path=/Users/michael/Library/Arduino15/packages/esp8266/tools/python/3.7.2-post1 -prefs=runtime.tools.xtensa-lx106-elf-gcc.path=/Users/michael/Library/Arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9 -prefs=runtime.tools.xtensa-lx106-elf-gcc-2.5.0-3-20ed2b9.path=/Users/michael/Library/Arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9 -prefs=runtime.tools.mkspiffs.path=/Users/michael/Library/Arduino15/packages/esp8266/tools/mkspiffs/2.5.0-3-20ed2b9 -prefs=runtime.tools.mkspiffs-2.5.0-3-20ed2b9.path=/Users/michael/Library/Arduino15/packages/esp8266/tools/mkspiffs/2.5.0-3-20ed2b9 -verbose /Users/michael/Documents/Arduino/libraries/ESP8266wifi2/examples/SerialESP8266_tcp_cli/SerialESP8266_tcp_cli.ino
Using board 'generic' from platform in folder: /Users/michael/Library/Arduino15/packages/esp8266/hardware/esp8266/2.5.2
Using core 'esp8266' from platform in folder: /Users/michael/Library/Arduino15/packages/esp8266/hardware/esp8266/2.5.2
Warning: Board breadboard:avr:atmega328bb doesn't define a 'build.board' preference. Auto-set to: AVR_ATMEGA328BB
Detecting libraries used...
/Users/michael/Library/Arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9/bin/xtensa-lx106-elf-g++ -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ -I/Users/michael/Library/Arduino15/packages/esp8266/hardware/esp8266/2.5.2/tools/sdk/include -I/Users/michael/Library/Arduino15/packages/esp8266/hardware/esp8266/2.5.2/tools/sdk/lwip2/include -I/Users/michael/Library/Arduino15/packages/esp8266/hardware/esp8266/2.5.2/tools/sdk/libc/xtensa-lx106-elf/include -I/var/folders/31/wvbpnk3d609fm8x1ppxxxcsr0000gr/T/arduino_build_350027/core -c -w -Os -g -mlongcalls -mtext-section-literals -fno-rtti -falign-functions=4 -std=c++11 -ffunction-sections -fdata-sections -fno-exceptions -w -x c++ -E -CC -DNONOSDK221=1 -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=0 -DARDUINO=10809 -DARDUINO_ESP8266_GENERIC -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_GENERIC\"" -DLED_BUILTIN=2 -DFLASHMODE_DOUT -DESP8266 -I/Users/michael/Library/Arduino15/packages/esp8266/hardware/esp8266/2.5.2/cores/esp8266 -I/Users/michael/Library/Arduino15/packages/esp8266/hardware/esp8266/2.5.2/variants/generic /var/folders/31/wvbpnk3d609fm8x1ppxxxcsr0000gr/T/arduino_build_350027/sketch/SerialESP8266_tcp_cli.ino.cpp -o /dev/null
/Users/michael/Library/Arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9/bin/xtensa-lx106-elf-g++ -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ -I/Users/michael/Library/Arduino15/packages/esp8266/hardware/esp8266/2.5.2/tools/sdk/include -I/Users/michael/Library/Arduino15/packages/esp8266/hardware/esp8266/2.5.2/tools/sdk/lwip2/include -I/Users/michael/Library/Arduino15/packages/esp8266/hardware/esp8266/2.5.2/tools/sdk/libc/xtensa-lx106-elf/include -I/var/folders/31/wvbpnk3d609fm8x1ppxxxcsr0000gr/T/arduino_build_350027/core -c -w -Os -g -mlongcalls -mtext-section-literals -fno-rtti -falign-functions=4 -std=c++11 -ffunction-sections -fdata-sections -fno-exceptions -w -x c++ -E -CC -DNONOSDK221=1 -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=0 -DARDUINO=10809 -DARDUINO_ESP8266_GENERIC -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_GENERIC\"" -DLED_BUILTIN=2 -DFLASHMODE_DOUT -DESP8266 -I/Users/michael/Library/Arduino15/packages/esp8266/hardware/esp8266/2.5.2/cores/esp8266 -I/Users/michael/Library/Arduino15/packages/esp8266/hardware/esp8266/2.5.2/variants/generic -I/Users/michael/Library/Arduino15/packages/esp8266/hardware/esp8266/2.5.2/libraries/SoftwareSerial/src /var/folders/31/wvbpnk3d609fm8x1ppxxxcsr0000gr/T/arduino_build_350027/sketch/SerialESP8266_tcp_cli.ino.cpp -o /dev/null
/Users/michael/Library/Arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9/bin/xtensa-lx106-elf-g++ -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ -I/Users/michael/Library/Arduino15/packages/esp8266/hardware/esp8266/2.5.2/tools/sdk/include -I/Users/michael/Library/Arduino15/packages/esp8266/hardware/esp8266/2.5.2/tools/sdk/lwip2/include -I/Users/michael/Library/Arduino15/packages/esp8266/hardware/esp8266/2.5.2/tools/sdk/libc/xtensa-lx106-elf/include -I/var/folders/31/wvbpnk3d609fm8x1ppxxxcsr0000gr/T/arduino_build_350027/core -c -w -Os -g -mlongcalls -mtext-section-literals -fno-rtti -falign-functions=4 -std=c++11 -ffunction-sections -fdata-sections -fno-exceptions -w -x c++ -E -CC -DNONOSDK221=1 -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=0 -DARDUINO=10809 -DARDUINO_ESP8266_GENERIC -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_GENERIC\"" -DLED_BUILTIN=2 -DFLASHMODE_DOUT -DESP8266 -I/Users/michael/Library/Arduino15/packages/esp8266/hardware/esp8266/2.5.2/cores/esp8266 -I/Users/michael/Library/Arduino15/packages/esp8266/hardware/esp8266/2.5.2/variants/generic -I/Users/michael/Library/Arduino15/packages/esp8266/hardware/esp8266/2.5.2/libraries/SoftwareSerial/src -I/Users/michael/Documents/Arduino/libraries/ESP8266wifi2 /var/folders/31/wvbpnk3d609fm8x1ppxxxcsr0000gr/T/arduino_build_350027/sketch/SerialESP8266_tcp_cli.ino.cpp -o /dev/null
/Users/michael/Library/Arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9/bin/xtensa-lx106-elf-g++ -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ -I/Users/michael/Library/Arduino15/packages/esp8266/hardware/esp8266/2.5.2/tools/sdk/include -I/Users/michael/Library/Arduino15/packages/esp8266/hardware/esp8266/2.5.2/tools/sdk/lwip2/include -I/Users/michael/Library/Arduino15/packages/esp8266/hardware/esp8266/2.5.2/tools/sdk/libc/xtensa-lx106-elf/include -I/var/folders/31/wvbpnk3d609fm8x1ppxxxcsr0000gr/T/arduino_build_350027/core -c -w -Os -g -mlongcalls -mtext-section-literals -fno-rtti -falign-functions=4 -std=c++11 -ffunction-sections -fdata-sections -fno-exceptions -w -x c++ -E -CC -DNONOSDK221=1 -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=0 -DARDUINO=10809 -DARDUINO_ESP8266_GENERIC -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_GENERIC\"" -DLED_BUILTIN=2 -DFLASHMODE_DOUT -DESP8266 -I/Users/michael/Library/Arduino15/packages/esp8266/hardware/esp8266/2.5.2/cores/esp8266 -I/Users/michael/Library/Arduino15/packages/esp8266/hardware/esp8266/2.5.2/variants/generic -I/Users/michael/Library/Arduino15/packages/esp8266/hardware/esp8266/2.5.2/libraries/SoftwareSerial/src -I/Users/michael/Documents/Arduino/libraries/ESP8266wifi2 /Users/michael/Library/Arduino15/packages/esp8266/hardware/esp8266/2.5.2/libraries/SoftwareSerial/src/SoftwareSerial.cpp -o /dev/null
/Users/michael/Library/Arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9/bin/xtensa-lx106-elf-g++ -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ -I/Users/michael/Library/Arduino15/packages/esp8266/hardware/esp8266/2.5.2/tools/sdk/include -I/Users/michael/Library/Arduino15/packages/esp8266/hardware/esp8266/2.5.2/tools/sdk/lwip2/include -I/Users/michael/Library/Arduino15/packages/esp8266/hardware/esp8266/2.5.2/tools/sdk/libc/xtensa-lx106-elf/include -I/var/folders/31/wvbpnk3d609fm8x1ppxxxcsr0000gr/T/arduino_build_350027/core -c -w -Os -g -mlongcalls -mtext-section-literals -fno-rtti -falign-functions=4 -std=c++11 -ffunction-sections -fdata-sections -fno-exceptions -w -x c++ -E -CC -DNONOSDK221=1 -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=0 -DARDUINO=10809 -DARDUINO_ESP8266_GENERIC -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_GENERIC\"" -DLED_BUILTIN=2 -DFLASHMODE_DOUT -DESP8266 -I/Users/michael/Library/Arduino15/packages/esp8266/hardware/esp8266/2.5.2/cores/esp8266 -I/Users/michael/Library/Arduino15/packages/esp8266/hardware/esp8266/2.5.2/variants/generic -I/Users/michael/Library/Arduino15/packages/esp8266/hardware/esp8266/2.5.2/libraries/SoftwareSerial/src -I/Users/michael/Documents/Arduino/libraries/ESP8266wifi2 /Users/michael/Documents/Arduino/libraries/ESP8266wifi2/SerialESP8266wifi.cpp -o /dev/null
Generating function prototypes...
/Users/michael/Library/Arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9/bin/xtensa-lx106-elf-g++ -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ -I/Users/michael/Library/Arduino15/packages/esp8266/hardware/esp8266/2.5.2/tools/sdk/include -I/Users/michael/Library/Arduino15/packages/esp8266/hardware/esp8266/2.5.2/tools/sdk/lwip2/include -I/Users/michael/Library/Arduino15/packages/esp8266/hardware/esp8266/2.5.2/tools/sdk/libc/xtensa-lx106-elf/include -I/var/folders/31/wvbpnk3d609fm8x1ppxxxcsr0000gr/T/arduino_build_350027/core -c -w -Os -g -mlongcalls -mtext-section-literals -fno-rtti -falign-functions=4 -std=c++11 -ffunction-sections -fdata-sections -fno-exceptions -w -x c++ -E -CC -DNONOSDK221=1 -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=0 -DARDUINO=10809 -DARDUINO_ESP8266_GENERIC -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_GENERIC\"" -DLED_BUILTIN=2 -DFLASHMODE_DOUT -DESP8266 -I/Users/michael/Library/Arduino15/packages/esp8266/hardware/esp8266/2.5.2/cores/esp8266 -I/Users/michael/Library/Arduino15/packages/esp8266/hardware/esp8266/2.5.2/variants/generic -I/Users/michael/Library/Arduino15/packages/esp8266/hardware/esp8266/2.5.2/libraries/SoftwareSerial/src -I/Users/michael/Documents/Arduino/libraries/ESP8266wifi2 /var/folders/31/wvbpnk3d609fm8x1ppxxxcsr0000gr/T/arduino_build_350027/sketch/SerialESP8266_tcp_cli.ino.cpp -o /var/folders/31/wvbpnk3d609fm8x1ppxxxcsr0000gr/T/arduino_build_350027/preproc/ctags_target_for_gcc_minus_e.cpp
/Applications/Arduino.app/Contents/Java/tools-builder/ctags/5.8-arduino11/ctags -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives /var/folders/31/wvbpnk3d609fm8x1ppxxxcsr0000gr/T/arduino_build_350027/preproc/ctags_target_for_gcc_minus_e.cpp
Compiling sketch...
/Users/michael/Library/Arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9/bin/xtensa-lx106-elf-g++ -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ -I/Users/michael/Library/Arduino15/packages/esp8266/hardware/esp8266/2.5.2/tools/sdk/include -I/Users/michael/Library/Arduino15/packages/esp8266/hardware/esp8266/2.5.2/tools/sdk/lwip2/include -I/Users/michael/Library/Arduino15/packages/esp8266/hardware/esp8266/2.5.2/tools/sdk/libc/xtensa-lx106-elf/include -I/var/folders/31/wvbpnk3d609fm8x1ppxxxcsr0000gr/T/arduino_build_350027/core -c -Wall -Wextra -Os -g -mlongcalls -mtext-section-literals -fno-rtti -falign-functions=4 -std=c++11 -MMD -ffunction-sections -fdata-sections -fno-exceptions -DNONOSDK221=1 -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=0 -DARDUINO=10809 -DARDUINO_ESP8266_GENERIC -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_GENERIC\"" -DLED_BUILTIN=2 -DFLASHMODE_DOUT -DESP8266 -I/Users/michael/Library/Arduino15/packages/esp8266/hardware/esp8266/2.5.2/cores/esp8266 -I/Users/michael/Library/Arduino15/packages/esp8266/hardware/esp8266/2.5.2/variants/generic -I/Users/michael/Library/Arduino15/packages/esp8266/hardware/esp8266/2.5.2/libraries/SoftwareSerial/src -I/Users/michael/Documents/Arduino/libraries/ESP8266wifi2 /var/folders/31/wvbpnk3d609fm8x1ppxxxcsr0000gr/T/arduino_build_350027/sketch/SerialESP8266_tcp_cli.ino.cpp -o /var/folders/31/wvbpnk3d609fm8x1ppxxxcsr0000gr/T/arduino_build_350027/sketch/SerialESP8266_tcp_cli.ino.cpp.o
/Users/michael/Documents/Arduino/libraries/ESP8266wifi2/examples/SerialESP8266_tcp_cli/SerialESP8266_tcp_cli.ino: In function 'void processCommand(WifiMessage)':
/Users/michael/Documents/Arduino/libraries/ESP8266wifi2/examples/SerialESP8266_tcp_cli/SerialESP8266_tcp_cli.ino:81:8: warning: unused variable 'espBuf' [-Wunused-variable]
   char espBuf[MSG_BUFFER_MAX];
        ^
/Users/michael/Documents/Arduino/libraries/ESP8266wifi2/examples/SerialESP8266_tcp_cli/SerialESP8266_tcp_cli.ino: Assembler messages:
/Users/michael/Documents/Arduino/libraries/ESP8266wifi2/examples/SerialESP8266_tcp_cli/SerialESP8266_tcp_cli.ino:98: Error: unknown opcode or format name 'jmp'
Using library SoftwareSerial at version 5.0.4 in folder: /Users/michael/Library/Arduino15/packages/esp8266/hardware/esp8266/2.5.2/libraries/SoftwareSerial 
Using library ESP8266wifi2 in folder: /Users/michael/Documents/Arduino/libraries/ESP8266wifi2 (legacy)
exit status 1
Error compiling for board Generic ESP8266 Module.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant