boards/risc-v/espressif: Add DFS board support

Add DFS board support for risc-v based Espressif devices

Signed-off-by: Eren Terzioglu <eren.terzioglu@espressif.com>
This commit is contained in:
Eren Terzioglu
2026-04-01 15:31:40 +02:00
committed by simbit18
parent 56a4a05b34
commit 54b3edae0a
4 changed files with 17 additions and 3 deletions
@@ -461,7 +461,7 @@ int esp_bringup(void)
}
#endif /* CONFIG_ESPRESSIF_LEDC */
#ifdef CONFIG_ESPRESSIF_AUTO_SLEEP
#ifdef CONFIG_PM
/* Configure PM */
ret = esp_pmconfigure();
@@ -509,7 +509,7 @@ int esp_bringup(void)
}
#endif
#ifdef CONFIG_ESPRESSIF_AUTO_SLEEP
#ifdef CONFIG_PM
/* Configure PM */
ret = esp_pmconfigure();
@@ -451,7 +451,7 @@ int esp_bringup(void)
}
#endif
#ifdef CONFIG_ESPRESSIF_AUTO_SLEEP
#ifdef CONFIG_PM
/* Configure PM */
ret = esp_pmconfigure();
@@ -109,6 +109,10 @@
# include "esp_board_adc.h"
#endif
#ifdef CONFIG_PM
# include "espressif/esp_pm.h"
#endif
#ifdef CONFIG_SYSTEM_NXDIAG_ESPRESSIF_CHIP_WO_TOOL
# include "espressif/esp_nxdiag.h"
#endif
@@ -423,6 +427,16 @@ int esp_bringup(void)
}
#endif
#ifdef CONFIG_PM
/* Configure PM */
ret = esp_pmconfigure();
if (ret < 0)
{
syslog(LOG_ERR, "ERROR: esp_pmconfigure failed: %d\n", ret);
}
#endif
#ifdef CONFIG_SYSTEM_NXDIAG_ESPRESSIF_CHIP_WO_TOOL
ret = esp_nxdiag_initialize();
if (ret < 0)