Esp8266 FreeRTOS Cannot find all the include files

Hi, I was wondering if anybody has had this problem and could point me to how I could fix it.

I am trying to write a esp8266 RTOS application where I am using freertos event groups. However when I include freertos/event_groups.h in my source I get src/main.c:10:35: fatal error: freertos/event_groups.h: No such file or directory.

I was going to add it to the build but I cannot even find the header file freertos/event_groups.h under .platformio

Please provide your full platformio.ini and main.c.