Skip to content
Browse files

Support avr-size -C

This prints memory usage of an elf file. If a device is supplied through --mcu, memory usage (data and program) are given in percent.

This should close #9.
  • Loading branch information...
1 parent d9f9de6 commit b376c1e48508d2b0dcfd094aa5bb401c888974b3 @larsimmisch committed
Showing with 7 additions and 0 deletions.
  1. +7 −0 avr-binutils.rb
View
7 avr-binutils.rb
@@ -47,4 +47,11 @@ def install
system "make"
system "make install"
end
+
+ def patches
+ # Support for -C in avr-size. See issue
+ # https://github.com/larsimmisch/homebrew-avr/issues/9
+ { :p0 => "https://raw.github.com/gist/4190960/b36f3d6d086980006f097ae0acc80b3ada7bb7b1/avr-binutils-size.patch" }
+ end
+
end

0 comments on commit b376c1e

Please sign in to comment.
Something went wrong with that request. Please try again.