File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 2424 echo " Target: $TARGET "
2525 make CONF=$TARGET clean clean-examples > /dev/null 2>&1
2626 make CONF=$TARGET examples 2> errors | $MAKEDIR /stats.py > newsizes-$TARGET
27- grep " Error" errors
27+ # NOTE One class is named I2CErrorPolicy and thus must be removed from the search
28+ grep " Error" errors | grep -v I2CErrorPolicy
2829 # check if error found, then abort
2930 if [ $? -ne 1 ]; then
3031 echo " Error occurred, aborting."
Original file line number Diff line number Diff line change @@ -18,12 +18,13 @@ make clean-all >/dev/null 2>&1
1818make clean-examples-all > /dev/null 2>&1
1919
2020echo " Build all examples for all targets"
21- export TARGETS=" UNO ATtiny84"
21+ # export TARGETS="UNO ATtiny84"
22+ export TARGETS=" UNO"
2223for TARGET in $TARGETS
2324do
2425 echo " Target: $TARGET "
2526 make CONF=$TARGET examples 2> errors | $MAKEDIR /stats.py > newsizes-$TARGET
26- grep " Error" errors
27+ grep " Error" errors | grep -v " I2CErrorPolicy "
2728 # check if error found, then abort
2829 if [ $? -ne 1 ]; then
2930 echo " Error occurred, aborting."
You can’t perform that action at this time.
0 commit comments