diff options
author | Tomasz Kramkowski <tomasz@kramkow.ski> | 2025-08-15 21:13:44 +0100 |
---|---|---|
committer | Tomasz Kramkowski <tomasz@kramkow.ski> | 2025-08-15 21:46:37 +0100 |
commit | ae9102482560b557628c83a247ab35063ade0bf7 (patch) | |
tree | 2f08afac5a943aac31186e2c5c0c7d60e6d8837a /scripts/flash_usb.py | |
parent | 121edea90cde8295f720ed9d2f2fccca61f66bb4 (diff) | |
download | kutter-ae9102482560b557628c83a247ab35063ade0bf7.tar.gz kutter-ae9102482560b557628c83a247ab35063ade0bf7.tar.xz kutter-ae9102482560b557628c83a247ab35063ade0bf7.zip |
Rename everything significant to Kutter except for docs
Diffstat (limited to 'scripts/flash_usb.py')
-rwxr-xr-x | scripts/flash_usb.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/scripts/flash_usb.py b/scripts/flash_usb.py index 99e291fc..2d3b4a4d 100755 --- a/scripts/flash_usb.py +++ b/scripts/flash_usb.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Tool to enter a USB bootloader and flash Klipper +# Tool to enter a USB bootloader and flash Kutter # # Copyright (C) 2019 Kevin O'Connor <kevin@koconnor.net> # @@ -192,7 +192,7 @@ def flash_hidflash(device, binfile, sudo=True): call_hidflash(binfile, sudo) -# Call Klipper modified "picoboot" +# Call Kutter modified "picoboot" def call_picoboot(bus, addr, binfile, sudo): args = ["lib/rp2040_flash/rp2040_flash", binfile] if bus is not None: @@ -205,7 +205,7 @@ def call_picoboot(bus, addr, binfile, sudo): raise error("Error running rp2040_flash") -# Flash via Klipper modified "picoboot" +# Flash via Kutter modified "picoboot" def flash_picoboot(device, binfile, sudo): ttyname, serbypath = translate_serial_to_tty(device) buspath, devpath = translate_serial_to_usb_path(device) @@ -256,7 +256,7 @@ def flash_atsamd(options, binfile): SMOOTHIE_HELP = """ Failed to flash to %s: %s -If flashing Klipper to a Smoothieboard for the first time it may be +If flashing Kutter to a Smoothieboard for the first time it may be necessary to manually place the board into "bootloader mode" - press and hold the "Play button" and then press and release the "Reset button". @@ -266,7 +266,7 @@ following command: make flash FLASH_DEVICE=1d50:6015 Alternatively, one can flash a Smoothieboard via SD card - copy the -"out/klipper.bin" file to a file named "firmware.bin" on an SD card +"out/kutter.bin" file to a file named "firmware.bin" on an SD card and then restart the Smoothieboard with that SD card. """ @@ -344,7 +344,7 @@ following command: Alternatively, one can flash rp2040 boards like the Pico by manually entering bootloader mode(hold bootsel button during powerup), mount the -device as a usb drive, and copy klipper.uf2 to the device. +device as a usb drive, and copy kutter.uf2 to the device. """ @@ -390,7 +390,7 @@ MCUTYPES = { def main(): - usage = "%prog [options] -t <type> -d <device> <klipper.bin>" + usage = "%prog [options] -t <type> -d <device> <kutter.bin>" opts = optparse.OptionParser(usage) opts.add_option( "-t", "--type", type="string", dest="mcutype", help="micro-controller type" |