esp32s3: Fix Data allocation offset within shared Internal SRAM1

Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
This commit is contained in:
Gustavo Henrique Nihei 2022-08-24 16:11:34 -03:00 committed by Xiang Xiao
parent 1d622b6f79
commit 1014c3e795
2 changed files with 2 additions and 2 deletions

View File

@ -71,7 +71,7 @@ SECTIONS
* and dram0_0_seg reflect the same address space on different buses.
*/
. = ORIGIN(dram0_0_seg) + _iram_end - _iram_start;
. = ORIGIN(dram0_0_seg) + MAX(_iram_end, _diram_i_start) - _diram_i_start;
} > dram0_0_seg
/* Shared RAM */

View File

@ -71,7 +71,7 @@ SECTIONS
* and dram0_0_seg reflect the same address space on different buses.
*/
. = ORIGIN(dram0_0_seg) + _iram_end - _iram_start;
. = ORIGIN(dram0_0_seg) + MAX(_iram_end, _diram_i_start) - _diram_i_start;
} > dram0_0_seg
/* Shared RAM */