feat(lp_core): added support for LP-IO as LP-core wakeup source

This commit is contained in:
Marius Vikhammer
2024-07-01 16:56:44 +08:00
parent 7d8231c0c1
commit b4c501374f
9 changed files with 192 additions and 1 deletions

View File

@@ -130,7 +130,7 @@ esp_err_t ulp_lp_core_run(ulp_lp_core_cfg_t* cfg)
}
#endif
if (cfg->wakeup_source & (ULP_LP_CORE_WAKEUP_SOURCE_LP_UART | ULP_LP_CORE_WAKEUP_SOURCE_LP_IO)) {
if (cfg->wakeup_source & (ULP_LP_CORE_WAKEUP_SOURCE_LP_UART)) {
ESP_LOGE(TAG, "Wake-up source not yet supported");
return ESP_ERR_INVALID_ARG;
}