The unified diff between revisions [dcfa34d1..] and [056a532c..] 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 [056a532c92301bcb224e1f786c5f6720e8acf3eb] # # 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 +