mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-30 18:57:19 +02:00
rtc: compile the regi2c_ctrl.c code to iram
This commit is contained in:
@ -2,6 +2,8 @@
|
|||||||
archive: libsoc.a
|
archive: libsoc.a
|
||||||
entries:
|
entries:
|
||||||
cpu_util (noflash_text)
|
cpu_util (noflash_text)
|
||||||
|
if IDF_TARGET_ESP32S2 = y:
|
||||||
|
regi2c_ctrl (noflash)
|
||||||
rtc_clk (noflash)
|
rtc_clk (noflash)
|
||||||
rtc_clk_init (noflash_text)
|
rtc_clk_init (noflash_text)
|
||||||
rtc_init (noflash_text)
|
rtc_init (noflash_text)
|
||||||
|
@ -12,12 +12,10 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
#include "esp_err.h"
|
|
||||||
#include "soc/soc.h"
|
#include "soc/soc.h"
|
||||||
#include "soc/apb_ctrl_reg.h"
|
#include "soc/apb_ctrl_reg.h"
|
||||||
#include "regi2c_ctrl.h"
|
#include "regi2c_ctrl.h"
|
||||||
#include "regi2c_brownout.h"
|
#include "regi2c_brownout.h"
|
||||||
#include "esp_log.h"
|
|
||||||
|
|
||||||
#define I2C_RTC_WIFI_CLK_EN (APB_CTRL_WIFI_CLK_EN_REG)
|
#define I2C_RTC_WIFI_CLK_EN (APB_CTRL_WIFI_CLK_EN_REG)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user