Arduino 1.8.1 ESP8266 FreeRTOS issue

Hello experts,

My environment is Win7, Arduino 1.8.1. I have installed from board manager ESP8266 board. Then I install from Library Manager FreeRTOS because I would like to RTOS for ESP8266.
The Arduino folder is:
C:\Program Files (x86)\Arduino

I include Arduino_FreeRTOS.h in my c file:

#include <Arduino_FreeRTOS.h>

But when try to build an error message appears:

In file included from C:\Users\cecooo\Documents\Arduino\libraries\FreeRTOS\src/Arduino_FreeRTOS.h:94:0,

from C:\Users\cecooo\Documents\Arduino\dht22_pooling\dht22_pooling.ino:2:

C:\Users\cecooo\Documents\Arduino\libraries\FreeRTOS\src/FreeRTOSConfig.h:73:20: fatal error: avr/io.h: No such file or directory

#include <avr/io.h>

^

compilation terminated.

exit status 1
Error compiling for board Generic ESP8266 Module.

Could you help me to find what is wrong?

That library only supports AVR-based boards.

There is a different RTOS for ESP8266 - you might want to go to the ESP8266 forum for more info (or do some more indepth research); this forum isn't that great for most ESP8266 questions (it is very heavily skewed towards AVR boards like the Uno/etc, and to a lesser extent SAM boards like the due/zero/MKR1000)

'Thank you for quick response, DrAzzy!

Did you fixed this issue?

I am also getting the same error.

could you tale me is possible or I should switch from RTOS to normal code.