Page 1 of 1

Importing FreeRTOS files in a different source file in Eclipse

Posted: Tue Aug 25, 2020 3:10 am
by numbMr
Upon creating an ESPRESSIF project in Eclipse, I see the following includes already exists in `main`.

Code: Select all

#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "freertos/event_groups.h"
#include "esp_syst"
#include "esp_wifi.h"
#include "esp_event.h"
#include "esp_log.h"
#include "nvs_flash.h"
I guess it's referring to the path defined in `IDF_PATH`. But how do you go about using these files in any other source file?

// file1.c
#include "lwip/sockets.h" // Unresolved inclusion: "lwip/sockets.h"