-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
HOTFIX: fixed teensy compile,upload toolchain
- Loading branch information
1 parent
52c389d
commit 8bac0ce
Showing
4 changed files
with
31 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
teensy_loader_cli | ||
# datasets | ||
data/ | ||
*.lz4 | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!/bin/sh | ||
## Installs compilation tools | ||
arduino-cli config init | ||
python3 update_board_manager.py | ||
arduino-cli core install teensy:avr | ||
arduino-cli lib install Stepper | ||
|
||
## Installs teensy flasher | ||
sudo apt-get install libusb-dev | ||
git clone https://github.com/PaulStoffregen/teensy_loader_cli | ||
cd teensy_loader_cli | ||
make | ||
echo "Installing teensy_loader_cli..." | ||
read -p "Enter the teensy_loader_cli install directory (press Enter for default: /usr/local/bin): " install_dir | ||
if [ -z "$install_dir" ]; then | ||
install_dir="/usr/local/bin" | ||
fi | ||
sudo ln -s $(readlink -f teensy_loader_cli) $install_dir/teensy_loader_cli | ||
cd .. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters