esp_pm: Disable esp_pm when SMP FreeRTOS is enabled

SMP FreeRTOS currently does not support power management yet. This
commit makes SMP FreeRTOS and esp_pm mutually exclusive.
This commit is contained in:
Darian Leung 2022-06-15 16:17:59 +08:00
parent 074c708cf0
commit 546a7fc495
6 changed files with 12 additions and 0 deletions

View File

@ -1,6 +1,8 @@
menu "Power Management"
config PM_ENABLE
bool "Support for power management"
# SMP FreeRTOS currently does not support power management IDF-4997
depends on !FREERTOS_SMP
default n
help
If enabled, application is compiled with support for power management.

View File

@ -3,3 +3,5 @@ TEST_COMPONENTS=esp_pm
CONFIG_PM_ENABLE=y
CONFIG_FREERTOS_USE_TICKLESS_IDLE=y
CONFIG_ULP_COPROC_TYPE_FSM=y
# SMP FreeRTOS currently does not support power management IDF-4997
CONFIG_FREERTOS_SMP=n

View File

@ -2,3 +2,5 @@ CONFIG_IDF_TARGET="esp32c2"
TEST_COMPONENTS=esp_pm
CONFIG_PM_ENABLE=y
CONFIG_FREERTOS_USE_TICKLESS_IDLE=y
# SMP FreeRTOS currently does not support power management IDF-4997
CONFIG_FREERTOS_SMP=n

View File

@ -2,3 +2,5 @@ CONFIG_IDF_TARGET="esp32c3"
TEST_COMPONENTS=esp_pm
CONFIG_PM_ENABLE=y
CONFIG_FREERTOS_USE_TICKLESS_IDLE=y
# SMP FreeRTOS currently does not support power management IDF-4997
CONFIG_FREERTOS_SMP=n

View File

@ -3,3 +3,5 @@ TEST_COMPONENTS=esp_pm
CONFIG_PM_ENABLE=y
CONFIG_FREERTOS_USE_TICKLESS_IDLE=y
CONFIG_ULP_COPROC_TYPE_FSM=y
# SMP FreeRTOS currently does not support power management IDF-4997
CONFIG_FREERTOS_SMP=n

View File

@ -3,3 +3,5 @@ TEST_COMPONENTS=esp_pm
CONFIG_PM_ENABLE=y
CONFIG_FREERTOS_USE_TICKLESS_IDLE=y
CONFIG_ULP_COPROC_TYPE_FSM=y
# SMP FreeRTOS currently does not support power management IDF-4997
CONFIG_FREERTOS_SMP=n