Hello Diana & Carl,
@Diana : first of all i tried to remove FreeRTOS component and it was automatically changed in LWIP into baremetal automatically like you said. However, there is still an error and its unknown. But i want please to know how to ping anyhow, i have the same board s32k148 and phy_tja1101 and automotive Eth converter fc602. I runned the project phy_tja1101, and LED is green. but in this project there is not tcpip stack. in lwip project i can not ping.
@Carl: could you please let me know how did you ping your board? i have also tja1101, did you just run lwip project and it was working or you had to include TJA1101 Phy driver yourself beside the lwip project?