can't create RAW SOCKET FeeRTOS+LWIP
I'm trying to create a project on the Nucleo-STM32H743ZI, in which I want to implement the ICMP protocol on remote hosts. I took the example of LWIP contrib-2.0.1. The problem is that when creating a RAW SOCKET, it always returns -1.
socket = lwip_socket (AF_INET, SOCK_RAW, IPPROTO_ICMP);
In this case, if you create a SOCK_DGRAM or SOCK_STREAM, then everything is successfully created.
What am I doing wrong?
