mirror of
https://github.com/espressif/esp-idf.git
synced 2025-11-02 13:45:46 +00:00
idf_size.py: fixed diram counted twice issue, and improve display
Currently static RAM usage are listed under corresponding physical memory. ld: fix linker script for C3 and S3
This commit is contained in:
committed by
simon.chupin
parent
f80c0e8d31
commit
7716134457
@@ -1,6 +1,8 @@
|
||||
/* Default entry point */
|
||||
ENTRY(call_start_cpu0);
|
||||
|
||||
_diram_i_start = 0x40378000;
|
||||
|
||||
SECTIONS
|
||||
{
|
||||
/**
|
||||
@@ -183,7 +185,7 @@ SECTIONS
|
||||
*/
|
||||
.dram0.dummy (NOLOAD):
|
||||
{
|
||||
. = ORIGIN(dram0_0_seg) + _iram_end - _iram_start;
|
||||
. = ORIGIN(dram0_0_seg) + MAX(_iram_end - _diram_i_start, 0);
|
||||
} > dram0_0_seg
|
||||
|
||||
.dram0.data :
|
||||
|
||||
Reference in New Issue
Block a user