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
make menuconfig
to configure your Klipper settings, build Klipper using
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).
st-flash write out/klipper.bin 0x08000000