comparison scripts/update_board @ 450:d2dfa1718edb prerelease

Added core example project, which allows editing of the core Bela source in the IDE. It requires 'building' in update_board
author Liam Donovan <l.b.donovan@qmul.ac.uk>
date Sun, 19 Jun 2016 22:28:34 +0100
parents 5e79364c9b1d
children 7f9032f43f41
comparison
equal deleted inserted replaced
449:5e79364c9b1d 450:d2dfa1718edb
1 #!/bin/sh 1 \#!/bin/sh
2 # 2 #
3 # This script copies the core Bela files to the BeagleBone Black 3 # This script copies the core Bela files to the BeagleBone Black
4 # in preparation for building projects. It will remove any existing 4 # in preparation for building projects. It will remove any existing
5 # Bela directory before copying the files over 5 # Bela directory before copying the files over
6 [ -z "$BBB_ADDRESS" ] && BBB_ADDRESS="root@192.168.7.2" 6 [ -z "$BBB_ADDRESS" ] && BBB_ADDRESS="root@192.168.7.2"
148 148
149 printf "Generating on-board documentation..." 149 printf "Generating on-board documentation..."
150 #ssh $BBB_ADDRESS "cd $BBB_BELA_HOME; doxygen &> /dev/null" 150 #ssh $BBB_ADDRESS "cd $BBB_BELA_HOME; doxygen &> /dev/null"
151 error_handler $? "\nError while generating Doxygen documentation\n" 151 error_handler $? "\nError while generating Doxygen documentation\n"
152 152
153 printf "Building example projects..."
154 ssh $BBB_ADDRESS "sh $BBB_BELA_HOME/examples/core/link_core.sh"
155 error_handler $? "\nError while building example projects\n"
156
153 #------------- 157 #-------------
154 #Installing IDE 158 #Installing IDE
155 [ $ALWAYS_YES -eq 0 ] && ALWAYS_YES_FLAG= || ALWAYS_YES_FLAG="-y" 159 [ $ALWAYS_YES -eq 0 ] && ALWAYS_YES_FLAG= || ALWAYS_YES_FLAG="-y"
156 ls $IDE_FOLDER/scripts/setup_IDE.sh >/dev/null 2>/dev/null 160 ls $IDE_FOLDER/scripts/setup_IDE.sh >/dev/null 2>/dev/null
157 if [ $? -eq 0 ] 161 if [ $? -eq 0 ]