Skip to content

Instantly share code, notes, and snippets.

View blalor's full-sized avatar

Brian Lalor blalor

View GitHub Profile
@blalor
blalor / avr-size.sh
Created February 6, 2011 13:11
shows how much ram and program space is used by a compiled program
#!/bin/bash
# http://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&p=792113#792113
# ".data+.bss+.noinit is the initial RAM allocation."
# AVR Memory Usage
# ----------------
# Device: atmega328p
#
# Program: 12580 bytes (38.4% Full)