comparison scripts/update_board.sh @ 421:57903b3259e1 prerelease

update_board.sh now disables Bela at startup and enables the IDE at startup
author Giulio Moro <giuliomoro@yahoo.it>
date Thu, 16 Jun 2016 14:02:15 +0100
parents 669855b8461b
children 99de323c13b3
comparison
equal deleted inserted replaced
420:669855b8461b 421:57903b3259e1
154 ssh $BBB_ADDRESS "make -C $BBB_BELA_HOME --no-print-directory idestart" 154 ssh $BBB_ADDRESS "make -C $BBB_BELA_HOME --no-print-directory idestart"
155 else 155 else
156 # run the IDE 156 # run the IDE
157 ssh $BBB_ADDRESS "make -C $BBB_BELA_HOME --no-print-directory idestart" 157 ssh $BBB_ADDRESS "make -C $BBB_BELA_HOME --no-print-directory idestart"
158 echo \ 158 echo \
159 "Bela was installed on the board, but a valid IDE folder was not found in $IDE_FOLDER/, so the IDE was not updated. If there was an older version of the IDE on the board, it is being restarted. 159 "The Bela core files were updated the board, but a valid IDE folder was not found in $IDE_FOLDER/, so the IDE was not updated. If there was an older version of the IDE on the board, it is being restarted.
160 You can get a copy of the most up-to-date IDE files from https://github.com/LBDonovan/bela-ide" 160 You can get a copy of the most up-to-date IDE files from https://github.com/LBDonovan/bela-ide"
161 fi 161 fi
162
163 ssh $BBB_ADDRESS make -C $BBB_BELA_HOME --no-print-directory idestartup nostartup && echo "The board will now run the IDE at startup, but startup of the Bela program has been disabled. To enable it, use the set_startup.sh script"
164
165