aboutsummaryrefslogtreecommitdiff
path: root/Arduino/bin
diff options
context:
space:
mode:
Diffstat (limited to 'Arduino/bin')
-rwxr-xr-xArduino/bin/README_Load.txt38
-rwxr-xr-xArduino/bin/build.sh36
-rwxr-xr-xArduino/bin/load.sh18
3 files changed, 0 insertions, 92 deletions
diff --git a/Arduino/bin/README_Load.txt b/Arduino/bin/README_Load.txt
deleted file mode 100755
index b465e2b..0000000
--- a/Arduino/bin/README_Load.txt
+++ /dev/null
@@ -1,38 +0,0 @@
-Instructions for loading compiled binary images
- from a raspberry pi to a feather M0.
-
-First, update your pi
-sudo apt-get update && apt-get upgrade
-sudo apt-get install build-essential
-sudo apt-get install libreadline-dev wx2.8-headers libwxgtk2.8-0 libwxgtk2.8-dev
-
-next visit the page https://github.com/shumatech/BOSSA.
- clone this repo and note the folder name.
-
-next follow the instructions on the page to make the bossac and bossash files
-
-next create a script some thing like what is below:
-
------------------------------------------------------
-# load.sh - flash your arduino using a locally installed bosac
-
-# Project Variables
-INO_NAME=ems
-PROJECT_PATH=/home/pi/ems/Arduino
-
-# Local System variables
-PORT=ttyACM0
-PACKAGES_PATH=/home/pi/BOSSA/bin
-BUILD_PATH=$PROJECT_PATH/build
-
-# Arduino compile tools are here:
-BOSSAC_PATH=$PACKAGES_PATH
-
-# load to the feather if possible
-$BOSSAC_PATH/bossac -i -d --port=$PORT -U true -i -e -w -v $BUILD_PATH/$INO_NAME.ino.bin -R
--------------------------------------------------------
-
-Note that if you do not know the port of the device, you can remove the --port=PORT and bossac will attempt to find the port.
-
-
-
diff --git a/Arduino/bin/build.sh b/Arduino/bin/build.sh
deleted file mode 100755
index fecf63a..0000000
--- a/Arduino/bin/build.sh
+++ /dev/null
@@ -1,36 +0,0 @@
-# build.sh - build the ems arduino code and flash it
-
-# Project Variables
-INO_NAME=ems
-PROJECT_PATH=/home/pi/ems/Arduino
-
-# Local System variables
-PORT=ttyACM0
-ARDUINO_PATH=/home/pi/arduino-1.6.12
-PACKAGES_PATH=/home/pi/.arduino15/packages
-
-# Arduino compile tools are here:
-TOOL_PATH=$PACKAGES_PATH/arduino/tools
-HARDWARE_PATH=$PACKAGES_PATH/arduino/hardware
-TOOLS="-tools $ARDUINO_PATH/tools-builder -tools $ARDUINO_PATH/hardware/tools/avr -tools $PACKAGES_PATH"
-HARDWARE="-hardware $HARDWARE_PATH -hardware $PACKAGES_PATH"
-BUILD_PATH=$PROJECT_PATH/build
-CMSIS_PATH=$PACKAGES_PATH/arduino/tools/CMSIS/4.0.0-atmel
-GCC_PATH=$PACKAGES_PATH/arduino/tools/arm-none-eabi-gcc/4.8.3-2014q1
-BOSSAC_PATH=$PACKAGES_PATH/arduino/tools/bossac/1.7.0
-OPENOCD_PATH=$PACKAGES_PATH/arduino/tools/openocd/0.9.0-arduino
-SOURCE_PATH=$PROJECT_PATH/
-
-ARDUINO=/home/pi/arduino-1.6.12/arduino-builder
-TOOLS_BUILDER=/home/pi/arduino-1.6.12/tools-builder
-
-# make sure our build folder exists
-mkdir -p $BUILD_PATH
-
-# compile and install
-$ARDUINO -dump-prefs -logger=machine $HARDWARE $TOOLS -built-in-libraries $ARDUINO_PATH/libraries -libraries $PROJECT_PATH/libraries -fqbn=adafruit:samd:adafruit_feather_m0 -vid-pid=0X239A_0X800B -ide-version=10612 -build-path $BUILD_PATH -warnings=all -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.CMSIS.path=$CMSIS_PATH -prefs=runtime.tools.arm-none-eabi-gcc.path=$GCC_PATH -prefs=runtime.tools.bossac.path=$BOSSAC_PATH -prefs=runtime.tools.openocd.path=$OPENOCD_PATH -verbose $PROJECT_PATH/$INO_NAME/$INO_NAME.ino
-$ARDUINO -compile -logger=machine $HARDWARE $TOOLS -built-in-libraries $ARDUINO_PATH/libraries -libraries $PROJECT_PATH/libraries -fqbn=adafruit:samd:adafruit_feather_m0 -vid-pid=0X239A_0X800B -ide-version=10612 -build-path $BUILD_PATH -warnings=all -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.CMSIS.path=$CMSIS_PATH -prefs=runtime.tools.arm-none-eabi-gcc.path=$GCC_PATH -prefs=runtime.tools.bossac.path=$BOSSAC_PATH -prefs=runtime.tools.openocd.path=$OPENOCD_PATH -verbose $PROJECT_PATH/$INO_NAME/$INO_NAME.ino
-
-# load to the feather if possible
-$BOSSAC_PATH/bossac -i -d --port=$PORT -U true -i -e -w -v $BUILD_PATH/$INO_NAME.ino.bin -R
-
diff --git a/Arduino/bin/load.sh b/Arduino/bin/load.sh
deleted file mode 100755
index 0446f55..0000000
--- a/Arduino/bin/load.sh
+++ /dev/null
@@ -1,18 +0,0 @@
-# load.sh - flash your arduino using a locally installed bosac
-
-# Project Variables
-INO_NAME=ems
-PROJECT_PATH=/home/pi/ems/Arduino
-
-# Local System variables
-PORT=ttyACM0
-PACKAGES_PATH=/home/pi/BOSSA/bin
-BUILD_PATH=$PROJECT_PATH/build
-
-# Arduino compile tools are here:
-BOSSAC_PATH=$PACKAGES_PATH
-
-# load to the feather if possible
-#$BOSSAC_PATH/bossac -i -d -U true -i -e -w -v $BUILD_PATH/$INO_NAME.ino.bin -R
-$BOSSAC_PATH/bossac -i -d --port=$PORT -U true -i -e -w -v $BUILD_PATH/$INO_NAME.ino.bin -R
-