light sleep: rename sleep mac bb to modem, it includes MAC and baseband of wifi, bt and ieee802.15.4 modules

This commit is contained in:
Li Shuai
2022-11-14 21:36:23 +08:00
committed by wuzhenghui
parent f95854dc8f
commit 3a5fe2ab63
4 changed files with 5 additions and 5 deletions

View File

@@ -23,7 +23,7 @@ if(NOT BOOTLOADER_BUILD)
"rtc_module.c" "rtc_module.c"
"sleep_modes.c" "sleep_modes.c"
"sleep_gpio.c" "sleep_gpio.c"
"sleep_mac_bb.c" "sleep_modem.c"
"regi2c_ctrl.c" "regi2c_ctrl.c"
"port/${target}/io_mux.c" "port/${target}/io_mux.c"
"port/${target}/clk_tree.c" "port/${target}/clk_tree.c"

View File

@@ -13,7 +13,7 @@ extern "C" {
#endif #endif
/** /**
* @file sleep_mac_bb.h * @file sleep_modem.h
* *
* This file contains declarations of MAC and baseband power consumption related functions in light sleep mode. * This file contains declarations of MAC and baseband power consumption related functions in light sleep mode.
*/ */

View File

@@ -12,7 +12,7 @@
#include "esp_attr.h" #include "esp_attr.h"
#include "esp_sleep.h" #include "esp_sleep.h"
#include "soc/soc_caps.h" #include "soc/soc_caps.h"
#include "esp_private/sleep_mac_bb.h" #include "esp_private/sleep_modem.h"
#include "sdkconfig.h" #include "sdkconfig.h"
#if CONFIG_MAC_BB_PD #if CONFIG_MAC_BB_PD

View File

@@ -66,10 +66,10 @@
#include "esp_private/gpio.h" #include "esp_private/gpio.h"
#elif CONFIG_IDF_TARGET_ESP32S3 #elif CONFIG_IDF_TARGET_ESP32S3
#include "esp32s3/rom/rtc.h" #include "esp32s3/rom/rtc.h"
#include "esp_private/sleep_mac_bb.h" #include "esp_private/sleep_modem.h"
#elif CONFIG_IDF_TARGET_ESP32C3 #elif CONFIG_IDF_TARGET_ESP32C3
#include "esp32c3/rom/rtc.h" #include "esp32c3/rom/rtc.h"
#include "esp_private/sleep_mac_bb.h" #include "esp_private/sleep_modem.h"
#elif CONFIG_IDF_TARGET_ESP32H4 #elif CONFIG_IDF_TARGET_ESP32H4
#include "esp32h4/rom/rtc.h" #include "esp32h4/rom/rtc.h"
#elif CONFIG_IDF_TARGET_ESP32C2 #elif CONFIG_IDF_TARGET_ESP32C2