Skip to content

Instantly share code, notes, and snippets.

@NameOfTheDragon
Last active May 27, 2022 17:12
Show Gist options
  • Select an option

  • Save NameOfTheDragon/a4255461587c07f4bb5a3f0610cdf1e7 to your computer and use it in GitHub Desktop.

Select an option

Save NameOfTheDragon/a4255461587c07f4bb5a3f0610cdf1e7 to your computer and use it in GitHub Desktop.
BASH script to update Klipper MCUs using a permanently installed SD card
cd ~/klipper
make
~/klipper/scripts/flash-sdcard.sh /dev/serial/by-id/usb-Klipper_lpc1769_0DF0FF0EA69869AF2046415EC42000F5-if00 btt-skr-turbo-v1.4
~/klipper/scripts/flash-sdcard.sh /dev/serial/by-id/usb-Klipper_lpc1769_10D0FF0BA39869AFC04E405EC12000F5-if00 btt-skr-turbo-v1.4
cd ~
@NameOfTheDragon
Copy link
Author

Put this script in your user home directory (~)
Replace the serial port IDs with the correct ones for your system. ls /dev/serial/by-id to list available ports.
replace the board name with the correct one for your system. (~/klipper/scripts/flash-sdcard.sh -l for a list of supported boards)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment