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

Linkerscript now tracks RAM/ROM usage #657

Merged
merged 2 commits into from
Jun 22, 2024
Merged

Conversation

aarant
Copy link
Contributor

@aarant aarant commented May 16, 2024

Ported this from pokeemerald: pret/pokeemerald#1952

No dependencies on other PRs

Description

  • The linkerscript should warn if memory bounds are exceeded.
  • Running make now prints memory usages

Example output:

Memory region         Used Size  Region Size  %age Used
           EWRAM:      261040 B       256 KB     99.58%
           IWRAM:         32 KB        32 KB    100.00%
             ROM:    15403808 B        32 MB     45.91%

Discord contact info
merrp

ld_script.ld Outdated Show resolved Hide resolved
include/gba/defines.h Outdated Show resolved Hide resolved
@GriffinRichards GriffinRichards merged commit c6a2f50 into pret:master Jun 22, 2024
1 check passed
github-actions bot pushed a commit to GriffinRichards/pokefirered that referenced this pull request Aug 7, 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