Skip to content

Commit

Permalink
Align EWRAM and IWRAM data-filled sections to 4 bytes (#5512)
Browse files Browse the repository at this point in the history
  • Loading branch information
aronson authored Oct 12, 2024
1 parent c82ff7b commit a01f9b4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ld_script.ld
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ SECTIONS {
{
__ewram_start = .;
*(.ewram*)
. = ALIGN(4);
__ewram_end = .;
} > EWRAM

Expand All @@ -38,6 +39,7 @@ SECTIONS {
{
__iwram_start = .;
*(.iwram*);
. = ALIGN(4);
__iwram_end = .;
} > IWRAM

Expand Down
2 changes: 2 additions & 0 deletions ld_script_modern.ld
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ SECTIONS {
{
__ewram_start = .;
*(.ewram*)
. = ALIGN(4);
__ewram_end = .;
} > EWRAM

Expand All @@ -34,6 +35,7 @@ SECTIONS {
{
__iwram_start = .;
*(.iwram*);
. = ALIGN(4);
__iwram_end = .;
} > IWRAM

Expand Down

0 comments on commit a01f9b4

Please sign in to comment.