Hi all,
I try to connect the idle hook for ESP32 and ESP8266.
I do the following in my main.cpp file:
#include “esp_freertos_hooks.h”
…
bool myTestIdleHook(void)
{
…
return true;
}
…
esp_register_freertos_idle_hook(myTestIdleHook);
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?
Kind regards,
Rolf