Skip to content

Commit

Permalink
[mw320] - Add the memory usage and increase the m_text size (#27472)
Browse files Browse the repository at this point in the history
Signed-off-by: Chin-Ran Lo <[email protected]>
  • Loading branch information
crlonxp authored Jun 26, 2023
1 parent fc37071 commit eb2017e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions examples/all-clusters-app/nxp/mw320/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ mw320_executable("shell_mw320") {

ldflags = [
"-T" + rebase_path(ldscript, root_build_dir),
"-Wl,-print-memory-usage",
"-Wl,--no-warn-rwx-segment",
]
defines = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ _nvram_start = 0x480C0000;
MEMORY
{
m_interrupts (RX) : ORIGIN = 0x1F000100, LENGTH = 0x00000180
m_text (RX) : ORIGIN = 0x1F000280, LENGTH = 0x000FFD80
m_text (RX) : ORIGIN = 0x1F000280, LENGTH = 0x003FFD80
m_data0 (RW) : ORIGIN = 0x00100000, LENGTH = 0x0005EFC0
m_data1 (RW) : ORIGIN = 0x20000000, LENGTH = 0x00020000
m_nvram (RW) : ORIGIN = 0x480C0044, LENGTH = 0x00000FBC
Expand Down

0 comments on commit eb2017e

Please sign in to comment.