freertos,esp32: automatic light sleep support

This commit is contained in:
Ivan Grokhotkov
2018-04-12 18:18:45 +08:00
committed by bot
parent 51aceaa030
commit 028fbb58e8
9 changed files with 404 additions and 8 deletions

View File

@@ -59,6 +59,10 @@ void esp_vApplicationIdleHook()
#ifdef CONFIG_PM_ENABLE
esp_pm_impl_idle_hook();
#endif
}
extern void esp_vApplicationWaitiHook( void )
{
asm("waiti 0");
}