Mercurial > hg > beaglert
diff scripts/build_pd.sh @ 162:c3e8226a5651 heavy-updated
- added additional flags to C rules (-DNDEBUG, -mfpu=neon)
- sample-accurate envelope triggering pd/heavy example
author | chnrx <chris.heinrichs@gmail.com> |
---|---|
date | Thu, 12 Nov 2015 14:59:46 +0000 |
parents | 07735c9d95c8 |
children | 40badaff5729 |
line wrap: on
line diff
--- a/scripts/build_pd.sh Thu Nov 05 19:27:44 2015 +0000 +++ b/scripts/build_pd.sh Thu Nov 12 14:59:46 2015 +0000 @@ -20,7 +20,7 @@ function usage { echo " - USAGE: build_pd.sh [[-i input folder containing _main.pd file ] [-o output folder for new heavy project .c files (default ../projects/heavy/hvtemp)] [-r don't replace render.cpp file in destination project folder] [-b bbb path to copy to (default ~/BeagleRT)] | [-h]] + USAGE: build_pd.sh [[-i input folder containing _main.pd file ] [-o output folder for new heavy project .c files (default ../projects/heavy/hvtemp)] [-b bbb path to copy to (default ~/BeagleRT)] | [-h]] " echo "example: build_pd.sh -i ../projects/heavy/pd/hello-world -o ../projects/heavy/hello-world" } @@ -78,6 +78,9 @@ exit 1; fi; +# remove old executable and heavy context .o/.d files +ssh $BBB_ADDRESS "rm $BBB_PATH/BeagleRT $BBB_PATH/build/source/HvContext_bbb.d $BBB_PATH/build/source/HvContext_bbb.o"; + # Make new BeagleRT executable and run if [ $RUN_PROJECT -eq 0 ] then