I made several changes in ethernetif.c pbuf_ref(p);
if (HAL_ETH_Transmit_IT(&heth, &TxConfig) == HAL_OK) {
while(osSemaphoreAcquire(TxPktSemaphore, TIME_WAITING_FOR_INPUT)!=osOK)
{
}
HAL_ETH_ReleaseTxPacket(&heth);
} else {
pbuf_free(p);
}
////...
I am already using it as template The changes i did in ethernetif.c was recommended in other posts. Still dealing with overflow with increasing stack size