Timeline for What is using up all the RAM in my program?
Current License: CC BY-SA 3.0
9 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 14, 2016 at 18:22 | comment | added | sgmm | @Majenko Does avr-objdump work on Windows? If so can you please tell me how? | |
Jun 14, 2016 at 15:00 | comment | added | sgmm | @EdgarBonet No I found the avr-objdump file but couldn't execute the command he gave. It's probably because I'm using Windows. | |
Jun 14, 2016 at 14:49 | comment | added | Edgar Bonet | @CrystalPritzker: Did you miss the link in my first comment? | |
Jun 14, 2016 at 14:46 | comment | added | Majenko | You don't edit avr-objdump - you use it to examine your .elf file. That will allow you, if used right, to list all the variables in your .elf file. You can then look to see what there is. You can then match those up to variables in the core software and determine if you need the functionality associated with those variables - and if not then delete it wholesale. | |
Jun 14, 2016 at 14:44 | comment | added | sgmm | How can I edit the avr-objdump? It's a .exe file and how do I know what I can remove. Again, I'm sorry but this is my first ever Arduino project. | |
Jun 14, 2016 at 14:41 | comment | added | Majenko | You should use avr-objdump to examine all the section sizes and determine what can be removed - then remove it. That means manual editing of core code. | |
Jun 14, 2016 at 14:38 | comment | added | sgmm |
So is there any way I can reduce the amount of memory being used without scrapping my Arrays? For example, is there a way to NOT store the current millis() and micros() or is there an alternative to SoftwareSerial?
|
|
Jun 14, 2016 at 14:36 | comment | added | Edgar Bonet | She already counted SoftwareSerial, and the stack is not in the 510 bytes reported by the compiler. So this leaves only the Arduino core. | |
Jun 14, 2016 at 14:29 | history | answered | Majenko | CC BY-SA 3.0 |