diff --git a/Arduino15/packages/SPRESENSE/hardware/spresense/1.0.0/variants/spresense/ramconfig-new.ld b/Arduino15/packages/SPRESENSE/hardware/spresense/1.0.0/variants/spresense/ramconfig-new.ld index 9e1231a1..ba2de421 100644 --- a/Arduino15/packages/SPRESENSE/hardware/spresense/1.0.0/variants/spresense/ramconfig-new.ld +++ b/Arduino15/packages/SPRESENSE/hardware/spresense/1.0.0/variants/spresense/ramconfig-new.ld @@ -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.*) */ @@ -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(.); diff --git a/Arduino15/packages/SPRESENSE/hardware/spresense/1.0.0/variants/spresense/ramconfig.ld b/Arduino15/packages/SPRESENSE/hardware/spresense/1.0.0/variants/spresense/ramconfig.ld index b14d1f57..0a023588 100644 --- a/Arduino15/packages/SPRESENSE/hardware/spresense/1.0.0/variants/spresense/ramconfig.ld +++ b/Arduino15/packages/SPRESENSE/hardware/spresense/1.0.0/variants/spresense/ramconfig.ld @@ -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.*) */ @@ -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(.);