Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Build System Rewrite] Linkerscript now tracks RAM/ROM usage #1952

Merged
merged 2 commits into from
Nov 23, 2023

Conversation

Icedude907
Copy link
Contributor

@Icedude907 Icedude907 commented Nov 12, 2023

No dependencies on any other PRs

Description

  • The master linkerscripts now use .ld as their extension
  • The linkerscript no longer sets the EWRAM heap size, the macro HEAP_SIZE does.
  • The linkerscript should warn if memory bounds are exceeded.
  • Running make now prints memory usages (note that on non-modern ROM's free space is fragmented due to __anim_mon_load_address)

Example output:
image

Discord contact info

icedude907

gflib/malloc.h Outdated Show resolved Hide resolved
ld_script_modern.ld Outdated Show resolved Hide resolved
ld_script_modern.ld Outdated Show resolved Hide resolved
ld_script.ld Outdated Show resolved Hide resolved
gflib/malloc.c Outdated Show resolved Hide resolved
@GriffinRichards GriffinRichards merged commit 15e1cd8 into pret:master Nov 23, 2023
1 check passed
github-actions bot pushed a commit to citrusbolt/pokeemerald that referenced this pull request Nov 25, 2023
aarant added a commit to aarant/pokefirered that referenced this pull request May 16, 2024
aarant added a commit to aarant/pokefirered that referenced this pull request May 16, 2024
ravepossum pushed a commit to celias-stupid-team/celias-stupid-repository that referenced this pull request Jun 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants