Merge branch 'bugfix/fix_rtc_wdt_in_light_sleep_process_backport_v4.2' into 'release/v4.2'

bugfix: rtc: compile the regi2c_ctrl.c code to iram (backport v4.2)

See merge request espressif/esp-idf!12881
This commit is contained in:
Michael (XIAO Xufeng) 2021-03-24 16:06:50 +00:00
commit b06b8273ee
2 changed files with 2 additions and 2 deletions

View File

@ -2,6 +2,8 @@
archive: libsoc.a
entries:
cpu_util (noflash_text)
if IDF_TARGET_ESP32S2 = y:
regi2c_ctrl (noflash)
rtc_clk (noflash)
rtc_clk_init (noflash_text)
rtc_init (noflash_text)

View File

@ -12,12 +12,10 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#include "esp_err.h"
#include "soc/soc.h"
#include "soc/apb_ctrl_reg.h"
#include "regi2c_ctrl.h"
#include "regi2c_brownout.h"
#include "esp_log.h"
#define I2C_RTC_WIFI_CLK_EN (APB_CTRL_WIFI_CLK_EN_REG)