Skip to content

Arduino Due, IDE Compiler NOT SHOWING MEMORY USAGE #5707

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

Closed
matiaskenig opened this issue Dec 11, 2016 · 1 comment
Closed

Arduino Due, IDE Compiler NOT SHOWING MEMORY USAGE #5707

matiaskenig opened this issue Dec 11, 2016 · 1 comment

Comments

@matiaskenig
Copy link

When compile in Arduino IDE, the GLOBAL MEMORY USAGE are showed in all versions EXCEPT WHEN DUE, why????

@facchinm
Copy link
Member

Indeed, it's ONLY shown on AVR 😄 Jokes apart, the RAM usage calculation is much more useful on AVR boards, since its quantity is very limited. On ARM boards with 32KB+ SRAM it's quite difficult to trigger memory-related bugs. If you want to add it, the right place is https://github.com/arduino/Arduino/blob/master/hardware/arduino/sam/platform.txt#L92 , and you can use https://mcuoneclipse.com/2013/04/14/text-data-and-bss-code-and-data-size-explained/ and https://github.com/arduino/Arduino/blob/master/hardware/arduino/avr/platform.txt#L81 as inspiration

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