Importing FreeRTOS files in a different source file in Eclipse

numbMr
Posts: 3
Joined: Mon Aug 17, 2020 3:37 pm

Importing FreeRTOS files in a different source file in Eclipse

Postby numbMr » Tue Aug 25, 2020 3:10 am

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"

Who is online

Users browsing this forum: No registered users and 79 guests