c25ded384f
- Vref of 1.2 V isn't working (may be due to missing setup/hardware)
18 lines
371 B
Bash
Executable File
18 lines
371 B
Bash
Executable File
#!/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
|
|
cd -
|
|
fi
|
|
|
|
#| Loads the hex file onto the teensy
|
|
sudo teensy-loader-cli/teensy-loader-cli -mmcu=@MCU@ -w @TARGET_HEX@
|
|
|
|
exit 0
|
|
|