Skip to content

Commit

Permalink
ramconfig.ld: Fix end of gnssram bss section on ldscript
Browse files Browse the repository at this point in the history
  • Loading branch information
SPRESENSE authored Feb 2, 2024
2 parents 173389d + 7595b6d commit 0f720e0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ SECTIONS

} > gnssram

.gnssram.data . : ALIGN(8) {
.gnssram.data . : ALIGN(4) {
/* Possible to locate data of any object file.
* *libxxx.a:*.o(.data .data.*)
*/
Expand All @@ -58,10 +58,11 @@ SECTIONS
* *libxxx.a:*.o(COMMON)
*/

. = ALIGN(4);
_gnssramebss = ABSOLUTE(.);
} > gnssram

. = ALIGN(4);
_gnssramebss = ABSOLUTE(.);

/* Whatever is left from the GNSS memory is used as a special heap. */

_sgnssheap = ABSOLUTE(.);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ SECTIONS

} > gnssram

.gnssram.data . : ALIGN(8) {
.gnssram.data . : ALIGN(4) {
/* Possible to locate data of any object file.
* *libxxx.a:*.o(.data .data.*)
*/
Expand All @@ -58,10 +58,11 @@ SECTIONS
* *libxxx.a:*.o(COMMON)
*/

. = ALIGN(4);
_gnssramebss = ABSOLUTE(.);
} > gnssram

. = ALIGN(4);
_gnssramebss = ABSOLUTE(.);

/* Whatever is left from the GNSS memory is used as a special heap. */

_sgnssheap = ABSOLUTE(.);
Expand Down

0 comments on commit 0f720e0

Please sign in to comment.