Klipper Configuration for the Fly-SB2040-V2 on USB
Edit me
Important: This guide assumes you have a working Klipper host installation on a Raspberry Pi or compatible device
Compile Klipper firmware for Fly-SB2040-V2
Tip: To read more about the KCONFIG_CONFIG option, see here
- ssh to your klipper host console
-
cd to the klipper directory
cd ~/klipper
-
Run make clean
make clean KCONFIG_CONFIG=config.sb2040v2
-
Open menuconfig
make menuconfig KCONFIG_CONFIG=config.sb2040v2
- Set the following settings
- [*] Enable extra low-level configuration options
- Micro-controller Architecture (Raspberry Pi RP2040)
- Bootloader offset (16KiB bootloader)
- Communication interface (USB)
- USB ids
-
(gpio24) GPIO pins to set at micro-controller startup
- Quit and save the configuration
-
Run Make to compile the firmware
make KCONFIG_CONFIG=config.sb2040v2 -j4
Flash Klipper USB firmware with Katapult over USB
-
Find the Serial ID
ls /dev/serial/by-id/
-
Copy the ID containing ‘rp2040’ and make a note of it for use in your printer.cfg.
-
Run the make flash command to flash the firmware
make KCONFIG_CONFIG=config.sb2040v2 flash FLASH_DEVICE= {Your serial ID here }
-
Example
make KCONFIG_CONFIG=config.sb2040v2 flash FLASH_DEVICE=/dev/serial/by-id/usb-katapult_stm32f407xb_170038000650314D35323820-if00
-
Your Fly-SB2040-V2 should now have klipper firmware installed and be ready to use.