You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@chessweb01 I have tested a few of the examples (Blink, FSBrowser, SPISlave_Master) and wasn't able to reproduce this issue. Please attach a sketch which demonstrates the issue.
I remember that using buildflag 'long calls' introduced this linker error. That is caused by the fact that file gdbstub_init.S is word or byte-alligned. So I inserted 'align 4' before the functions. Hope this works for you.
I added #include <GDBStub.h> to my sketch for NodeMCU v1.0 and got the following linker error:
.pioenvs\nodemcuv2\lib\GDBStub\internal\gdbstub.o: In function `gdbReadCommand$part$3':
gdbstub.c:(.iram.text+0x6f9): dangerous relocation: call0: misaligned call target: gdbstub_set_hw_breakpoint
gdbstub.c:(.iram.text+0x796): dangerous relocation: call0: misaligned call target: gdbstub_del_hw_watchpoint
The text was updated successfully, but these errors were encountered: