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

Fix section size calc for some filenames #2852

Closed
wants to merge 1 commit into from

Conversation

daradib
Copy link
Contributor

@daradib daradib commented Jan 6, 2025

Problem

Commit 38ced0d introduced alignment into section size calculations, but failed on file paths that contain strings "data", "bss", etc.

Solution

Apply a small fix to the Makefile macro.

Steps to Test

Create a project or file path containing the string "data".

Example App

N/A

References

Bug report:
https://community.particle.io/t/section-bss-will-not-fit-in-region-sram/66641


Completeness

  • User is totes amazing for contributing!
  • Contributor has signed CLA (Info here)
  • Problem and Solution clearly stated
  • Run unit/integration/application tests on device
  • Added documentation
  • Added to CHANGELOG.md after merging (add links to docs and issues)

Commit 38ced0d introduced alignment
into section size calculations, but failed on file paths that contain
strings "data", "bss", etc. Apply a small fix to the Makefile macro.

Bug report:
https://community.particle.io/t/section-bss-will-not-fit-in-region-sram/66641
@avtolstoy
Copy link
Member

Thanks! I'll get this in for the next release.

@avtolstoy avtolstoy added this to the 6.3.0 milestone Jan 9, 2025
@avtolstoy avtolstoy added the bug label Jan 9, 2025
avtolstoy added a commit that referenced this pull request Jan 10, 2025
@avtolstoy
Copy link
Member

Merged in 872bf0a

@avtolstoy avtolstoy closed this Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants