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

Can't build due to errors #62

Open
TimvHulten opened this issue Jul 20, 2023 · 1 comment
Open

Can't build due to errors #62

TimvHulten opened this issue Jul 20, 2023 · 1 comment

Comments

@TimvHulten
Copy link

I am probably doing something wrong myself since I have never used PIO or VSC before. however I can't build the files to transfer to the ESP8266. I have 23 issues. However the build fails with the following message:

.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

Does anybody know what I am doing wrong?

@TimvHulten
Copy link
Author

After some trial and error I found the solution.

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

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