Skip to content

Commit

Permalink
Revert "Let's not assign absolute addresses to ."
Browse files Browse the repository at this point in the history
This reverts commit 421fe70.
  • Loading branch information
multiplemonomials committed Jan 24, 2025
1 parent 421fe70 commit 5aed754
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ SECTIONS
__end__ = .;
end = __end__;
__mbed_sbrk_start_0 = .;
. += (ORIGIN(RAM) + LENGTH(RAM) - STACK_SIZE) - __mbed_sbrk_start_0;
. = (ORIGIN(RAM) + LENGTH(RAM) - STACK_SIZE);
__mbed_krbs_start_0 = .;
} > RAM

Expand Down Expand Up @@ -198,7 +198,7 @@ SECTIONS
.heap (NOLOAD): ALIGN(8)
{
__mbed_sbrk_start = .;
. += (ORIGIN(AHBSRAM) + LENGTH(AHBSRAM)) - __mbed_sbrk_start;
. = ORIGIN(AHBSRAM) + LENGTH(AHBSRAM);
__mbed_krbs_start = .;
} > AHBSRAM
}

0 comments on commit 5aed754

Please sign in to comment.