fix(spm): rename scp (scratchpad) to spm (scratchpad memory)

This commit is contained in:
armando
2026-03-31 09:24:53 +08:00
parent 55c462ccab
commit 0cb42beabf
26 changed files with 106 additions and 106 deletions
@@ -46,8 +46,8 @@ MEMORY
* of the various regions. The 'data access port' dram/drom regions map to the same iram/irom regions but
* are connected to the data port of the CPU and eg allow byte-wise access.
*/
/* SCP */
scp_idram_seg (RX) : org = 0x30100000, len = 0x2000
/* SPM */
spm_idram_seg (RX) : org = 0x30100000, len = 0x2000
#if CONFIG_APP_BUILD_USE_FLASH_SECTIONS
#if CONFIG_SPIRAM_FETCH_INSTRUCTIONS
@@ -11,7 +11,7 @@ SECTIONS
{
#include "ld.rtc.sections"
#include "ld.tcm.sections"
#include "ld.spm.sections"
#include "ld.iram.sections"
-15
View File
@@ -1,15 +0,0 @@
#include "ld.common"
.scp.text :
{
/* Code marked as running out of scp */
_scp_text_start = ABSOLUTE(.);
SECTION_MAPPINGS(scp_text)
_scp_text_end = ABSOLUTE(.);
} > scp_idram_seg
.scp.data :
{
_scp_data_start = ABSOLUTE(.);
SECTION_MAPPINGS(scp_data)
_scp_data_end = ABSOLUTE(.);
} > scp_idram_seg
+15
View File
@@ -0,0 +1,15 @@
#include "ld.common"
.spm.text :
{
/* Code marked as running out of spm */
_spm_text_start = ABSOLUTE(.);
SECTION_MAPPINGS(spm_text)
_spm_text_end = ABSOLUTE(.);
} > spm_idram_seg
.spm.data :
{
_spm_data_start = ABSOLUTE(.);
SECTION_MAPPINGS(spm_data)
_spm_data_end = ABSOLUTE(.);
} > spm_idram_seg
+11 -11
View File
@@ -1,15 +1,15 @@
#include "ld.common"
.tcm.text :
.spm.text :
{
/* Code marked as running out of TCM */
_tcm_text_start = ABSOLUTE(.);
SECTION_MAPPINGS(tcm_text)
_tcm_text_end = ABSOLUTE(.);
} > tcm_idram_seg
/* Code marked as running out of SPM */
_spm_text_start = ABSOLUTE(.);
SECTION_MAPPINGS(spm_text)
_spm_text_end = ABSOLUTE(.);
} > spm_idram_seg
.tcm.data :
.spm.data :
{
_tcm_data_start = ABSOLUTE(.);
SECTION_MAPPINGS(tcm_data)
_tcm_data_end = ABSOLUTE(.);
} > tcm_idram_seg
_spm_data_start = ABSOLUTE(.);
SECTION_MAPPINGS(spm_data)
_spm_data_end = ABSOLUTE(.);
} > spm_idram_seg