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

Reducing heap size? #111

Closed
Gregwar opened this issue Aug 12, 2015 · 11 comments
Closed

Reducing heap size? #111

Gregwar opened this issue Aug 12, 2015 · 11 comments

Comments

@Gregwar
Copy link
Contributor

Gregwar commented Aug 12, 2015

Here:
https://github.com/leaflabs/libmaple/blob/master/libraries/FreeRTOS/utility/FreeRTOSConfig.h#L76

We can see that 8K RAM are allocated for the heap (this is like 40% of the ram). Can this be reduced safely? How much of this heap are actually used?

@mbolivar
Copy link
Contributor

I'm tempted to just rip that code out, honestly. Are you using it?

@Gregwar
Copy link
Contributor Author

Gregwar commented Aug 13, 2015

Absolutely not, I just saw that thing in the sizes
BTW, why is FreeRTOS here?

@mbolivar
Copy link
Contributor

It was submitted a while back and I took it. It's gone now.

@Gregwar
Copy link
Contributor Author

Gregwar commented Aug 13, 2015

You're changing something on master?

@mbolivar
Copy link
Contributor

Yes, sorry, pushed to the wrong remote :)

@Gregwar
Copy link
Contributor Author

Gregwar commented Aug 13, 2015

Ok, thanks
Indeed, this really reduces the RAM usage (I was short in some projects)
Thanks again for all this work and the Maple mini which is a great tool
Do you plan to release a new version later with a bigger MCU like M4 serie?

@mbolivar
Copy link
Contributor

We've EOLed the line, actually, but I'm still taking patches as a spare time thing:

http://www.leaflabs.com/news/2015/3/27/maple-end-of-life-notice

@mbolivar
Copy link
Contributor

And thanks for the kind words; they're appreciated :)

@Gregwar
Copy link
Contributor Author

Gregwar commented Aug 13, 2015

Did you know that the Maple Mini is now produced by many sellers, and available to prices as low as
4$?
http://www.aliexpress.com/wholesale?catId=0&initiative_id=SB_20150813124323&SearchText=maple+mini

There is actually not so much alternatives for such product

@Gregwar
Copy link
Contributor Author

Gregwar commented Aug 13, 2015

(I've tried the 4$ versions, there is some cost-killing on some components but it's still good)

@mbolivar
Copy link
Contributor

Hm, we did not know that. I'm glad the hardware lives on, but it's not nice of them to be using our company and brand name like it's an authentic product. Thanks for the heads up; we're looking into it.

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

No branches or pull requests

2 participants