MENU

Fun & Interesting

Teachable Moments: Flashing Klipper Updates to your MCUs

Steph AKA OGMP I³.0002 9,606 2 years ago
Video Not Working? Fix It Now

Links: https://docs.vorondesign.com/community/howto/drachenkatze/automating_klipper_mcu_updates.html Commands to copy/paste into your terminal window: sudo nano ~/update_klipper.sh Once inside the nano text editor, paste the following: sudo service klipper stop cd ~/klipper git pull make clean KCONFIG_CONFIG=config.octopus make menuconfig KCONFIG_CONFIG=config.octopus make KCONFIG_CONFIG=config.octopus flash FLASH_DEVICE=/dev/serial/by-id/YourMCUIDHere read -p "Octopus firmware flashed, please check above for any errors. Press [Enter] to continue, or [Ctrl+C] to abort" #make clean KCONFIG_CONFIG=config.ebb36 #make menuconfig KCONFIG_CONFIG=config.ebb36 #make KCONFIG_CONFIG=config.ebb36 #python3 ~/katapult/scripts/flash_can.py -i can0 -u YourCANBUSUUIDHere -r #python3 ~/katapult/scripts/flash_can.py -i can0 -u YourCANBUSUUIDHere -f ~/klipper/out/klipper.bin sudo service klipper start Quit and Save, then from the command prompt, issue this command to make the update_klipper.sh file executable: sudo chmod 777 ~/update_klipper.sh Once ready, run the shell script with the following command as needed: ~/update_klipper.sh

Comment