cd ~/klipper
make menuconfig
[*] Enable extra low-level configuration options Micro-controller Architecture (Raspberry Pi RP2040) ---> Bootloader offset (No bootloader) ---> Flash chip (W25Q080 with CLKDIV 2) ---> Communication interface (USB) ---> USB ids ---> () GPIO pins to set at micro-controller startup
Q
und dann Y
beendenmake clean && make -j4
dmesg
im Terminal eingeben [126509.556147] usb 1-1.4: new full-speed USB device number 13 using dwc_otg [126509.688730] usb 1-1.4: New USB device found, idVendor=2e8a, idProduct=0003, bcdDevice= 1.00 [126509.688767] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [126509.688783] usb 1-1.4: Product: RP2 Boot [126509.688795] usb 1-1.4: Manufacturer: Raspberry Pi [126509.688807] usb 1-1.4: SerialNumber: E0C9125B0D9B [126509.689785] usb-storage 1-1.4:1.0: USB Mass Storage device detected [126509.690375] scsi host0: usb-storage 1-1.4:1.0 [126510.727183] scsi 0:0:0:0: Direct-Access RPI RP2 3 PQ: 0 ANSI: 2 [126510.727877] sd 0:0:0:0: Attached scsi generic sg0 type 0 [126510.728901] sd 0:0:0:0: [sda] 262144 512-byte logical blocks: (134 MB/128 MiB) [126510.729746] sd 0:0:0:0: [sda] Write Protect is off [126510.729766] sd 0:0:0:0: [sda] Mode Sense: 03 00 00 00 [126510.730619] sd 0:0:0:0: [sda] No Caching mode page found [126510.730636] sd 0:0:0:0: [sda] Assuming drive cache: write through [126510.744971] sda: sda1 [126510.746027] sd 0:0:0:0: [sda] Attached SCSI removable disk
Es muss sowas am Ende stehen … Product: RP2 Boot, Manufacturer: Raspberry Pi
make flash FLASH_DEVICE=2e8a:0003
ls -lR /dev/ | grep -v '\->\s../tty' | grep -e 'tty[[:alpha:]]' -e serial
/dev/serial: /dev/serial/by-id: lrwxrwxrwx 1 root root 13 Jan 22 20:26 usb-Klipper_rp2040_E66138935F3C6B28-if00 -> ../../ttyACM0 /dev/serial/by-path: lrwxrwxrwx 1 root root 13 Jan 22 20:26 platform-3f980000.usb-usb-0:1.4:1.0 -> ../../ttyACM0