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

Storage at arbitrary address #82

Closed
athei opened this issue Jul 19, 2019 · 2 comments
Closed

Storage at arbitrary address #82

athei opened this issue Jul 19, 2019 · 2 comments
Labels
enhancement New feature or request

Comments

@athei
Copy link

athei commented Jul 19, 2019

Motivation

I want to place the memory pool at some arbitrary address because my embedded device happens to have some accessible memory there. The embedded static array is too inflexible for that.

Proposed Solution

Adding another constructor to the WeeAlloc struct where I can just pass in pointer + length or a slice and this memory is used no questions asked.

@athei athei added the enhancement New feature or request label Jul 19, 2019
@fitzgen
Copy link
Member

fitzgen commented Jul 23, 2019

I believe that this is basically asking for the same feature as #44 ?

@athei
Copy link
Author

athei commented Jul 24, 2019

Yes I guess its a subset of #44.

@athei athei closed this as completed Jul 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants