jaspreeth / ardupilot-mega

Automatically exported from code.google.com/p/ardupilot-mega
0 stars 0 forks source link

add avr-size output target to makefile #453

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
using the arduino.mk makefile is cool, but arduinos are hard to debug when it 
comes to sram memory shortage.
So at least provide a hint with displaying Program and Data sizes.

Need to add new definition and target:
AVRSIZE      :=   $(call FIND_TOOL,avr-size)
size:   $(SKETCHELF)
   $(AVRSIZE) -C $(SKETCHELF)

described here: 
http://www.multiwii.com/forum/viewtopic.php?f=8&t=907&p=6469#p6469

cannot currently test because arduino.mk is not ready to run with arduino IDE 
version 1.00 (see my other bug report)

Original issue reported on code.google.com by der.flie...@googlemail.com on 8 Dec 2011 at 1:16

GoogleCodeExporter commented 8 years ago
This is available in the autotest system 

http://autotest.diydrones.com/, see sizes.

Original comment by andreas@antonopoulos.com on 5 Jun 2012 at 5:52