Using esp_ping.h

dieguito
Posts: 2
Joined: Thu Sep 20, 2018 8:44 am

Using esp_ping.h

Postby dieguito » Thu Sep 20, 2018 9:17 am

Hello all.

I am sure this is very silly, but I am afraid I am stuck.

I am trying to ping a network device from a ESP32-WROOM32 module built into an Olimex ESP32-EVB board. Following the hints provided in this post, I am trying to include header files esp_ping.h and ping.h in my main .c file, but I always run into the same compilation error:

Code: Select all

...
CC build/main/ping.o
C:/msys32/home/dieguito/v3.1/ping/main/ping.c:15:22: fatal error: esp_ping.h: No such file or directory
compilation terminated.
...
These header files seem to be located in the directory "$(IDF_PATH)/components/lwip/include/apps/ping", so I have tried including them with different portions of their relative paths, without success. I have also tried adding the directory to the component.mk project file, using a COMPONENT_ADD_INCLUDEDIRS := $(IDF_PATH)/components/lwip/include/apps/ping variable, but I am very new to ESP32 and ESP-IDF and I do not think I am doing it correctly, because the exact same problem persists in all my attempts.

Can anybody please explain to me how to use esp_ping.h and ping.h in my project, or at least point me to some documentation where I can learn how to properly configure my project?

Thanks in advance.

ESP_igrr
Posts: 2072
Joined: Tue Dec 01, 2015 8:37 am

Re: Using esp_ping.h

Postby ESP_igrr » Thu Sep 20, 2018 2:33 pm

Sorry, this is a regression in latest master. Will be fixed shortly.

Who is online

Users browsing this forum: abbas1375, Bing [Bot], ESP_Roland, Google [Bot], ok-home and 75 guests