How to compile and update the klipper firmware running on a Fly-E3-v2 in USB mode
Edit me
Configuring and updating Klipper for USB
Compile Klipper firmware for Fly-E3-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.e3v2
Important: If when running the above command you get this output
Then you need to set all the correct settings when running make menuconfig below.
Otherwise, skip to compiling klipper.
Using default symbol values (no 'config.e3v2')
. Configuration saved to 'config.e3v2'
Then you need to set all the correct settings when running make menuconfig below.
Otherwise, skip to compiling klipper.
-
Open menuconfig
make menuconfig KCONFIG_CONFIG=config.e3v2
- Set the following settings
- [*] Enable extra low-level configuration options
- Micro-controller Architecture (STMicroelectronics STM32)
- Processor model (STM32F407)
- Bootloader offset (32KiB bootloader)
- Clock Reference (8 MHz crystal)
- Communication interface (USB (on PA11/PA12))
- USB ids
-
() GPIO pins to set at micro-controller startup
- Quit and save the configuration
-
Run Make to compile the firmware
make KCONFIG_CONFIG=config.e3v2 -j4
Flash Klipper USB firmware with Katapult over USB
-
Look in your printer.cfg file and make note of the serial ID for your board.
-
Run the make flash command to flash the firmware
make KCONFIG_CONFIG=config.e3v2 flash FLASH_DEVICE= {Your serial ID here }
-
Example
make KCONFIG_CONFIG=config.e3v2 flash FLASH_DEVICE=/dev/serial/by-id/usb-katapult_stm32f407xb_170038000650314D35323820-if00
-
Your Fly-E3-v2 should now have klipper firmware updated and be ready to use again.