How to use st-flash (st-util) to flash Klipper firmware to STM32

In order to flash Klipper firmware to an STM32 board using a STLink tool (no matter if its a STLinkV2, V3 etc), after

example.sh
make menuconfig

to configure your Klipper settings, build Klipper using

example.sh
make -j8

After that, the Klipper binary will be built to out/klipper.bin. To flash it to your STM32 board, you can use st-flash (which is part of the st-util package).

example.sh
st-flash write out/klipper.bin 0x08000000

Check out similar posts by category: Klipper, 3D Printer, STM32