-
Notifications
You must be signed in to change notification settings - Fork 222
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
Set Memory Limit through API/SDK #152
Labels
enhancement
New feature or request
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
#145 adds support for dynamically setting the memory limit through a macro exposed by
nexus-rt
.#146 adds a low-level programmatic API, with an eye longer term towards a stable SDK (#148).
Longer term, it likely makes sense for the API/SDK to also (or even just exclusively) support programmatically adjusting the memory limit.
Doing this likely has a few moving pieces: we ideally want to set the memory limit by just emitting the linker script dynamically, rather than overwriting the stack pointer on start as #145 did. We'd also then need to support dynamic compilation or some sort of rewriting pass over the already compiled NVM assembly (or both), since at present the API only consumes an already compiled program.
The text was updated successfully, but these errors were encountered: