You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
1234567891011121314151617 |
- #!/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" $(cygpath -u @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
|