-
Notifications
You must be signed in to change notification settings - Fork 221
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
Find a way to use ROM memset/memcpy - if it can't work, we should ensure memcpy and memset are in RAM somehow #1254
Comments
I think this is a good thing to do also to save a few bytes I am wondering if we still should move the remaining |
Good question! Do you know the typical memory footprint of doing so? I.e how much RAM will we sacrifice in doing this? IIRC compiler_builtins is generally quite light, but it has evolved a bit over the years. It is worth exploring either way, if its more significant than we thought, we could put it behind a feature (shudders) in lieu of proper configuration. |
Oh, it seems it can be quite big:
I assume that should be the worst case if everything is actually used -definitely much more than what I thought - putting this to RAM shouldn't be a default, then |
Hmm, I suppose that's the whole object, I wonder how much actually gets linked into the final binary 🤔 . Unfortunately, my linker-foo is not good enough to figure that out 😆. If we can put it behind a feature then we can quite easily figure out the size that way I suppose. |
Closed via #1255. I will add the compiler builtins comment to the epic |
No description provided.
The text was updated successfully, but these errors were encountered: