diff options
| author | Sudar <sudar@sudarmuthu.com> | 2014-09-21 12:05:12 +0530 |
|---|---|---|
| committer | Sudar <sudar@sudarmuthu.com> | 2014-09-21 12:05:12 +0530 |
| commit | ee1855c6b1aabf4d50afcfba69cecd2417d27237 (patch) | |
| tree | 05db0503f3cb1ffbd41f077ecf6135a429d5b66b /script/bootstrap/chipkit.sh | |
| parent | 6f46722abb40c60dcaa0e40292342d015906c8bf (diff) | |
| parent | d092c14d7ec845246f6588704e22718615626982 (diff) | |
Merge pull request #268 from peplin/259-move-examples
Move tests back to 'examples', skip non-testable examples when testing.
Fix #259
Fix #260
Diffstat (limited to 'script/bootstrap/chipkit.sh')
| -rw-r--r-- | script/bootstrap/chipkit.sh | 61 |
1 files changed, 0 insertions, 61 deletions
diff --git a/script/bootstrap/chipkit.sh b/script/bootstrap/chipkit.sh deleted file mode 100644 index efe9615..0000000 --- a/script/bootstrap/chipkit.sh +++ /dev/null @@ -1,61 +0,0 @@ -set -e -BOOTSTRAP_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" -source $BOOTSTRAP_DIR/common.sh - -echo "Installing dependencies for building for the chipKIT" - - -if [ -z "$MPIDE_DIR" ] || ! test -e $MPIDE_DIR || [ $OS == "cygwin" ]; then - - echo "Installing MPIDE..." - - if [ $OS == "cygwin" ]; then - MPIDE_BASENAME="mpide-0023-windows-20130715" - MPIDE_FILE="$MPIDE_BASENAME".zip - EXTRACT_COMMAND="unzip -q" - if ! command -v unzip >/dev/null 2>&1; then - _cygwin_error "unzip" - fi - elif [ $OS == "mac" ]; then - MPIDE_BASENAME=mpide-0023-macosx-20130715 - MPIDE_FILE="$MPIDE_BASENAME".dmg - else - MPIDE_BASENAME=mpide-0023-linux64-20130817-test - MPIDE_FILE="$MPIDE_BASENAME".tgz - EXTRACT_COMMAND="tar -xzf" - fi - - MPIDE_URL=http://chipkit.s3.amazonaws.com/builds/$MPIDE_FILE - - _pushd $DEPENDENCIES_FOLDER - if ! test -e $MPIDE_FILE - then - echo "Downloading MPIDE..." - download $MPIDE_URL $MPIDE_FILE - fi - - if ! test -d $MPIDE_BASENAME - then - echo "Installing MPIDE to local folder..." - if [ $OS == "mac" ]; then - hdiutil attach $MPIDE_FILE - cp -R /Volumes/Mpide/Mpide.app/Contents/Resources/Java $MPIDE_BASENAME - hdiutil detach /Volumes/Mpide - else - $EXTRACT_COMMAND $MPIDE_FILE - fi - echo "MPIDE installed" - fi - - if [ $OS == "cygwin" ]; then - chmod a+x mpide/hardware/pic32/compiler/pic32-tools/bin/* - chmod a+x -R mpide/hardware/pic32/compiler/pic32-tools/pic32mx/ - chmod a+x mpide/*.dll - chmod a+x mpide/hardware/tools/avr/bin/* - fi - _popd - -fi - -echo -echo "${bldgreen}chipKIT dependencies installed.$txtrst" |
