aboutsummaryrefslogtreecommitdiff
path: root/bin/build.sh
diff options
context:
space:
mode:
authorSelene ToyKeeper2015-09-10 17:09:44 -0600
committerSelene ToyKeeper2015-09-10 17:09:44 -0600
commit0b278062f151fb6148b8d252cc9145f78cabec02 (patch)
tree7d207d0cf82476a2410cca6e5099425fb43e54df /bin/build.sh
parentmerged final blf-a6 files for groupbuy production units (diff)
downloadanduril-0b278062f151fb6148b8d252cc9145f78cabec02.tar.gz
anduril-0b278062f151fb6148b8d252cc9145f78cabec02.tar.bz2
anduril-0b278062f151fb6148b8d252cc9145f78cabec02.zip
Added attiny25-compatible build and flash scripts.
Tested (and works) with Tom E's eswitch_NOINIT.c for attiny25.
Diffstat (limited to '')
-rwxr-xr-xbin/build.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/build.sh b/bin/build.sh
index f347a29..e534494 100755
--- a/bin/build.sh
+++ b/bin/build.sh
@@ -22,4 +22,4 @@ function run () {
run $CC $CFLAGS -o $PROGRAM.o -c $PROGRAM.c
run $CC $OFLAGS $LDFLAGS -o $PROGRAM.elf $PROGRAM.o
run $OBJCOPY $OBJCOPYFLAGS $PROGRAM.elf $PROGRAM.hex
-run avr-size -C --mcu=attiny13 $PROGRAM.elf | grep Full
+run avr-size -C --mcu=$MCU $PROGRAM.elf | grep Full