Archived
1
0
This repo is archived. You can view files and clone it, but cannot push or open issues or pull requests.
controller/LoadFile/winload

18 lines
400 B
Plaintext
Raw Normal View History

2014-04-20 02:59:51 +00:00
#!/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
2014-04-20 03:17:38 +00:00
cmake -G "Unix Makefiles" $(cygpath -u @CMAKE_SOURCE_DIR@/LoadFile)
2014-04-20 02:59:51 +00:00
make
cd -
fi
#| Loads the hex file onto the teensy
teensy-loader-cli/teensy-loader-cli -mmcu=@MCU@ -w @TARGET_HEX@
exit 0