Open mariusstaicu opened 4 years ago
Hi @mariusstaicu ! Does it work if you specify --force-remote
flag?
using force-remote seems to be working, however it is not good for my case, I need the build to happen on local system
any updates on this ?
local PIO version 5.1.1 remote PIO version 5.1.1
`> Executing task in folder esp12e-relay8: platformio remote run --target upload <
Verbose mode can be enabled via -v, --verbose
option
CONFIGURATION: https://docs.platformio.org/page/boards/espressif8266/esp12e.html
PLATFORM: Espressif 8266 (2.6.3) > Espressif ESP8266 ESP-12E
HARDWARE: ESP8266 80MHz, 80KB RAM, 4MB Flash
PACKAGES:
setup' /home/vvf/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld: .pio/build/esp12e/libFrameworkArduino.a(core_esp8266_main.cpp.o):(.text._ZL12loop_wrapperv+0x8): undefined reference to
loop'
/home/vvf/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld: .pio/build/esp12e/libFrameworkArduino.a(core_esp8266_main.cpp.o): in function loop_wrapper()': core_esp8266_main.cpp:(.text._ZL12loop_wrapperv+0x21): undefined reference to
setup'
/home/vvf/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld: core_esp8266_main.cpp:(.text._ZL12loop_wrapperv+0x2d): undefined reference to `loop'
collect2: error: ld returned 1 exit status
*** [.pio/build/esp12e/firmware.elf] Error 1
========================== [FAILED] Took 1.64 seconds ==========================
The terminal process "platformio 'remote', 'run', '--target', 'upload'" terminated with exit code: 1.Terminal will be reused by tasks, press any key to close it. `
Still not worked! When build local - found all dependencies and compile. I tried to cleanup and than remote upload - all the same.
same issue on platformio 5.2.0 with any platform espressif8266 > 2.5.1
local PIO version 4.3.4 remote PIO version 4.3.4 for every espressif8266 platform version > 2.5.1 I get this error when I'm trying to upload firmware remotely -
espressif8266@2.5.1 is the last one that works correctly.