瀏覽代碼

soc: move RTC initialization out of IRAM

Saves approximately 870 bytes of IRAM.
Ivan Grokhotkov 5 年之前
父節點
當前提交
0ee714e1fa
共有 1 個文件被更改,包括 1 次插入2 次删除
  1. 1 2
      components/soc/linker.lf

+ 1 - 2
components/soc/linker.lf

@@ -3,8 +3,7 @@ archive: libsoc.a
 entries:
     cpu_util (noflash_text)
     rtc_clk (noflash)
-    rtc_clk_init (noflash_text)
-    rtc_init (noflash_text)
+    rtc_init:rtc_vddsdio_set_config (noflash)
     rtc_periph (noflash_text)
     rtc_pm (noflash_text)
     rtc_sleep (noflash_text)