Newest PlatformIO platform package will not build homie-esp8266 (on linux) with:
Linking .pio/build/nodemcuv2/firmware.elf
.pio/build/nodemcuv2/libFrameworkArduino.a(core_esp8266_postmortem.cpp.o): in function `__wrap_system_restart_local':
core_esp8266_postmortem.cpp:(.text.__wrap_system_restart_local+0x2): dangerous relocation: j: cannot encode: (.text.postmortem_report+0x88)
collect2: error: ld returned 1 exit status
*** [.pio/build/nodemcuv2/firmware.elf] Error 1
platformio.ini:
[env:nodemcuv2]
; 4.2.0 is newest at time of writing, locking version for clarity
platform = espressif8266@4.2.0
framework = arduino
board = nodemcuv2
lib_deps = git+https://github.com/homieiot/homie-esp8266.git#develop
Current workaround is downgrading platform to platform = espressif8266@4.1.0
I don't know what this error is about. Yet. We need to lock platform version for stable because right now a new install from PlatformIO will not build.
Newest PlatformIO platform package will not build homie-esp8266 (on linux) with:
platformio.ini:
platformio pkg list:
Current workaround is downgrading platform to
platform = espressif8266@4.1.0
I don't know what this error is about. Yet. We need to lock platform version for stable because right now a new install from PlatformIO will not build.