Kiibohd Controller
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.

load 391B

1234567891011121314151617
  1. #!/bin/bash
  2. #| First check to see teensy-loader-cli has been compiled
  3. if [ ! -e teensy-loader-cli/teensy-loader-cli ]; then
  4. # Compile teensy-loader-cli
  5. mkdir -p teensy-loader-cli
  6. cd teensy-loader-cli
  7. cmake -G "Unix Makefiles" @CMAKE_SOURCE_DIR@/LoadFile
  8. make
  9. cd -
  10. fi
  11. #| Loads the hex file onto the teensy
  12. sudo teensy-loader-cli/teensy-loader-cli -mmcu=@MCU@ -w @TARGET_HEX@
  13. exit 0