ESP8266 + JAndrassy/EthernetENC - Soft WDT reset occurring randomly

Hallo dear Community,

I’m porting a working firmware from Arduino IDE to PlatformIO, most things went alright but ENC ethernet is behaving weirdly.

I added the EthernetENC library to the projects lib because I wanted to debug the code (but adding lib_deps = jandrassy/EthernetENC@^2.0.3 to .ini also works the same).

I manage to debug it down to EthernetClient.cpp:205

Enc28J60Network::writePacket(u->packets_out[p],u->out_pos,(uint8_t*)buf+size-remain,remain);

This instructions triggers a Soft WDT reset on random calls. Sometimes it works, sometimes it doesn’t.

Any light guys? Any experiences using this combination of things?
Thanks all