ThomDietrich / SenseoWifi

Wifi'ify the Senseo coffee maker. Circuit and firmware for an internal Senseo hack to monitor and control the daily coffee brew (via MQTT) ☕️📶
GNU General Public License v3.0
90 stars 23 forks source link

Build error: core_esp8266_postmortem.cpp:(.text.__wrap_system_restart_local+0x2): dangerous relocation: #64

Open TonKro opened 1 year ago

TonKro commented 1 year ago

I do get an error during building:

Linking .pio\build\senseo-wifi\firmware.elf .pio\build\senseo-wifi\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.exe: error: ld returned 1 exit status *** [.pio\build\senseo-wifi\firmware.elf] Error 1

What am I doing wrong?

TonKro commented 1 year ago

In platform.ini you have to change the credentials under platform from espressif to espressif8266@4.1.0

[env:senseo-wifi] platform = espressif8266@4.1.0