Archived
1
0

Forgot to add Windows loader script.

This commit is contained in:
Jacob Alexander 2014-04-19 19:59:51 -07:00
parent 4c76357912
commit 4e805a21fb

17
LoadFile/winload Executable file
View File

@ -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