comparison scripts/build_project.sh @ 61:afc593f7469e newapi

Add ability to connect to a running BeagleRT project using screen
author andrewm
date Wed, 15 Jul 2015 19:09:18 +0100
parents ad6b2767beaf
children 3ada83df91a5
comparison
equal deleted inserted replaced
60:ad6b2767beaf 61:afc593f7469e
75 then 75 then
76 echo "Building project..." 76 echo "Building project..."
77 ssh $BBB_ADDRESS "make all -C $BBB_PATH" 77 ssh $BBB_ADDRESS "make all -C $BBB_PATH"
78 else 78 else
79 echo "Building and running project..." 79 echo "Building and running project..."
80 ssh $BBB_ADDRESS "make all -C $BBB_PATH ; screen -d -m $BBB_PATH/BeagleRT $COMMAND_ARGS" 80 ssh $BBB_ADDRESS "make all -C $BBB_PATH ; screen -S BeagleRT -d -m $BBB_PATH/BeagleRT $COMMAND_ARGS"
81 fi 81 fi