I try to connect the idle hook for ESP32 and ESP8266.
I do the following in my main.cpp file:
On the ESP32 platform, I can compile without error, but on ESP8266 platform, I get the following error:
“fatal error: esp_freertos_hooks.h: No such file or directory”
Can anybody help me please?