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

32bit boards (Due, ZEro, etc) maximum RAM #5245

Open
Testato opened this issue Aug 14, 2016 · 4 comments
Open

32bit boards (Due, ZEro, etc) maximum RAM #5245

Testato opened this issue Aug 14, 2016 · 4 comments
Labels
Architecture: SAM Applies only to the SAM microcontrollers (Due) Architecture: SAMD Applies only to the SAMD microcontrollers (Zero, etc.) Type: Bug

Comments

@Testato
Copy link

Testato commented Aug 14, 2016

On all Arduino 8bit board when the Verify of code finish we receive a Maximum flash and Maximum RAM message in the consolle (so if it is to hight the ide block the upload)
Instead on 32bit board the RAM check there isn't.

8bit boards

Sketch uses 928 bytes (2%) of program storage space. Maximum is 32,256 bytes.
Global variables use 9 bytes (0%) of dynamic memory, leaving 2,039 bytes for local variables. Maximum is 2,048 bytes.

32bit boards
Sketch uses 8,356 bytes (3%) of program storage space. Maximum is 262,144 bytes.

@Testato
Copy link
Author

Testato commented Dec 16, 2016

probably you must only put the upload.maximum_data_size value on all 32bit virtual board files ?
like on the avr core ?
7c87db3#diff-4ead488680453362ffec01d74609315cR11

@per1234 per1234 added Architecture: SAM Applies only to the SAM microcontrollers (Due) Architecture: SAMD Applies only to the SAMD microcontrollers (Zero, etc.) labels Jul 5, 2017
@per1234
Copy link
Collaborator

per1234 commented Mar 27, 2021

@Testato
Copy link
Author

Testato commented Mar 27, 2021

will we wait another 5 years for complete resolution? :-)

@ollie1400
Copy link

I made a PR into the ArduinoCore-sam repo, basically doing what @per1234 suggested (thanks for the suggestion!). Any comments are welcome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Architecture: SAM Applies only to the SAM microcontrollers (Due) Architecture: SAMD Applies only to the SAMD microcontrollers (Zero, etc.) Type: Bug
Projects
None yet
Development

No branches or pull requests

3 participants