Adding teensy-loader-cli so it's not required.
- This is a patched version to work with Teensy 3.1 (current version on the website doesn't work) - "Should" work with OS's other than Linux, but hasn't been tested
This commit is contained in:
parent
ab9dee1783
commit
81ea61de84
8 changed files with 1249 additions and 30 deletions
16
LoadFile/load
Executable file
16
LoadFile/load
Executable file
|
@ -0,0 +1,16 @@
|
|||
#!/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 @CMAKE_SOURCE_DIR@/LoadFile
|
||||
make
|
||||
fi
|
||||
|
||||
#| Loads the hex file onto the teensy
|
||||
sudo teensy-loader-cli/teensy-loader-cli -mmcu=@MCU@ -w @TARGET_HEX@
|
||||
|
||||
exit 0
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue