Skip to content

Commit

Permalink
Add segger_rtt reference in linkerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
jmartinez-silabs committed Jan 14, 2025
1 parent 8aed31f commit e70f73a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/platform/silabs/ldscripts/efr32mg24.ld
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,8 @@ SECTIONS
KEEP(*(SORT(.fini_array.*)))
KEEP(*(.fini_array))
PROVIDE_HIDDEN (__fini_array_end = .);
. = ALIGN(4);
*(SEGGER_RTT)

. = ALIGN(4);
/* All data end */
Expand Down
2 changes: 2 additions & 0 deletions examples/platform/silabs/ldscripts/mgm24.ld
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,8 @@ SECTIONS
KEEP(*(SORT(.fini_array.*)))
KEEP(*(.fini_array))
PROVIDE_HIDDEN (__fini_array_end = .);
. = ALIGN(4);
*(SEGGER_RTT)

. = ALIGN(4);
/* All data end */
Expand Down

0 comments on commit e70f73a

Please sign in to comment.