Mercurial > louis > kiibohd-controller
changeset 151:28ed64f199d3
Forgot to add Windows loader script.
author | Jacob Alexander <haata@kiibohd.com> |
---|---|
date | Sat, 19 Apr 2014 19:59:51 -0700 |
parents | ed12d6f4267f |
children | cddbce3da134 |
files | LoadFile/winload |
diffstat | 1 files changed, 17 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/LoadFile/winload Sat Apr 19 19:59:51 2014 -0700 @@ -0,0 +1,17 @@ +#!/bin/bash + +#| First check to see teensy-loader-cli has been compiled +if [ ! -e teensy-loader-cli/teensy-loader-cli ]; then + # Compile teensy-loader-cli + mkdir -p teensy-loader-cli + cd teensy-loader-cli + cmake -G "Unix Makefiles" @CMAKE_SOURCE_DIR@/LoadFile + make + cd - +fi + +#| Loads the hex file onto the teensy +teensy-loader-cli/teensy-loader-cli -mmcu=@MCU@ -w @TARGET_HEX@ + +exit 0 +