The unified diff between revisions [dcfa34d1..] and [23a3e9a5..] is displayed below. It can also be downloaded as a raw diff.
This diff has been restricted to the following files: 'optimtest'
# # old_revision [dcfa34d1bbf576aab0f0d0ed1b0c64dc6160ee5b] # new_revision [23a3e9a50b4034343e3bd217d2c225dcaec064dd] # # add_file "optimtest" # content [b5e1e38fa3289cabca6affe4e1f370b8f4220a5c] # # set "optimtest" # attr "mtn:execute" # value "true" # ============================================================ --- /dev/null +++ optimtest b5e1e38fa3289cabca6affe4e1f370b8f4220a5c @@ -0,0 +1,17 @@ +#!/bin/sh + +OUTPUT= + +for COPTIM in -O0 -O1 -O2 -O3 -Os +do + make clean + make COPTIM=$COPTIM + SIZE=`ls -l quad.bin | awk '{ print \$5 }'` + LINE="$COPTIM: $SIZE" + OUTPUT="$OUTPUT $LINE" +done + +make clean + +echo $OUTPUT +