diff --git a/components/esp_hw_support/CMakeLists.txt b/components/esp_hw_support/CMakeLists.txt index 29a65a9303..e5eced1814 100644 --- a/components/esp_hw_support/CMakeLists.txt +++ b/components/esp_hw_support/CMakeLists.txt @@ -5,15 +5,25 @@ if(${target} STREQUAL "esp32") list(APPEND requires efuse) endif() +set(priv_requires efuse) + set(srcs "compare_set.c" "cpu_util.c") if(NOT BOOTLOADER_BUILD) - list(APPEND srcs "esp_clk.c" "clk_ctrl_os.c" "mac_addr.c" "hw_random.c") + list(APPEND srcs "esp_async_memcpy.c" + "esp_clk.c" + "clk_ctrl_os.c" + "hw_random.c" + "intr_alloc.c" + "mac_addr.c" + "sleep_modes.c") + list(APPEND priv_requires esp_ipc) endif() idf_component_register(SRCS ${srcs} INCLUDE_DIRS include include/soc + PRIV_INCLUDE_DIRS port/include REQUIRES ${requires} - PRIV_REQUIRES efuse + PRIV_REQUIRES ${priv_requires} LDFRAGMENTS linker.lf) idf_build_get_property(target IDF_TARGET) diff --git a/components/esp_hw_support/Kconfig b/components/esp_hw_support/Kconfig index f887d100ac..22b4b6a56f 100644 --- a/components/esp_hw_support/Kconfig +++ b/components/esp_hw_support/Kconfig @@ -15,4 +15,19 @@ menu "Hardware Settings" # Insert chip-specific MAC config rsource "./port/$IDF_TARGET/Kconfig.mac" endmenu + + menu "Sleep Config" + # This is here since this option affect behavior of esp_light_sleep_start + # regardless of power management configuration. + config ESP_SLEEP_POWER_DOWN_FLASH + bool "Power down flash in light sleep when there is no SPIRAM" + depends on !SPIRAM + default y + help + If enabled, chip will try to power down flash as part of esp_light_sleep_start(), which costs + more time when chip wakes up. Can only be enabled if there is no SPIRAM configured. + This option will in fact consider VDD_SDIO auto power value (ESP_PD_OPTION_AUTO) as OFF. Also, it is + possible to force a power domain to stay ON during light sleep by using esp_sleep_pd_config() + function. + endmenu endmenu diff --git a/components/esp_hw_support/component.mk b/components/esp_hw_support/component.mk index b86f339418..77028dbada 100644 --- a/components/esp_hw_support/component.mk +++ b/components/esp_hw_support/component.mk @@ -5,5 +5,7 @@ COMPONENT_ADD_LDFRAGMENTS := linker.lf port/$(IDF_TARGET)/rtc_clk.o: CFLAGS += -fno-jump-tables -fno-tree-switch-conversion ifdef IS_BOOTLOADER_BUILD -COMPONENT_OBJEXCLUDE += clk_ctrl_os.o mac_addr.o +COMPONENT_OBJEXCLUDE += clk_ctrl_os.o mac_addr.o esp_async_memcpy.o intr_alloc.o sleep_modes.o endif + +COMPONENT_OBJEXCLUDE += esp_async_memcpy.o diff --git a/components/esp_system/esp_async_memcpy.c b/components/esp_hw_support/esp_async_memcpy.c similarity index 100% rename from components/esp_system/esp_async_memcpy.c rename to components/esp_hw_support/esp_async_memcpy.c diff --git a/components/esp_system/include/esp_async_memcpy.h b/components/esp_hw_support/include/esp_async_memcpy.h similarity index 100% rename from components/esp_system/include/esp_async_memcpy.h rename to components/esp_hw_support/include/esp_async_memcpy.h diff --git a/components/esp_system/include/esp_intr_alloc.h b/components/esp_hw_support/include/esp_intr_alloc.h similarity index 100% rename from components/esp_system/include/esp_intr_alloc.h rename to components/esp_hw_support/include/esp_intr_alloc.h diff --git a/components/esp_system/include/esp_sleep.h b/components/esp_hw_support/include/esp_sleep.h similarity index 98% rename from components/esp_system/include/esp_sleep.h rename to components/esp_hw_support/include/esp_sleep.h index d84933cde5..1d81f716a8 100644 --- a/components/esp_system/include/esp_sleep.h +++ b/components/esp_hw_support/include/esp_sleep.h @@ -441,6 +441,18 @@ void esp_default_wake_deep_sleep(void); */ void esp_deep_sleep_disable_rom_logging(void); +#ifdef SOC_PM_SUPPORT_CPU_PD +/** + * @brief CPU Power down low-level initialize + * + * @param enable enable or disable CPU power down during light sleep + * @return + * - ESP_OK on success + * - ESP_ERR_NO_MEM not enough retention memory + */ +esp_err_t esp_sleep_cpu_pd_low_init(bool enable); +#endif + #if SOC_GPIO_SUPPORT_SLP_SWITCH /** * @brief Configure to isolate all GPIO pins in sleep state diff --git a/components/esp_system/intr_alloc.c b/components/esp_hw_support/intr_alloc.c similarity index 100% rename from components/esp_system/intr_alloc.c rename to components/esp_hw_support/intr_alloc.c diff --git a/components/esp_system/port/async_memcpy_impl_gdma.c b/components/esp_hw_support/port/async_memcpy_impl_gdma.c similarity index 100% rename from components/esp_system/port/async_memcpy_impl_gdma.c rename to components/esp_hw_support/port/async_memcpy_impl_gdma.c diff --git a/components/esp_hw_support/port/esp32c3/CMakeLists.txt b/components/esp_hw_support/port/esp32c3/CMakeLists.txt index c1fd4834e6..99b1f7929b 100644 --- a/components/esp_hw_support/port/esp32c3/CMakeLists.txt +++ b/components/esp_hw_support/port/esp32c3/CMakeLists.txt @@ -8,6 +8,10 @@ set(srcs "cpu_util_esp32c3.c" "chip_info.c" ) +if(NOT BOOTLOADER_BUILD) + list(APPEND srcs "../async_memcpy_impl_gdma.c") +endif() + add_prefix(srcs "${CMAKE_CURRENT_LIST_DIR}/" "${srcs}") target_sources(${COMPONENT_LIB} PRIVATE "${srcs}") diff --git a/components/esp_hw_support/port/esp32s2/CMakeLists.txt b/components/esp_hw_support/port/esp32s2/CMakeLists.txt index b7511af622..3dbb8190e0 100644 --- a/components/esp_hw_support/port/esp32s2/CMakeLists.txt +++ b/components/esp_hw_support/port/esp32s2/CMakeLists.txt @@ -13,6 +13,10 @@ set(srcs "chip_info.c" ) +if(NOT BOOTLOADER_BUILD) + list(APPEND srcs "async_memcpy_impl_cp_dma.c") +endif() + add_prefix(srcs "${CMAKE_CURRENT_LIST_DIR}/" "${srcs}") target_sources(${COMPONENT_LIB} PRIVATE "${srcs}") diff --git a/components/esp_system/port/soc/esp32s2/async_memcpy_impl_cp_dma.c b/components/esp_hw_support/port/esp32s2/async_memcpy_impl_cp_dma.c similarity index 100% rename from components/esp_system/port/soc/esp32s2/async_memcpy_impl_cp_dma.c rename to components/esp_hw_support/port/esp32s2/async_memcpy_impl_cp_dma.c diff --git a/components/esp_hw_support/port/esp32s3/CMakeLists.txt b/components/esp_hw_support/port/esp32s3/CMakeLists.txt index 93f125d65c..5f1a9d2f9b 100644 --- a/components/esp_hw_support/port/esp32s3/CMakeLists.txt +++ b/components/esp_hw_support/port/esp32s3/CMakeLists.txt @@ -12,6 +12,10 @@ set(srcs "chip_info.c" ) +if(NOT BOOTLOADER_BUILD) + list(APPEND srcs "../async_memcpy_impl_gdma.c") +endif() + add_prefix(srcs "${CMAKE_CURRENT_LIST_DIR}/" "${srcs}") target_sources(${COMPONENT_LIB} PRIVATE "${srcs}") diff --git a/components/esp_system/port/include/esp_async_memcpy_impl.h b/components/esp_hw_support/port/include/esp_async_memcpy_impl.h similarity index 97% rename from components/esp_system/port/include/esp_async_memcpy_impl.h rename to components/esp_hw_support/port/include/esp_async_memcpy_impl.h index 0b3c8b2b8c..80aac5c0fe 100644 --- a/components/esp_system/port/include/esp_async_memcpy_impl.h +++ b/components/esp_hw_support/port/include/esp_async_memcpy_impl.h @@ -12,6 +12,10 @@ // See the License for the specific language governing permissions and // limitations under the License. +#ifdef __cplusplus +extern "C" { +#endif + #include #include #include "esp_err.h" @@ -27,6 +31,7 @@ #include "esp_private/gdma.h" #endif + /** * @brief Type of async mcp implementation layer context * @@ -103,3 +108,7 @@ esp_err_t async_memcpy_impl_restart(async_memcpy_impl_t *impl); * @return True if both address are valid */ bool async_memcpy_impl_is_buffer_address_valid(async_memcpy_impl_t *impl, void *src, void *dst); + +#ifdef __cplusplus +} +#endif diff --git a/components/esp_hw_support/sdkconfig.rename b/components/esp_hw_support/sdkconfig.rename index c52ed568ce..efc2e1f820 100644 --- a/components/esp_hw_support/sdkconfig.rename +++ b/components/esp_hw_support/sdkconfig.rename @@ -4,3 +4,5 @@ CONFIG_NUMBER_OF_UNIVERSAL_MAC_ADDRESS CONFIG_ESP32_UNIVERSAL_MAC_ADDRESSES CONFIG_TWO_UNIVERSAL_MAC_ADDRESS CONFIG_ESP32_UNIVERSAL_MAC_ADDRESSES_TWO CONFIG_FOUR_UNIVERSAL_MAC_ADDRESS CONFIG_ESP32_UNIVERSAL_MAC_ADDRESSES_FOUR + +CONFIG_ESP_SYSTEM_PD_FLASH CONFIG_ESP_SLEEP_POWER_DOWN_FLASH diff --git a/components/esp_system/sleep_modes.c b/components/esp_hw_support/sleep_modes.c similarity index 99% rename from components/esp_system/sleep_modes.c rename to components/esp_hw_support/sleep_modes.c index 3013634d5b..66cc3ccd71 100644 --- a/components/esp_system/sleep_modes.c +++ b/components/esp_hw_support/sleep_modes.c @@ -1336,7 +1336,7 @@ static uint32_t get_power_down_flags(void) /** * VDD_SDIO power domain shall be kept on during the light sleep - * when CONFIG_ESP_SYSTEM_PD_FLASH is not set and off when it is set. + * when CONFIG_ESP_SLEEP_POWER_DOWN_FLASH is not set and off when it is set. * The application can still force the power domain to remain on by calling * `esp_sleep_pd_config` before getting into light sleep mode. * @@ -1344,7 +1344,7 @@ static uint32_t get_power_down_flags(void) * value of this field. */ if (s_config.pd_options[ESP_PD_DOMAIN_VDDSDIO] == ESP_PD_OPTION_AUTO) { -#ifdef CONFIG_ESP_SYSTEM_PD_FLASH +#ifdef CONFIG_ESP_SLEEP_POWER_DOWN_FLASH s_config.pd_options[ESP_PD_DOMAIN_VDDSDIO] = ESP_PD_OPTION_OFF; #else s_config.pd_options[ESP_PD_DOMAIN_VDDSDIO] = ESP_PD_OPTION_ON; diff --git a/components/esp_system/test/test_async_memcpy.c b/components/esp_hw_support/test/test_async_memcpy.c similarity index 100% rename from components/esp_system/test/test_async_memcpy.c rename to components/esp_hw_support/test/test_async_memcpy.c diff --git a/components/esp_system/test/test_intr_alloc.c b/components/esp_hw_support/test/test_intr_alloc.c similarity index 100% rename from components/esp_system/test/test_intr_alloc.c rename to components/esp_hw_support/test/test_intr_alloc.c diff --git a/components/esp_pm/Kconfig b/components/esp_pm/Kconfig index d06018213f..dc0e14422f 100644 --- a/components/esp_pm/Kconfig +++ b/components/esp_pm/Kconfig @@ -94,4 +94,12 @@ menu "Power Management" bool default n + config PM_POWER_DOWN_CPU_IN_LIGHT_SLEEP + bool "Power down CPU in light sleep" + depends on IDF_TARGET_ESP32C3 + default y + help + If enabled, the CPU will be powered down in light sleep. Enabling this option will consume + 1.68 KB of internal RAM and will reduce sleep current consumption by about 100 uA. + endmenu # "Power Management" diff --git a/components/esp_pm/linker.lf b/components/esp_pm/linker.lf index 2d9ea8d3ed..2abbeab151 100644 --- a/components/esp_pm/linker.lf +++ b/components/esp_pm/linker.lf @@ -11,6 +11,10 @@ entries: archive: libesp_hw_support.a entries: if PM_SLP_IRAM_OPT = y: + sleep_modes:esp_light_sleep_start (noflash) + sleep_modes:esp_sleep_enable_timer_wakeup (noflash) + sleep_modes:timer_wakeup_prepare (noflash) + sleep_modes:get_power_down_flags (noflash) rtc_init:rtc_vddsdio_get_config (noflash) esp_clk:esp_clk_slowclk_cal_set (noflash) esp_clk:esp_clk_slowclk_cal_get (noflash) @@ -22,10 +26,6 @@ entries: if PM_RTOS_IDLE_OPT = y: freertos_hooks:esp_vApplicationIdleHook (noflash) if PM_SLP_IRAM_OPT = y: - sleep_modes:esp_light_sleep_start (noflash) - sleep_modes:esp_sleep_enable_timer_wakeup (noflash) - sleep_modes:timer_wakeup_prepare (noflash) - sleep_modes:get_power_down_flags (noflash) task_wdt:idle_hook_cb (noflash) task_wdt:esp_task_wdt_reset (noflash) task_wdt:find_task_in_twdt_list (noflash) @@ -70,5 +70,5 @@ entries: gpio_hal_workaround:gpio_hal_sleep_pupd_config_unapply (noflash) gpio_hal_workaround:gpio_hal_sleep_mode_setup_wrapper (noflash) gpio_hal_workaround:gpio_hal_fun_pupd_restore (noflash) - if PM_SLP_IRAM_OPT = y && ESP_SYSTEM_PM_POWER_DOWN_CPU = y: + if PM_SLP_IRAM_OPT = y && PM_POWER_DOWN_CPU_IN_LIGHT_SLEEP = y: rtc_cntl_hal:rtc_cntl_hal_enable_cpu_retention (noflash) diff --git a/components/esp_pm/pm_impl.c b/components/esp_pm/pm_impl.c index 6405823362..599304987e 100644 --- a/components/esp_pm/pm_impl.c +++ b/components/esp_pm/pm_impl.c @@ -60,7 +60,6 @@ #include "esp32c3/clk.h" #include "esp32c3/pm.h" #include "driver/gpio.h" -#include "esp_private/sleep_modes.h" #endif #define MHZ (1000000) @@ -307,7 +306,7 @@ esp_err_t esp_pm_configure(const void* vconfig) esp_sleep_enable_gpio_switch(config->light_sleep_enable); #endif -#if CONFIG_ESP_SYSTEM_PM_POWER_DOWN_CPU && SOC_PM_SUPPORT_CPU_PD +#if CONFIG_PM_POWER_DOWN_CPU_IN_LIGHT_SLEEP && SOC_PM_SUPPORT_CPU_PD esp_err_t ret = esp_sleep_cpu_pd_low_init(config->light_sleep_enable); if (config->light_sleep_enable && ret != ESP_OK) { ESP_LOGW(TAG, "Failed to enable CPU power down during light sleep."); diff --git a/components/esp_pm/sdkconfig.rename b/components/esp_pm/sdkconfig.rename new file mode 100644 index 0000000000..c1ce6dbd66 --- /dev/null +++ b/components/esp_pm/sdkconfig.rename @@ -0,0 +1,3 @@ +# sdkconfig replacement configurations for deprecated options formatted as +# CONFIG_DEPRECATED_OPTION CONFIG_NEW_OPTION +CONFIG_ESP_SYSTEM_PM_POWER_DOWN_CPU CONFIG_PM_POWER_DOWN_CPU_IN_LIGHT_SLEEP diff --git a/components/esp_system/CMakeLists.txt b/components/esp_system/CMakeLists.txt index 2cde7bff29..66f22aad0b 100644 --- a/components/esp_system/CMakeLists.txt +++ b/components/esp_system/CMakeLists.txt @@ -13,15 +13,12 @@ else() list(APPEND srcs "crosscore_int.c" "esp_err.c" "freertos_hooks.c" - "intr_alloc.c" "int_wdt.c" - "esp_async_memcpy.c" "panic.c" "esp_system.c" "startup.c" "system_time.c" "stack_check.c" - "sleep_modes.c" "task_wdt.c") if(NOT (${target} STREQUAL "esp32c3") ) @@ -34,7 +31,7 @@ else() # [refactor-todo] requirements due to init code, # should be removable once using component init functions # link-time registration is used. - esp_pm app_update nvs_flash pthread app_trace esp_gdbstub esp_ipc + esp_pm app_update nvs_flash pthread app_trace esp_gdbstub espcoredump LDFRAGMENTS "linker.lf" "app.lf") add_subdirectory(port) diff --git a/components/esp_system/Kconfig b/components/esp_system/Kconfig index 22e7fddacc..5c892aaa50 100644 --- a/components/esp_system/Kconfig +++ b/components/esp_system/Kconfig @@ -83,24 +83,6 @@ menu "ESP System Settings" heap initialization order by early startup services and scheduler related code. Speed wise RTC fast memory operates on APB clock and hence does not have much performance impact. - config ESP_SYSTEM_PD_FLASH - bool "PD flash at light sleep when there is no SPIRAM" - depends on !SPIRAM - default y - help - If enabled, chip will try to power down flash at light sleep, which costs more time when chip wakes up. - Can only be enabled if there is no SPIRAM configured. This option will in fact consider VDD_SDIO auto power - value (ESP_PD_OPTION_AUTO) as OFF. Also, it is possible to force a power domain to stay ON during light - sleep by using esp_sleep_pd_config() function. - - config ESP_SYSTEM_PM_POWER_DOWN_CPU - bool "Power down CPU in light sleep" - depends on IDF_TARGET_ESP32C3 - default y - help - If enabled, the CPU will be powered down in light sleep. Enabling this option will consume - 1.68 KB of internal RAM and will reduce sleep current consumption by about 100 uA. - menu "Memory protection" config ESP_SYSTEM_MEMPROT_FEATURE diff --git a/components/esp_system/component.mk b/components/esp_system/component.mk index 4c25426b64..881d42b72d 100644 --- a/components/esp_system/component.mk +++ b/components/esp_system/component.mk @@ -11,7 +11,7 @@ else SOC_NAME := $(IDF_TARGET) COMPONENT_SRCDIRS := . -COMPONENT_ADD_INCLUDEDIRS := include +COMPONENT_ADD_INCLUDEDIRS := include port/public_compat COMPONENT_PRIV_INCLUDEDIRS := port/include port COMPONENT_ADD_LDFRAGMENTS += linker.lf app.lf diff --git a/components/esp_system/include/esp_private/sleep_modes.h b/components/esp_system/include/esp_private/sleep_modes.h deleted file mode 100644 index e1584a8b57..0000000000 --- a/components/esp_system/include/esp_private/sleep_modes.h +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2020 Espressif Systems (Shanghai) PTE LTD -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -#pragma once - -#include -#include -#include -#include "esp_err.h" - -#ifdef __cplusplus -extern "C" { -#endif - -#ifdef CONFIG_ESP_SYSTEM_PM_POWER_DOWN_CPU -/** - * @brief CPU Power down low-level initialize - * - * @param enable enable or disable CPU power down during light sleep - * @return - * - ESP_OK on success - * - ESP_ERR_NO_MEM not enough retention memory - */ -esp_err_t esp_sleep_cpu_pd_low_init(bool enable); -#endif - -#ifdef __cplusplus -} -#endif diff --git a/components/esp_system/port/CMakeLists.txt b/components/esp_system/port/CMakeLists.txt index ba256b0686..d37eb2a5c8 100644 --- a/components/esp_system/port/CMakeLists.txt +++ b/components/esp_system/port/CMakeLists.txt @@ -1,4 +1,5 @@ -target_include_directories(${COMPONENT_LIB} PRIVATE include . PUBLIC soc) +target_include_directories(${COMPONENT_LIB} PRIVATE . include PUBLIC soc) +target_include_directories(${COMPONENT_LIB} PUBLIC public_compat) set(srcs "cpu_start.c" "panic_handler.c" "brownout.c") add_prefix(srcs "${CMAKE_CURRENT_LIST_DIR}/" ${srcs}) diff --git a/components/esp_system/port/include/brownout.h b/components/esp_system/port/public_compat/brownout.h similarity index 100% rename from components/esp_system/port/include/brownout.h rename to components/esp_system/port/public_compat/brownout.h diff --git a/components/esp_system/port/include/cache_err_int.h b/components/esp_system/port/public_compat/cache_err_int.h similarity index 100% rename from components/esp_system/port/include/cache_err_int.h rename to components/esp_system/port/public_compat/cache_err_int.h diff --git a/components/esp_system/port/include/trax.h b/components/esp_system/port/public_compat/trax.h similarity index 97% rename from components/esp_system/port/include/trax.h rename to components/esp_system/port/public_compat/trax.h index 7d1f52ec2d..1322b7b585 100644 --- a/components/esp_system/port/include/trax.h +++ b/components/esp_system/port/public_compat/trax.h @@ -18,6 +18,10 @@ #include "xtensa-debug-module.h" #include "xt_trax.h" +#ifdef __cplusplus +extern "C" { +#endif + typedef enum { TRAX_DOWNCOUNT_WORDS, TRAX_DOWNCOUNT_INSTRUCTIONS @@ -70,3 +74,7 @@ int trax_start_trace(trax_downcount_unit_t units_until_stop); * @return esp_err_t */ int trax_trigger_traceend_after_delay(int delay); + +#ifdef __cplusplus +} +#endif diff --git a/components/esp_system/port/soc/esp32c3/CMakeLists.txt b/components/esp_system/port/soc/esp32c3/CMakeLists.txt index 72fa69ad6a..0725e3f02a 100644 --- a/components/esp_system/port/soc/esp32c3/CMakeLists.txt +++ b/components/esp_system/port/soc/esp32c3/CMakeLists.txt @@ -2,7 +2,6 @@ set(srcs "clk.c" "reset_reason.c" "system_internal.c" "cache_err_int.c" - "../../async_memcpy_impl_gdma.c" "apb_backup_dma.c" "../../arch/riscv/expression_with_stack.c" "../../arch/riscv/expression_with_stack_asm.S" diff --git a/components/esp_system/port/soc/esp32s2/CMakeLists.txt b/components/esp_system/port/soc/esp32s2/CMakeLists.txt index a9cc77a071..e8af06695e 100644 --- a/components/esp_system/port/soc/esp32s2/CMakeLists.txt +++ b/components/esp_system/port/soc/esp32s2/CMakeLists.txt @@ -1,5 +1,4 @@ -set(srcs "async_memcpy_impl_cp_dma.c" - "dport_panic_highint_hdl.S" +set(srcs "dport_panic_highint_hdl.S" "clk.c" "reset_reason.c" "system_internal.c" diff --git a/components/esp_system/port/soc/esp32s3/CMakeLists.txt b/components/esp_system/port/soc/esp32s3/CMakeLists.txt index 122b3fdf95..e8af06695e 100644 --- a/components/esp_system/port/soc/esp32s3/CMakeLists.txt +++ b/components/esp_system/port/soc/esp32s3/CMakeLists.txt @@ -3,7 +3,6 @@ set(srcs "dport_panic_highint_hdl.S" "reset_reason.c" "system_internal.c" "cache_err_int.c" - "../../async_memcpy_impl_gdma.c" "../../arch/xtensa/panic_arch.c" "../../arch/xtensa/panic_handler_asm.S" "../../arch/xtensa/expression_with_stack.c" diff --git a/docs/doxygen/Doxyfile_common b/docs/doxygen/Doxyfile_common index 774071eeb1..a58dd02636 100644 --- a/docs/doxygen/Doxyfile_common +++ b/docs/doxygen/Doxyfile_common @@ -228,7 +228,7 @@ INPUT = \ $(IDF_PATH)/components/heap/include/esp_heap_caps_init.h \ $(IDF_PATH)/components/heap/include/multi_heap.h \ ## Interrupt Allocation - $(IDF_PATH)/components/esp_system/include/esp_intr_alloc.h \ + $(IDF_PATH)/components/esp_hw_support/include/esp_intr_alloc.h \ ## Watchdogs ## NOTE: for two lines below header_file.inc is not used $(IDF_PATH)/components/esp_system/include/esp_int_wdt.h \ @@ -245,9 +245,9 @@ INPUT = \ ## ESP HTTPS OTA $(IDF_PATH)/components/esp_https_ota/include/esp_https_ota.h \ ## Sleep - $(IDF_PATH)/components/esp_system/include/esp_sleep.h \ + $(IDF_PATH)/components/esp_hw_support/include/esp_sleep.h \ ## Async memory copy - $(IDF_PATH)/components/esp_system/include/esp_async_memcpy.h \ + $(IDF_PATH)/components/esp_hw_support/include/esp_async_memcpy.h \ ## Logging $(IDF_PATH)/components/log/include/esp_log.h \ $(IDF_PATH)/components/esp_rom/include/esp_rom_sys.h \ diff --git a/docs/en/api-reference/peripherals/i2c.rst b/docs/en/api-reference/peripherals/i2c.rst index 083f864036..6830dacdb5 100644 --- a/docs/en/api-reference/peripherals/i2c.rst +++ b/docs/en/api-reference/peripherals/i2c.rst @@ -158,7 +158,7 @@ After the I2C driver is configured, install it by calling the function :cpp:func - Port number, one of the two port numbers from :cpp:type:`i2c_port_t` - Master or slave, selected from :cpp:type:`i2c_mode_t` - (Slave only) Size of buffers to allocate for sending and receiving data. As I2C is a master-centric bus, data can only go from the slave to the master at the master's request. Therefore, the slave will usually have a send buffer where the slave application writes data. The data remains in the send buffer to be read by the master at the master's own discretion. -- Flags for allocating the interrupt (see ESP_INTR_FLAG_* values in :component_file:`esp_system/include/esp_intr_alloc.h`) +- Flags for allocating the interrupt (see ESP_INTR_FLAG_* values in :component_file:`esp_hw_support/include/esp_intr_alloc.h`) .. _i2c-api-master-mode: diff --git a/docs/zh_CN/api-reference/peripherals/i2c.rst b/docs/zh_CN/api-reference/peripherals/i2c.rst index ef8e738cf4..f60e0af384 100644 --- a/docs/zh_CN/api-reference/peripherals/i2c.rst +++ b/docs/zh_CN/api-reference/peripherals/i2c.rst @@ -75,7 +75,7 @@ I2C 驱动程序管理在 I2C 总线上设备的通信,该驱动程序具备 - 端口号,从 :cpp:type:`i2c_port_t` 中二选一 - 主机或从机模式,从 :cpp:type:`i2c_mode_t` 中选择 - (仅限从机模式)分配用于在从机模式下发送和接收数据的缓存区大小。I2C 是一个以主机为中心的总线,数据只能根据主机的请求从从机传输到主机。因此,从机通常有一个发送缓存区,供从应用程序写入数据使用。数据保留在发送缓存区中,由主机自行读取。 -- 用于分配中断的标志(请参考 ESP_INTR_FLAG_* values in :component_file:`esp_system/include/esp_intr_alloc.h`) +- 用于分配中断的标志(请参考 ESP_INTR_FLAG_* values in :component_file:`esp_hw_support/include/esp_intr_alloc.h`) .. _i2c-api-master-mode: diff --git a/examples/bluetooth/bluedroid/ble/ble_ancs/sdkconfig.defaults.esp32c3 b/examples/bluetooth/bluedroid/ble/ble_ancs/sdkconfig.defaults.esp32c3 index 7fd8c2c99b..178e59e007 100644 --- a/examples/bluetooth/bluedroid/ble/ble_ancs/sdkconfig.defaults.esp32c3 +++ b/examples/bluetooth/bluedroid/ble/ble_ancs/sdkconfig.defaults.esp32c3 @@ -871,7 +871,7 @@ CONFIG_ESP_SYSTEM_PANIC_PRINT_REBOOT=y CONFIG_ESP_SYSTEM_SINGLE_CORE_MODE=y CONFIG_ESP_SYSTEM_RTC_FAST_MEM_AS_HEAP_DEPCHECK=y CONFIG_ESP_SYSTEM_ALLOW_RTC_FAST_MEM_AS_HEAP=y -CONFIG_ESP_SYSTEM_PD_FLASH=y +CONFIG_ESP_SLEEP_POWER_DOWN_FLASH=y # end of ESP System Settings # diff --git a/examples/bluetooth/bluedroid/ble/ble_ancs/sdkconfig.defaults.esp32s3 b/examples/bluetooth/bluedroid/ble/ble_ancs/sdkconfig.defaults.esp32s3 index 8edb823523..84ef1088ea 100644 --- a/examples/bluetooth/bluedroid/ble/ble_ancs/sdkconfig.defaults.esp32s3 +++ b/examples/bluetooth/bluedroid/ble/ble_ancs/sdkconfig.defaults.esp32s3 @@ -980,7 +980,7 @@ CONFIG_ESP_SYSTEM_PANIC_PRINT_REBOOT=y # CONFIG_ESP_SYSTEM_PANIC_GDBSTUB is not set CONFIG_ESP_SYSTEM_RTC_FAST_MEM_AS_HEAP_DEPCHECK=y # CONFIG_ESP_SYSTEM_ALLOW_RTC_FAST_MEM_AS_HEAP is not set -CONFIG_ESP_SYSTEM_PD_FLASH=y +CONFIG_ESP_SLEEP_POWER_DOWN_FLASH=y # end of ESP System Settings # diff --git a/examples/bluetooth/bluedroid/ble/ble_compatibility_test/sdkconfig.defaults.esp32c3 b/examples/bluetooth/bluedroid/ble/ble_compatibility_test/sdkconfig.defaults.esp32c3 index 7fd8c2c99b..178e59e007 100644 --- a/examples/bluetooth/bluedroid/ble/ble_compatibility_test/sdkconfig.defaults.esp32c3 +++ b/examples/bluetooth/bluedroid/ble/ble_compatibility_test/sdkconfig.defaults.esp32c3 @@ -871,7 +871,7 @@ CONFIG_ESP_SYSTEM_PANIC_PRINT_REBOOT=y CONFIG_ESP_SYSTEM_SINGLE_CORE_MODE=y CONFIG_ESP_SYSTEM_RTC_FAST_MEM_AS_HEAP_DEPCHECK=y CONFIG_ESP_SYSTEM_ALLOW_RTC_FAST_MEM_AS_HEAP=y -CONFIG_ESP_SYSTEM_PD_FLASH=y +CONFIG_ESP_SLEEP_POWER_DOWN_FLASH=y # end of ESP System Settings # diff --git a/examples/bluetooth/bluedroid/ble/ble_compatibility_test/sdkconfig.defaults.esp32s3 b/examples/bluetooth/bluedroid/ble/ble_compatibility_test/sdkconfig.defaults.esp32s3 index 8edb823523..84ef1088ea 100644 --- a/examples/bluetooth/bluedroid/ble/ble_compatibility_test/sdkconfig.defaults.esp32s3 +++ b/examples/bluetooth/bluedroid/ble/ble_compatibility_test/sdkconfig.defaults.esp32s3 @@ -980,7 +980,7 @@ CONFIG_ESP_SYSTEM_PANIC_PRINT_REBOOT=y # CONFIG_ESP_SYSTEM_PANIC_GDBSTUB is not set CONFIG_ESP_SYSTEM_RTC_FAST_MEM_AS_HEAP_DEPCHECK=y # CONFIG_ESP_SYSTEM_ALLOW_RTC_FAST_MEM_AS_HEAP is not set -CONFIG_ESP_SYSTEM_PD_FLASH=y +CONFIG_ESP_SLEEP_POWER_DOWN_FLASH=y # end of ESP System Settings # diff --git a/examples/bluetooth/bluedroid/ble/ble_eddystone/sdkconfig.defaults.esp32c3 b/examples/bluetooth/bluedroid/ble/ble_eddystone/sdkconfig.defaults.esp32c3 index 7fd8c2c99b..178e59e007 100644 --- a/examples/bluetooth/bluedroid/ble/ble_eddystone/sdkconfig.defaults.esp32c3 +++ b/examples/bluetooth/bluedroid/ble/ble_eddystone/sdkconfig.defaults.esp32c3 @@ -871,7 +871,7 @@ CONFIG_ESP_SYSTEM_PANIC_PRINT_REBOOT=y CONFIG_ESP_SYSTEM_SINGLE_CORE_MODE=y CONFIG_ESP_SYSTEM_RTC_FAST_MEM_AS_HEAP_DEPCHECK=y CONFIG_ESP_SYSTEM_ALLOW_RTC_FAST_MEM_AS_HEAP=y -CONFIG_ESP_SYSTEM_PD_FLASH=y +CONFIG_ESP_SLEEP_POWER_DOWN_FLASH=y # end of ESP System Settings # diff --git a/examples/bluetooth/bluedroid/ble/ble_eddystone/sdkconfig.defaults.esp32s3 b/examples/bluetooth/bluedroid/ble/ble_eddystone/sdkconfig.defaults.esp32s3 index 8edb823523..84ef1088ea 100644 --- a/examples/bluetooth/bluedroid/ble/ble_eddystone/sdkconfig.defaults.esp32s3 +++ b/examples/bluetooth/bluedroid/ble/ble_eddystone/sdkconfig.defaults.esp32s3 @@ -980,7 +980,7 @@ CONFIG_ESP_SYSTEM_PANIC_PRINT_REBOOT=y # CONFIG_ESP_SYSTEM_PANIC_GDBSTUB is not set CONFIG_ESP_SYSTEM_RTC_FAST_MEM_AS_HEAP_DEPCHECK=y # CONFIG_ESP_SYSTEM_ALLOW_RTC_FAST_MEM_AS_HEAP is not set -CONFIG_ESP_SYSTEM_PD_FLASH=y +CONFIG_ESP_SLEEP_POWER_DOWN_FLASH=y # end of ESP System Settings # diff --git a/examples/bluetooth/bluedroid/ble/ble_hid_device_demo/sdkconfig.defaults.esp32c3 b/examples/bluetooth/bluedroid/ble/ble_hid_device_demo/sdkconfig.defaults.esp32c3 index 7fd8c2c99b..178e59e007 100644 --- a/examples/bluetooth/bluedroid/ble/ble_hid_device_demo/sdkconfig.defaults.esp32c3 +++ b/examples/bluetooth/bluedroid/ble/ble_hid_device_demo/sdkconfig.defaults.esp32c3 @@ -871,7 +871,7 @@ CONFIG_ESP_SYSTEM_PANIC_PRINT_REBOOT=y CONFIG_ESP_SYSTEM_SINGLE_CORE_MODE=y CONFIG_ESP_SYSTEM_RTC_FAST_MEM_AS_HEAP_DEPCHECK=y CONFIG_ESP_SYSTEM_ALLOW_RTC_FAST_MEM_AS_HEAP=y -CONFIG_ESP_SYSTEM_PD_FLASH=y +CONFIG_ESP_SLEEP_POWER_DOWN_FLASH=y # end of ESP System Settings # diff --git a/examples/bluetooth/bluedroid/ble/ble_hid_device_demo/sdkconfig.defaults.esp32s3 b/examples/bluetooth/bluedroid/ble/ble_hid_device_demo/sdkconfig.defaults.esp32s3 index 8edb823523..84ef1088ea 100644 --- a/examples/bluetooth/bluedroid/ble/ble_hid_device_demo/sdkconfig.defaults.esp32s3 +++ b/examples/bluetooth/bluedroid/ble/ble_hid_device_demo/sdkconfig.defaults.esp32s3 @@ -980,7 +980,7 @@ CONFIG_ESP_SYSTEM_PANIC_PRINT_REBOOT=y # CONFIG_ESP_SYSTEM_PANIC_GDBSTUB is not set CONFIG_ESP_SYSTEM_RTC_FAST_MEM_AS_HEAP_DEPCHECK=y # CONFIG_ESP_SYSTEM_ALLOW_RTC_FAST_MEM_AS_HEAP is not set -CONFIG_ESP_SYSTEM_PD_FLASH=y +CONFIG_ESP_SLEEP_POWER_DOWN_FLASH=y # end of ESP System Settings # diff --git a/examples/bluetooth/bluedroid/ble/ble_ibeacon/sdkconfig.defaults.esp32c3 b/examples/bluetooth/bluedroid/ble/ble_ibeacon/sdkconfig.defaults.esp32c3 index 7fd8c2c99b..178e59e007 100644 --- a/examples/bluetooth/bluedroid/ble/ble_ibeacon/sdkconfig.defaults.esp32c3 +++ b/examples/bluetooth/bluedroid/ble/ble_ibeacon/sdkconfig.defaults.esp32c3 @@ -871,7 +871,7 @@ CONFIG_ESP_SYSTEM_PANIC_PRINT_REBOOT=y CONFIG_ESP_SYSTEM_SINGLE_CORE_MODE=y CONFIG_ESP_SYSTEM_RTC_FAST_MEM_AS_HEAP_DEPCHECK=y CONFIG_ESP_SYSTEM_ALLOW_RTC_FAST_MEM_AS_HEAP=y -CONFIG_ESP_SYSTEM_PD_FLASH=y +CONFIG_ESP_SLEEP_POWER_DOWN_FLASH=y # end of ESP System Settings # diff --git a/examples/bluetooth/bluedroid/ble/ble_ibeacon/sdkconfig.defaults.esp32s3 b/examples/bluetooth/bluedroid/ble/ble_ibeacon/sdkconfig.defaults.esp32s3 index 8edb823523..84ef1088ea 100644 --- a/examples/bluetooth/bluedroid/ble/ble_ibeacon/sdkconfig.defaults.esp32s3 +++ b/examples/bluetooth/bluedroid/ble/ble_ibeacon/sdkconfig.defaults.esp32s3 @@ -980,7 +980,7 @@ CONFIG_ESP_SYSTEM_PANIC_PRINT_REBOOT=y # CONFIG_ESP_SYSTEM_PANIC_GDBSTUB is not set CONFIG_ESP_SYSTEM_RTC_FAST_MEM_AS_HEAP_DEPCHECK=y # CONFIG_ESP_SYSTEM_ALLOW_RTC_FAST_MEM_AS_HEAP is not set -CONFIG_ESP_SYSTEM_PD_FLASH=y +CONFIG_ESP_SLEEP_POWER_DOWN_FLASH=y # end of ESP System Settings # diff --git a/examples/bluetooth/bluedroid/ble/ble_spp_client/sdkconfig.defaults.esp32c3 b/examples/bluetooth/bluedroid/ble/ble_spp_client/sdkconfig.defaults.esp32c3 index 7fd8c2c99b..178e59e007 100644 --- a/examples/bluetooth/bluedroid/ble/ble_spp_client/sdkconfig.defaults.esp32c3 +++ b/examples/bluetooth/bluedroid/ble/ble_spp_client/sdkconfig.defaults.esp32c3 @@ -871,7 +871,7 @@ CONFIG_ESP_SYSTEM_PANIC_PRINT_REBOOT=y CONFIG_ESP_SYSTEM_SINGLE_CORE_MODE=y CONFIG_ESP_SYSTEM_RTC_FAST_MEM_AS_HEAP_DEPCHECK=y CONFIG_ESP_SYSTEM_ALLOW_RTC_FAST_MEM_AS_HEAP=y -CONFIG_ESP_SYSTEM_PD_FLASH=y +CONFIG_ESP_SLEEP_POWER_DOWN_FLASH=y # end of ESP System Settings # diff --git a/examples/bluetooth/bluedroid/ble/ble_spp_client/sdkconfig.defaults.esp32s3 b/examples/bluetooth/bluedroid/ble/ble_spp_client/sdkconfig.defaults.esp32s3 index 8edb823523..84ef1088ea 100644 --- a/examples/bluetooth/bluedroid/ble/ble_spp_client/sdkconfig.defaults.esp32s3 +++ b/examples/bluetooth/bluedroid/ble/ble_spp_client/sdkconfig.defaults.esp32s3 @@ -980,7 +980,7 @@ CONFIG_ESP_SYSTEM_PANIC_PRINT_REBOOT=y # CONFIG_ESP_SYSTEM_PANIC_GDBSTUB is not set CONFIG_ESP_SYSTEM_RTC_FAST_MEM_AS_HEAP_DEPCHECK=y # CONFIG_ESP_SYSTEM_ALLOW_RTC_FAST_MEM_AS_HEAP is not set -CONFIG_ESP_SYSTEM_PD_FLASH=y +CONFIG_ESP_SLEEP_POWER_DOWN_FLASH=y # end of ESP System Settings # diff --git a/examples/bluetooth/bluedroid/ble/ble_spp_server/sdkconfig.defaults.esp32c3 b/examples/bluetooth/bluedroid/ble/ble_spp_server/sdkconfig.defaults.esp32c3 index 7fd8c2c99b..178e59e007 100644 --- a/examples/bluetooth/bluedroid/ble/ble_spp_server/sdkconfig.defaults.esp32c3 +++ b/examples/bluetooth/bluedroid/ble/ble_spp_server/sdkconfig.defaults.esp32c3 @@ -871,7 +871,7 @@ CONFIG_ESP_SYSTEM_PANIC_PRINT_REBOOT=y CONFIG_ESP_SYSTEM_SINGLE_CORE_MODE=y CONFIG_ESP_SYSTEM_RTC_FAST_MEM_AS_HEAP_DEPCHECK=y CONFIG_ESP_SYSTEM_ALLOW_RTC_FAST_MEM_AS_HEAP=y -CONFIG_ESP_SYSTEM_PD_FLASH=y +CONFIG_ESP_SLEEP_POWER_DOWN_FLASH=y # end of ESP System Settings # diff --git a/examples/bluetooth/bluedroid/ble/ble_spp_server/sdkconfig.defaults.esp32s3 b/examples/bluetooth/bluedroid/ble/ble_spp_server/sdkconfig.defaults.esp32s3 index 8edb823523..84ef1088ea 100644 --- a/examples/bluetooth/bluedroid/ble/ble_spp_server/sdkconfig.defaults.esp32s3 +++ b/examples/bluetooth/bluedroid/ble/ble_spp_server/sdkconfig.defaults.esp32s3 @@ -980,7 +980,7 @@ CONFIG_ESP_SYSTEM_PANIC_PRINT_REBOOT=y # CONFIG_ESP_SYSTEM_PANIC_GDBSTUB is not set CONFIG_ESP_SYSTEM_RTC_FAST_MEM_AS_HEAP_DEPCHECK=y # CONFIG_ESP_SYSTEM_ALLOW_RTC_FAST_MEM_AS_HEAP is not set -CONFIG_ESP_SYSTEM_PD_FLASH=y +CONFIG_ESP_SLEEP_POWER_DOWN_FLASH=y # end of ESP System Settings # diff --git a/examples/bluetooth/bluedroid/ble/ble_throughput/throughput_client/sdkconfig.defaults.esp32c3 b/examples/bluetooth/bluedroid/ble/ble_throughput/throughput_client/sdkconfig.defaults.esp32c3 index 7fd8c2c99b..178e59e007 100644 --- a/examples/bluetooth/bluedroid/ble/ble_throughput/throughput_client/sdkconfig.defaults.esp32c3 +++ b/examples/bluetooth/bluedroid/ble/ble_throughput/throughput_client/sdkconfig.defaults.esp32c3 @@ -871,7 +871,7 @@ CONFIG_ESP_SYSTEM_PANIC_PRINT_REBOOT=y CONFIG_ESP_SYSTEM_SINGLE_CORE_MODE=y CONFIG_ESP_SYSTEM_RTC_FAST_MEM_AS_HEAP_DEPCHECK=y CONFIG_ESP_SYSTEM_ALLOW_RTC_FAST_MEM_AS_HEAP=y -CONFIG_ESP_SYSTEM_PD_FLASH=y +CONFIG_ESP_SLEEP_POWER_DOWN_FLASH=y # end of ESP System Settings # diff --git a/examples/bluetooth/bluedroid/ble/ble_throughput/throughput_client/sdkconfig.defaults.esp32s3 b/examples/bluetooth/bluedroid/ble/ble_throughput/throughput_client/sdkconfig.defaults.esp32s3 index 8edb823523..84ef1088ea 100644 --- a/examples/bluetooth/bluedroid/ble/ble_throughput/throughput_client/sdkconfig.defaults.esp32s3 +++ b/examples/bluetooth/bluedroid/ble/ble_throughput/throughput_client/sdkconfig.defaults.esp32s3 @@ -980,7 +980,7 @@ CONFIG_ESP_SYSTEM_PANIC_PRINT_REBOOT=y # CONFIG_ESP_SYSTEM_PANIC_GDBSTUB is not set CONFIG_ESP_SYSTEM_RTC_FAST_MEM_AS_HEAP_DEPCHECK=y # CONFIG_ESP_SYSTEM_ALLOW_RTC_FAST_MEM_AS_HEAP is not set -CONFIG_ESP_SYSTEM_PD_FLASH=y +CONFIG_ESP_SLEEP_POWER_DOWN_FLASH=y # end of ESP System Settings # diff --git a/examples/bluetooth/bluedroid/ble/ble_throughput/throughput_server/sdkconfig.defaults.esp32c3 b/examples/bluetooth/bluedroid/ble/ble_throughput/throughput_server/sdkconfig.defaults.esp32c3 index 7fd8c2c99b..178e59e007 100644 --- a/examples/bluetooth/bluedroid/ble/ble_throughput/throughput_server/sdkconfig.defaults.esp32c3 +++ b/examples/bluetooth/bluedroid/ble/ble_throughput/throughput_server/sdkconfig.defaults.esp32c3 @@ -871,7 +871,7 @@ CONFIG_ESP_SYSTEM_PANIC_PRINT_REBOOT=y CONFIG_ESP_SYSTEM_SINGLE_CORE_MODE=y CONFIG_ESP_SYSTEM_RTC_FAST_MEM_AS_HEAP_DEPCHECK=y CONFIG_ESP_SYSTEM_ALLOW_RTC_FAST_MEM_AS_HEAP=y -CONFIG_ESP_SYSTEM_PD_FLASH=y +CONFIG_ESP_SLEEP_POWER_DOWN_FLASH=y # end of ESP System Settings # diff --git a/examples/bluetooth/bluedroid/ble/ble_throughput/throughput_server/sdkconfig.defaults.esp32s3 b/examples/bluetooth/bluedroid/ble/ble_throughput/throughput_server/sdkconfig.defaults.esp32s3 index 8edb823523..84ef1088ea 100644 --- a/examples/bluetooth/bluedroid/ble/ble_throughput/throughput_server/sdkconfig.defaults.esp32s3 +++ b/examples/bluetooth/bluedroid/ble/ble_throughput/throughput_server/sdkconfig.defaults.esp32s3 @@ -980,7 +980,7 @@ CONFIG_ESP_SYSTEM_PANIC_PRINT_REBOOT=y # CONFIG_ESP_SYSTEM_PANIC_GDBSTUB is not set CONFIG_ESP_SYSTEM_RTC_FAST_MEM_AS_HEAP_DEPCHECK=y # CONFIG_ESP_SYSTEM_ALLOW_RTC_FAST_MEM_AS_HEAP is not set -CONFIG_ESP_SYSTEM_PD_FLASH=y +CONFIG_ESP_SLEEP_POWER_DOWN_FLASH=y # end of ESP System Settings # diff --git a/examples/bluetooth/bluedroid/ble/blufi/sdkconfig.defaults.esp32c3 b/examples/bluetooth/bluedroid/ble/blufi/sdkconfig.defaults.esp32c3 index 8ba3abb184..91b94080a6 100644 --- a/examples/bluetooth/bluedroid/ble/blufi/sdkconfig.defaults.esp32c3 +++ b/examples/bluetooth/bluedroid/ble/blufi/sdkconfig.defaults.esp32c3 @@ -869,7 +869,7 @@ CONFIG_ESP_SYSTEM_PANIC_PRINT_REBOOT=y CONFIG_ESP_SYSTEM_SINGLE_CORE_MODE=y CONFIG_ESP_SYSTEM_RTC_FAST_MEM_AS_HEAP_DEPCHECK=y CONFIG_ESP_SYSTEM_ALLOW_RTC_FAST_MEM_AS_HEAP=y -CONFIG_ESP_SYSTEM_PD_FLASH=y +CONFIG_ESP_SLEEP_POWER_DOWN_FLASH=y # end of ESP System Settings # diff --git a/examples/bluetooth/bluedroid/ble/blufi/sdkconfig.defaults.esp32s3 b/examples/bluetooth/bluedroid/ble/blufi/sdkconfig.defaults.esp32s3 index 89d79b1c0f..0b22fcdaf4 100644 --- a/examples/bluetooth/bluedroid/ble/blufi/sdkconfig.defaults.esp32s3 +++ b/examples/bluetooth/bluedroid/ble/blufi/sdkconfig.defaults.esp32s3 @@ -980,7 +980,7 @@ CONFIG_ESP_SYSTEM_PANIC_PRINT_REBOOT=y # CONFIG_ESP_SYSTEM_PANIC_GDBSTUB is not set CONFIG_ESP_SYSTEM_RTC_FAST_MEM_AS_HEAP_DEPCHECK=y # CONFIG_ESP_SYSTEM_ALLOW_RTC_FAST_MEM_AS_HEAP is not set -CONFIG_ESP_SYSTEM_PD_FLASH=y +CONFIG_ESP_SLEEP_POWER_DOWN_FLASH=y # end of ESP System Settings # diff --git a/examples/bluetooth/bluedroid/ble/gatt_client/sdkconfig.defaults.esp32c3 b/examples/bluetooth/bluedroid/ble/gatt_client/sdkconfig.defaults.esp32c3 index 7fd8c2c99b..178e59e007 100644 --- a/examples/bluetooth/bluedroid/ble/gatt_client/sdkconfig.defaults.esp32c3 +++ b/examples/bluetooth/bluedroid/ble/gatt_client/sdkconfig.defaults.esp32c3 @@ -871,7 +871,7 @@ CONFIG_ESP_SYSTEM_PANIC_PRINT_REBOOT=y CONFIG_ESP_SYSTEM_SINGLE_CORE_MODE=y CONFIG_ESP_SYSTEM_RTC_FAST_MEM_AS_HEAP_DEPCHECK=y CONFIG_ESP_SYSTEM_ALLOW_RTC_FAST_MEM_AS_HEAP=y -CONFIG_ESP_SYSTEM_PD_FLASH=y +CONFIG_ESP_SLEEP_POWER_DOWN_FLASH=y # end of ESP System Settings # diff --git a/examples/bluetooth/bluedroid/ble/gatt_client/sdkconfig.defaults.esp32s3 b/examples/bluetooth/bluedroid/ble/gatt_client/sdkconfig.defaults.esp32s3 index 8edb823523..84ef1088ea 100644 --- a/examples/bluetooth/bluedroid/ble/gatt_client/sdkconfig.defaults.esp32s3 +++ b/examples/bluetooth/bluedroid/ble/gatt_client/sdkconfig.defaults.esp32s3 @@ -980,7 +980,7 @@ CONFIG_ESP_SYSTEM_PANIC_PRINT_REBOOT=y # CONFIG_ESP_SYSTEM_PANIC_GDBSTUB is not set CONFIG_ESP_SYSTEM_RTC_FAST_MEM_AS_HEAP_DEPCHECK=y # CONFIG_ESP_SYSTEM_ALLOW_RTC_FAST_MEM_AS_HEAP is not set -CONFIG_ESP_SYSTEM_PD_FLASH=y +CONFIG_ESP_SLEEP_POWER_DOWN_FLASH=y # end of ESP System Settings # diff --git a/examples/bluetooth/bluedroid/ble/gatt_security_client/sdkconfig.defaults.esp32c3 b/examples/bluetooth/bluedroid/ble/gatt_security_client/sdkconfig.defaults.esp32c3 index 7fd8c2c99b..178e59e007 100644 --- a/examples/bluetooth/bluedroid/ble/gatt_security_client/sdkconfig.defaults.esp32c3 +++ b/examples/bluetooth/bluedroid/ble/gatt_security_client/sdkconfig.defaults.esp32c3 @@ -871,7 +871,7 @@ CONFIG_ESP_SYSTEM_PANIC_PRINT_REBOOT=y CONFIG_ESP_SYSTEM_SINGLE_CORE_MODE=y CONFIG_ESP_SYSTEM_RTC_FAST_MEM_AS_HEAP_DEPCHECK=y CONFIG_ESP_SYSTEM_ALLOW_RTC_FAST_MEM_AS_HEAP=y -CONFIG_ESP_SYSTEM_PD_FLASH=y +CONFIG_ESP_SLEEP_POWER_DOWN_FLASH=y # end of ESP System Settings # diff --git a/examples/bluetooth/bluedroid/ble/gatt_security_client/sdkconfig.defaults.esp32s3 b/examples/bluetooth/bluedroid/ble/gatt_security_client/sdkconfig.defaults.esp32s3 index 8edb823523..84ef1088ea 100644 --- a/examples/bluetooth/bluedroid/ble/gatt_security_client/sdkconfig.defaults.esp32s3 +++ b/examples/bluetooth/bluedroid/ble/gatt_security_client/sdkconfig.defaults.esp32s3 @@ -980,7 +980,7 @@ CONFIG_ESP_SYSTEM_PANIC_PRINT_REBOOT=y # CONFIG_ESP_SYSTEM_PANIC_GDBSTUB is not set CONFIG_ESP_SYSTEM_RTC_FAST_MEM_AS_HEAP_DEPCHECK=y # CONFIG_ESP_SYSTEM_ALLOW_RTC_FAST_MEM_AS_HEAP is not set -CONFIG_ESP_SYSTEM_PD_FLASH=y +CONFIG_ESP_SLEEP_POWER_DOWN_FLASH=y # end of ESP System Settings # diff --git a/examples/bluetooth/bluedroid/ble/gatt_security_server/sdkconfig.defaults.esp32c3 b/examples/bluetooth/bluedroid/ble/gatt_security_server/sdkconfig.defaults.esp32c3 index 7fd8c2c99b..178e59e007 100644 --- a/examples/bluetooth/bluedroid/ble/gatt_security_server/sdkconfig.defaults.esp32c3 +++ b/examples/bluetooth/bluedroid/ble/gatt_security_server/sdkconfig.defaults.esp32c3 @@ -871,7 +871,7 @@ CONFIG_ESP_SYSTEM_PANIC_PRINT_REBOOT=y CONFIG_ESP_SYSTEM_SINGLE_CORE_MODE=y CONFIG_ESP_SYSTEM_RTC_FAST_MEM_AS_HEAP_DEPCHECK=y CONFIG_ESP_SYSTEM_ALLOW_RTC_FAST_MEM_AS_HEAP=y -CONFIG_ESP_SYSTEM_PD_FLASH=y +CONFIG_ESP_SLEEP_POWER_DOWN_FLASH=y # end of ESP System Settings # diff --git a/examples/bluetooth/bluedroid/ble/gatt_security_server/sdkconfig.defaults.esp32s3 b/examples/bluetooth/bluedroid/ble/gatt_security_server/sdkconfig.defaults.esp32s3 index 8edb823523..84ef1088ea 100644 --- a/examples/bluetooth/bluedroid/ble/gatt_security_server/sdkconfig.defaults.esp32s3 +++ b/examples/bluetooth/bluedroid/ble/gatt_security_server/sdkconfig.defaults.esp32s3 @@ -980,7 +980,7 @@ CONFIG_ESP_SYSTEM_PANIC_PRINT_REBOOT=y # CONFIG_ESP_SYSTEM_PANIC_GDBSTUB is not set CONFIG_ESP_SYSTEM_RTC_FAST_MEM_AS_HEAP_DEPCHECK=y # CONFIG_ESP_SYSTEM_ALLOW_RTC_FAST_MEM_AS_HEAP is not set -CONFIG_ESP_SYSTEM_PD_FLASH=y +CONFIG_ESP_SLEEP_POWER_DOWN_FLASH=y # end of ESP System Settings # diff --git a/examples/bluetooth/bluedroid/ble/gatt_server/sdkconfig.defaults.esp32c3 b/examples/bluetooth/bluedroid/ble/gatt_server/sdkconfig.defaults.esp32c3 index 7fd8c2c99b..178e59e007 100644 --- a/examples/bluetooth/bluedroid/ble/gatt_server/sdkconfig.defaults.esp32c3 +++ b/examples/bluetooth/bluedroid/ble/gatt_server/sdkconfig.defaults.esp32c3 @@ -871,7 +871,7 @@ CONFIG_ESP_SYSTEM_PANIC_PRINT_REBOOT=y CONFIG_ESP_SYSTEM_SINGLE_CORE_MODE=y CONFIG_ESP_SYSTEM_RTC_FAST_MEM_AS_HEAP_DEPCHECK=y CONFIG_ESP_SYSTEM_ALLOW_RTC_FAST_MEM_AS_HEAP=y -CONFIG_ESP_SYSTEM_PD_FLASH=y +CONFIG_ESP_SLEEP_POWER_DOWN_FLASH=y # end of ESP System Settings # diff --git a/examples/bluetooth/bluedroid/ble/gatt_server/sdkconfig.defaults.esp32s3 b/examples/bluetooth/bluedroid/ble/gatt_server/sdkconfig.defaults.esp32s3 index 8edb823523..84ef1088ea 100644 --- a/examples/bluetooth/bluedroid/ble/gatt_server/sdkconfig.defaults.esp32s3 +++ b/examples/bluetooth/bluedroid/ble/gatt_server/sdkconfig.defaults.esp32s3 @@ -980,7 +980,7 @@ CONFIG_ESP_SYSTEM_PANIC_PRINT_REBOOT=y # CONFIG_ESP_SYSTEM_PANIC_GDBSTUB is not set CONFIG_ESP_SYSTEM_RTC_FAST_MEM_AS_HEAP_DEPCHECK=y # CONFIG_ESP_SYSTEM_ALLOW_RTC_FAST_MEM_AS_HEAP is not set -CONFIG_ESP_SYSTEM_PD_FLASH=y +CONFIG_ESP_SLEEP_POWER_DOWN_FLASH=y # end of ESP System Settings # diff --git a/examples/bluetooth/bluedroid/ble/gatt_server_service_table/sdkconfig.defaults.esp32c3 b/examples/bluetooth/bluedroid/ble/gatt_server_service_table/sdkconfig.defaults.esp32c3 index 7fd8c2c99b..178e59e007 100644 --- a/examples/bluetooth/bluedroid/ble/gatt_server_service_table/sdkconfig.defaults.esp32c3 +++ b/examples/bluetooth/bluedroid/ble/gatt_server_service_table/sdkconfig.defaults.esp32c3 @@ -871,7 +871,7 @@ CONFIG_ESP_SYSTEM_PANIC_PRINT_REBOOT=y CONFIG_ESP_SYSTEM_SINGLE_CORE_MODE=y CONFIG_ESP_SYSTEM_RTC_FAST_MEM_AS_HEAP_DEPCHECK=y CONFIG_ESP_SYSTEM_ALLOW_RTC_FAST_MEM_AS_HEAP=y -CONFIG_ESP_SYSTEM_PD_FLASH=y +CONFIG_ESP_SLEEP_POWER_DOWN_FLASH=y # end of ESP System Settings # diff --git a/examples/bluetooth/bluedroid/ble/gatt_server_service_table/sdkconfig.defaults.esp32s3 b/examples/bluetooth/bluedroid/ble/gatt_server_service_table/sdkconfig.defaults.esp32s3 index 8edb823523..84ef1088ea 100644 --- a/examples/bluetooth/bluedroid/ble/gatt_server_service_table/sdkconfig.defaults.esp32s3 +++ b/examples/bluetooth/bluedroid/ble/gatt_server_service_table/sdkconfig.defaults.esp32s3 @@ -980,7 +980,7 @@ CONFIG_ESP_SYSTEM_PANIC_PRINT_REBOOT=y # CONFIG_ESP_SYSTEM_PANIC_GDBSTUB is not set CONFIG_ESP_SYSTEM_RTC_FAST_MEM_AS_HEAP_DEPCHECK=y # CONFIG_ESP_SYSTEM_ALLOW_RTC_FAST_MEM_AS_HEAP is not set -CONFIG_ESP_SYSTEM_PD_FLASH=y +CONFIG_ESP_SLEEP_POWER_DOWN_FLASH=y # end of ESP System Settings # diff --git a/examples/bluetooth/bluedroid/ble/gattc_multi_connect/sdkconfig.defaults.esp32c3 b/examples/bluetooth/bluedroid/ble/gattc_multi_connect/sdkconfig.defaults.esp32c3 index 7fd8c2c99b..178e59e007 100644 --- a/examples/bluetooth/bluedroid/ble/gattc_multi_connect/sdkconfig.defaults.esp32c3 +++ b/examples/bluetooth/bluedroid/ble/gattc_multi_connect/sdkconfig.defaults.esp32c3 @@ -871,7 +871,7 @@ CONFIG_ESP_SYSTEM_PANIC_PRINT_REBOOT=y CONFIG_ESP_SYSTEM_SINGLE_CORE_MODE=y CONFIG_ESP_SYSTEM_RTC_FAST_MEM_AS_HEAP_DEPCHECK=y CONFIG_ESP_SYSTEM_ALLOW_RTC_FAST_MEM_AS_HEAP=y -CONFIG_ESP_SYSTEM_PD_FLASH=y +CONFIG_ESP_SLEEP_POWER_DOWN_FLASH=y # end of ESP System Settings # diff --git a/examples/bluetooth/bluedroid/ble/gattc_multi_connect/sdkconfig.defaults.esp32s3 b/examples/bluetooth/bluedroid/ble/gattc_multi_connect/sdkconfig.defaults.esp32s3 index 8edb823523..84ef1088ea 100644 --- a/examples/bluetooth/bluedroid/ble/gattc_multi_connect/sdkconfig.defaults.esp32s3 +++ b/examples/bluetooth/bluedroid/ble/gattc_multi_connect/sdkconfig.defaults.esp32s3 @@ -980,7 +980,7 @@ CONFIG_ESP_SYSTEM_PANIC_PRINT_REBOOT=y # CONFIG_ESP_SYSTEM_PANIC_GDBSTUB is not set CONFIG_ESP_SYSTEM_RTC_FAST_MEM_AS_HEAP_DEPCHECK=y # CONFIG_ESP_SYSTEM_ALLOW_RTC_FAST_MEM_AS_HEAP is not set -CONFIG_ESP_SYSTEM_PD_FLASH=y +CONFIG_ESP_SLEEP_POWER_DOWN_FLASH=y # end of ESP System Settings # diff --git a/examples/bluetooth/bluedroid/ble_50/ble50_security_client/sdkconfig.defaults.esp32c3 b/examples/bluetooth/bluedroid/ble_50/ble50_security_client/sdkconfig.defaults.esp32c3 index 2c321ce331..78aa64c78a 100644 --- a/examples/bluetooth/bluedroid/ble_50/ble50_security_client/sdkconfig.defaults.esp32c3 +++ b/examples/bluetooth/bluedroid/ble_50/ble50_security_client/sdkconfig.defaults.esp32c3 @@ -871,7 +871,7 @@ CONFIG_ESP_SYSTEM_PANIC_PRINT_REBOOT=y CONFIG_ESP_SYSTEM_SINGLE_CORE_MODE=y CONFIG_ESP_SYSTEM_RTC_FAST_MEM_AS_HEAP_DEPCHECK=y CONFIG_ESP_SYSTEM_ALLOW_RTC_FAST_MEM_AS_HEAP=y -CONFIG_ESP_SYSTEM_PD_FLASH=y +CONFIG_ESP_SLEEP_POWER_DOWN_FLASH=y # end of ESP System Settings # diff --git a/examples/bluetooth/bluedroid/ble_50/ble50_security_client/sdkconfig.defaults.esp32s3 b/examples/bluetooth/bluedroid/ble_50/ble50_security_client/sdkconfig.defaults.esp32s3 index 1394477da8..0085b35f9e 100644 --- a/examples/bluetooth/bluedroid/ble_50/ble50_security_client/sdkconfig.defaults.esp32s3 +++ b/examples/bluetooth/bluedroid/ble_50/ble50_security_client/sdkconfig.defaults.esp32s3 @@ -972,7 +972,7 @@ CONFIG_ESP_SYSTEM_PANIC_PRINT_REBOOT=y CONFIG_ESP_SYSTEM_SINGLE_CORE_MODE=y CONFIG_ESP_SYSTEM_RTC_FAST_MEM_AS_HEAP_DEPCHECK=y # CONFIG_ESP_SYSTEM_ALLOW_RTC_FAST_MEM_AS_HEAP is not set -CONFIG_ESP_SYSTEM_PD_FLASH=y +CONFIG_ESP_SLEEP_POWER_DOWN_FLASH=y # end of ESP System Settings # diff --git a/examples/bluetooth/bluedroid/ble_50/ble50_security_server/sdkconfig.defaults.esp32c3 b/examples/bluetooth/bluedroid/ble_50/ble50_security_server/sdkconfig.defaults.esp32c3 index 2c321ce331..78aa64c78a 100644 --- a/examples/bluetooth/bluedroid/ble_50/ble50_security_server/sdkconfig.defaults.esp32c3 +++ b/examples/bluetooth/bluedroid/ble_50/ble50_security_server/sdkconfig.defaults.esp32c3 @@ -871,7 +871,7 @@ CONFIG_ESP_SYSTEM_PANIC_PRINT_REBOOT=y CONFIG_ESP_SYSTEM_SINGLE_CORE_MODE=y CONFIG_ESP_SYSTEM_RTC_FAST_MEM_AS_HEAP_DEPCHECK=y CONFIG_ESP_SYSTEM_ALLOW_RTC_FAST_MEM_AS_HEAP=y -CONFIG_ESP_SYSTEM_PD_FLASH=y +CONFIG_ESP_SLEEP_POWER_DOWN_FLASH=y # end of ESP System Settings # diff --git a/examples/bluetooth/bluedroid/ble_50/ble50_security_server/sdkconfig.defaults.esp32s3 b/examples/bluetooth/bluedroid/ble_50/ble50_security_server/sdkconfig.defaults.esp32s3 index 1394477da8..0085b35f9e 100644 --- a/examples/bluetooth/bluedroid/ble_50/ble50_security_server/sdkconfig.defaults.esp32s3 +++ b/examples/bluetooth/bluedroid/ble_50/ble50_security_server/sdkconfig.defaults.esp32s3 @@ -972,7 +972,7 @@ CONFIG_ESP_SYSTEM_PANIC_PRINT_REBOOT=y CONFIG_ESP_SYSTEM_SINGLE_CORE_MODE=y CONFIG_ESP_SYSTEM_RTC_FAST_MEM_AS_HEAP_DEPCHECK=y # CONFIG_ESP_SYSTEM_ALLOW_RTC_FAST_MEM_AS_HEAP is not set -CONFIG_ESP_SYSTEM_PD_FLASH=y +CONFIG_ESP_SLEEP_POWER_DOWN_FLASH=y # end of ESP System Settings # diff --git a/examples/bluetooth/bluedroid/ble_50/multi-adv/sdkconfig.defaults.esp32c3 b/examples/bluetooth/bluedroid/ble_50/multi-adv/sdkconfig.defaults.esp32c3 index 2c321ce331..78aa64c78a 100644 --- a/examples/bluetooth/bluedroid/ble_50/multi-adv/sdkconfig.defaults.esp32c3 +++ b/examples/bluetooth/bluedroid/ble_50/multi-adv/sdkconfig.defaults.esp32c3 @@ -871,7 +871,7 @@ CONFIG_ESP_SYSTEM_PANIC_PRINT_REBOOT=y CONFIG_ESP_SYSTEM_SINGLE_CORE_MODE=y CONFIG_ESP_SYSTEM_RTC_FAST_MEM_AS_HEAP_DEPCHECK=y CONFIG_ESP_SYSTEM_ALLOW_RTC_FAST_MEM_AS_HEAP=y -CONFIG_ESP_SYSTEM_PD_FLASH=y +CONFIG_ESP_SLEEP_POWER_DOWN_FLASH=y # end of ESP System Settings # diff --git a/examples/bluetooth/bluedroid/ble_50/multi-adv/sdkconfig.defaults.esp32s3 b/examples/bluetooth/bluedroid/ble_50/multi-adv/sdkconfig.defaults.esp32s3 index 1394477da8..0085b35f9e 100644 --- a/examples/bluetooth/bluedroid/ble_50/multi-adv/sdkconfig.defaults.esp32s3 +++ b/examples/bluetooth/bluedroid/ble_50/multi-adv/sdkconfig.defaults.esp32s3 @@ -972,7 +972,7 @@ CONFIG_ESP_SYSTEM_PANIC_PRINT_REBOOT=y CONFIG_ESP_SYSTEM_SINGLE_CORE_MODE=y CONFIG_ESP_SYSTEM_RTC_FAST_MEM_AS_HEAP_DEPCHECK=y # CONFIG_ESP_SYSTEM_ALLOW_RTC_FAST_MEM_AS_HEAP is not set -CONFIG_ESP_SYSTEM_PD_FLASH=y +CONFIG_ESP_SLEEP_POWER_DOWN_FLASH=y # end of ESP System Settings # diff --git a/examples/bluetooth/bluedroid/ble_50/peroidic_adv/sdkconfig.defaults.esp32c3 b/examples/bluetooth/bluedroid/ble_50/peroidic_adv/sdkconfig.defaults.esp32c3 index 2c321ce331..78aa64c78a 100644 --- a/examples/bluetooth/bluedroid/ble_50/peroidic_adv/sdkconfig.defaults.esp32c3 +++ b/examples/bluetooth/bluedroid/ble_50/peroidic_adv/sdkconfig.defaults.esp32c3 @@ -871,7 +871,7 @@ CONFIG_ESP_SYSTEM_PANIC_PRINT_REBOOT=y CONFIG_ESP_SYSTEM_SINGLE_CORE_MODE=y CONFIG_ESP_SYSTEM_RTC_FAST_MEM_AS_HEAP_DEPCHECK=y CONFIG_ESP_SYSTEM_ALLOW_RTC_FAST_MEM_AS_HEAP=y -CONFIG_ESP_SYSTEM_PD_FLASH=y +CONFIG_ESP_SLEEP_POWER_DOWN_FLASH=y # end of ESP System Settings # diff --git a/examples/bluetooth/bluedroid/ble_50/peroidic_adv/sdkconfig.defaults.esp32s3 b/examples/bluetooth/bluedroid/ble_50/peroidic_adv/sdkconfig.defaults.esp32s3 index 1394477da8..0085b35f9e 100644 --- a/examples/bluetooth/bluedroid/ble_50/peroidic_adv/sdkconfig.defaults.esp32s3 +++ b/examples/bluetooth/bluedroid/ble_50/peroidic_adv/sdkconfig.defaults.esp32s3 @@ -972,7 +972,7 @@ CONFIG_ESP_SYSTEM_PANIC_PRINT_REBOOT=y CONFIG_ESP_SYSTEM_SINGLE_CORE_MODE=y CONFIG_ESP_SYSTEM_RTC_FAST_MEM_AS_HEAP_DEPCHECK=y # CONFIG_ESP_SYSTEM_ALLOW_RTC_FAST_MEM_AS_HEAP is not set -CONFIG_ESP_SYSTEM_PD_FLASH=y +CONFIG_ESP_SLEEP_POWER_DOWN_FLASH=y # end of ESP System Settings # diff --git a/examples/bluetooth/bluedroid/ble_50/peroidic_sync/sdkconfig.defaults.esp32c3 b/examples/bluetooth/bluedroid/ble_50/peroidic_sync/sdkconfig.defaults.esp32c3 index 2c321ce331..78aa64c78a 100644 --- a/examples/bluetooth/bluedroid/ble_50/peroidic_sync/sdkconfig.defaults.esp32c3 +++ b/examples/bluetooth/bluedroid/ble_50/peroidic_sync/sdkconfig.defaults.esp32c3 @@ -871,7 +871,7 @@ CONFIG_ESP_SYSTEM_PANIC_PRINT_REBOOT=y CONFIG_ESP_SYSTEM_SINGLE_CORE_MODE=y CONFIG_ESP_SYSTEM_RTC_FAST_MEM_AS_HEAP_DEPCHECK=y CONFIG_ESP_SYSTEM_ALLOW_RTC_FAST_MEM_AS_HEAP=y -CONFIG_ESP_SYSTEM_PD_FLASH=y +CONFIG_ESP_SLEEP_POWER_DOWN_FLASH=y # end of ESP System Settings # diff --git a/examples/bluetooth/bluedroid/ble_50/peroidic_sync/sdkconfig.defaults.esp32s3 b/examples/bluetooth/bluedroid/ble_50/peroidic_sync/sdkconfig.defaults.esp32s3 index 1394477da8..0085b35f9e 100644 --- a/examples/bluetooth/bluedroid/ble_50/peroidic_sync/sdkconfig.defaults.esp32s3 +++ b/examples/bluetooth/bluedroid/ble_50/peroidic_sync/sdkconfig.defaults.esp32s3 @@ -972,7 +972,7 @@ CONFIG_ESP_SYSTEM_PANIC_PRINT_REBOOT=y CONFIG_ESP_SYSTEM_SINGLE_CORE_MODE=y CONFIG_ESP_SYSTEM_RTC_FAST_MEM_AS_HEAP_DEPCHECK=y # CONFIG_ESP_SYSTEM_ALLOW_RTC_FAST_MEM_AS_HEAP is not set -CONFIG_ESP_SYSTEM_PD_FLASH=y +CONFIG_ESP_SLEEP_POWER_DOWN_FLASH=y # end of ESP System Settings # diff --git a/examples/bluetooth/bluedroid/coex/gattc_gatts_coex/sdkconfig.defaults.esp32c3 b/examples/bluetooth/bluedroid/coex/gattc_gatts_coex/sdkconfig.defaults.esp32c3 index 7fd8c2c99b..178e59e007 100644 --- a/examples/bluetooth/bluedroid/coex/gattc_gatts_coex/sdkconfig.defaults.esp32c3 +++ b/examples/bluetooth/bluedroid/coex/gattc_gatts_coex/sdkconfig.defaults.esp32c3 @@ -871,7 +871,7 @@ CONFIG_ESP_SYSTEM_PANIC_PRINT_REBOOT=y CONFIG_ESP_SYSTEM_SINGLE_CORE_MODE=y CONFIG_ESP_SYSTEM_RTC_FAST_MEM_AS_HEAP_DEPCHECK=y CONFIG_ESP_SYSTEM_ALLOW_RTC_FAST_MEM_AS_HEAP=y -CONFIG_ESP_SYSTEM_PD_FLASH=y +CONFIG_ESP_SLEEP_POWER_DOWN_FLASH=y # end of ESP System Settings # diff --git a/examples/bluetooth/bluedroid/coex/gattc_gatts_coex/sdkconfig.defaults.esp32s3 b/examples/bluetooth/bluedroid/coex/gattc_gatts_coex/sdkconfig.defaults.esp32s3 index 8edb823523..84ef1088ea 100644 --- a/examples/bluetooth/bluedroid/coex/gattc_gatts_coex/sdkconfig.defaults.esp32s3 +++ b/examples/bluetooth/bluedroid/coex/gattc_gatts_coex/sdkconfig.defaults.esp32s3 @@ -980,7 +980,7 @@ CONFIG_ESP_SYSTEM_PANIC_PRINT_REBOOT=y # CONFIG_ESP_SYSTEM_PANIC_GDBSTUB is not set CONFIG_ESP_SYSTEM_RTC_FAST_MEM_AS_HEAP_DEPCHECK=y # CONFIG_ESP_SYSTEM_ALLOW_RTC_FAST_MEM_AS_HEAP is not set -CONFIG_ESP_SYSTEM_PD_FLASH=y +CONFIG_ESP_SLEEP_POWER_DOWN_FLASH=y # end of ESP System Settings #