Arduino icon indicating copy to clipboard operation
Arduino copied to clipboard

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

Open Testato opened this issue 9 years ago • 4 comments

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 avatar Aug 14 '16 07:08 Testato

probably you must only put the upload.maximum_data_size value on all 32bit virtual board files ? like on the avr core ? https://github.com/arduino/Arduino/commit/7c87db3532155c051b902ac83c1feea78eb732ee#diff-4ead488680453362ffec01d74609315cR11

Testato avatar Dec 16 '16 22:12 Testato

Happily, this has now been done for Arduino SAMD Boards: https://github.com/arduino/ArduinoCore-samd/pull/503 https://github.com/arduino/ArduinoCore-samd/pull/517

Still not done for Arduino SAM Boards though.

Related:

  • https://github.com/arduino/Arduino/pull/1377#issuecomment-17389773
  • https://github.com/arduino/Arduino/issues/1555#issuecomment-23622158
  • https://github.com/arduino/Arduino/issues/5707

per1234 avatar Mar 27 '21 16:03 per1234

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

Testato avatar Mar 27 '21 20:03 Testato

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

ollie1400 avatar May 02 '22 14:05 ollie1400