cd ~/klipper && make menuconfig
[*] Enable extra low-level configuration options Micro-controller Architecture (STMicroelectronics STM32) ---> Processor model (STM32H723) ---> Bootloader offset (No bootloader) ---> Clock Reference (25 MHz crystal) ---> Communication interface (USB to CAN bus bridge (USB on PA11/PA12)) ---> CAN bus interface (CAN bus (on PD0/PD1)) ---> USB ids ---> (1000000) CAN bus speed () GPIO pins to set at micro-controller startup
make -j4
um Klipper zu kompilieren dmesg -Hw
im Terminal aufrufen * [Nov 1 13:42] usb 1-1.1: new full-speed USB device number 3 using xhci_hcd [ +0.101925] usb 1-1.1: not running at top speed; connect to a high speed hub [ +0.006001] usb 1-1.1: New USB device found, idVendor=0483, idProduct=df11, bcdDevice= 2.00 [ +0.000013] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ +0.000006] usb 1-1.1: Product: DFU in FS Mode [ +0.000004] usb 1-1.1: Manufacturer: STMicroelectronics [ +0.000005] usb 1-1.1: SerialNumber: 377D37553033
dfu-util -R -a 0 -s 0x08000000:mass-erase:force -D ~/klipper/out/klipper.bin
cp ~/klipper/config/generic-bigtreetech-octopus-pro-v1.1.cfg ~/printer_data/config/printer.cfg
ip a
can0: <NOARP,UP,LOWER_UP,ECHO> mtu 16 qdisc pfifo_fast state UP group default qlen 1024
sudo systemctl stop klipper.service
~/klippy-env/bin/python ~/klipper/scripts/canbus_query.py can0
pi@TestPrinter:~ $ ~/klippy-env/bin/python ~/klipper/scripts/canbus_query.py can0 Found canbus_uuid=b4a81d00232e, Application: Klipper Total 2 uuids found
[mcu] #serial: /dev/serial/by-id/usb-Klipper_stm32h723xx_240045001551333031373837-if00 # CAN bus is also available on this board canbus_uuid: b4a81d00232e
pi@TestPrinter:~ $ ~/klippy-env/bin/python ~/klipper/scripts/canbus_query.py can0 Found canbus_uuid=b4a81d00232e, Application: Klipper Found canbus_uuid=f2cb5b1e081f, Application: Klipper Total 2 uuids found