change(mem): deprecated tcm and added scp memory utils

This commit is contained in:
armando
2026-03-11 10:40:57 +08:00
parent 261683e6b0
commit c96f69faef
35 changed files with 144 additions and 114 deletions
+1 -1
View File
@@ -187,7 +187,7 @@ The ``DRAM_ATTR`` attribute can be used to force constants from DROM into the :r
Remaining RTC FAST memory is added to the heap unless the option :ref:`CONFIG_ESP_SYSTEM_ALLOW_RTC_FAST_MEM_AS_HEAP` is disabled. This memory can be used interchangeably with :ref:`DRAM`, but is slightly slower to access.
.. only:: SOC_MEM_TCM_SUPPORTED
.. only:: SOC_MEM_SCP_SUPPORTED
SPM (Scratchpad Memory)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+1 -1
View File
@@ -127,7 +127,7 @@
I (310) heap_init: At 4FF3AFC0 len 00004BE4 (18 KiB): RAM
I (316) heap_init: At 4FF40000 len 00060000 (384 KiB): RAM
I (323) heap_init: At 50108000 len 00007FE8 (31 KiB): RTCRAM
I (329) heap_init: At 30100044 len 00001FBC (7 KiB): TCM
I (329) heap_init: At 30100044 len 00001FBC (7 KiB): SCP
I (336) spi_flash: detected chip: generic
I (340) spi_flash: flash io: dio
W (344) spi_flash: Detected size(4096k) larger than the size in the binary image header(2048k). Using the size in the binary image header.
+1 -1
View File
@@ -187,7 +187,7 @@ DROM(数据存储在 flash 中)
除非禁用 :ref:`CONFIG_ESP_SYSTEM_ALLOW_RTC_FAST_MEM_AS_HEAP` 选项,否则剩余的 RTC FAST memory 会被添加到堆中。该部分内存可以和 :ref:`DRAM` 互换使用,但是访问速度稍慢一点。
.. only:: SOC_MEM_TCM_SUPPORTED
.. only:: SOC_MEM_SCP_SUPPORTED
SPM(暂存内存)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+1 -1
View File
@@ -127,7 +127,7 @@
I (310) heap_init: At 4FF3AFC0 len 00004BE4 (18 KiB): RAM
I (316) heap_init: At 4FF40000 len 00060000 (384 KiB): RAM
I (323) heap_init: At 50108000 len 00007FE8 (31 KiB): RTCRAM
I (329) heap_init: At 30100044 len 00001FBC (7 KiB): TCM
I (329) heap_init: At 30100044 len 00001FBC (7 KiB): SCP
I (336) spi_flash: detected chip: generic
I (340) spi_flash: flash io: dio
W (344) spi_flash: Detected size(4096k) larger than the size in the binary image header(2048k). Using the size in the binary image header.