Skip to content

Commit c90beac

Browse files
crlonxppull[bot]
authored andcommitted
[mw320] - Add the memory usage and increase the m_text size (#27472)
Signed-off-by: Chin-Ran Lo <[email protected]>
1 parent 799b956 commit c90beac

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

examples/all-clusters-app/nxp/mw320/BUILD.gn

+1
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ mw320_executable("shell_mw320") {
8888

8989
ldflags = [
9090
"-T" + rebase_path(ldscript, root_build_dir),
91+
"-Wl,-print-memory-usage",
9192
"-Wl,--no-warn-rwx-segment",
9293
]
9394
defines = [

examples/platform/nxp/mw320/app/ldscripts/88MW320_xx_xxxx_flash.ld

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ _nvram_start = 0x480C0000;
3838
MEMORY
3939
{
4040
m_interrupts (RX) : ORIGIN = 0x1F000100, LENGTH = 0x00000180
41-
m_text (RX) : ORIGIN = 0x1F000280, LENGTH = 0x000FFD80
41+
m_text (RX) : ORIGIN = 0x1F000280, LENGTH = 0x003FFD80
4242
m_data0 (RW) : ORIGIN = 0x00100000, LENGTH = 0x0005EFC0
4343
m_data1 (RW) : ORIGIN = 0x20000000, LENGTH = 0x00020000
4444
m_nvram (RW) : ORIGIN = 0x480C0044, LENGTH = 0x00000FBC

0 commit comments

Comments
 (0)