Something like this?
(SSH)
cd ~/klipper/
make menuconfig
Use raspberry pi rp2040
And bootloader? (Worked for mine)
make clean
make
#############
(Hold button when pluging in Accelerometer)
SSH into pi and run lsusb to get your Accelerometers address "ID 2e8a:0003 Raspberry Pi RP2 Boot"
Run
cd ~/klipper/
make flash FLASH_DEVICE=2e8a:0003
Create a file named (adxl.cfg), in the same folder as config.cfg. (be sure to add [include adxl.cfg] in printer.cfg)
Then add this text in your adxl.cfg
(Replace xxxxxxxxx with what you get from
ls dev/serial/by-id/*)
Something like this? (SSH) cd ~/klipper/ make menuconfig Use raspberry pi rp2040 And bootloader? (Worked for mine) make clean make ############# (Hold button when pluging in Accelerometer)
SSH into pi and run lsusb to get your Accelerometers address "ID 2e8a:0003 Raspberry Pi RP2 Boot"
Run
cd ~/klipper/ make flash FLASH_DEVICE=2e8a:0003
Then add this text in your adxl.cfg
(Replace xxxxxxxxx with what you get from ls dev/serial/by-id/*)
############################### [mcu adxl] serial: /dev/serial/by-id/usb-Klipper_rp2040_XXXXXXXXXXXXXXXXXXXXX
ADXL345
[adxl345] cs_pin: adxl:gpio9 spi_software_sclk_pin: adxl:gpio10 spi_software_mosi_pin: adxl:gpio11 spi_software_miso_pin: adxl:gpio12
[resonance_tester] accel_chip: adxl345 probe_points: 100, 100, 20 ################################
If your not leaving this on permanently (normally you dont), please do this when finished #[include adxl.cfg] in your printer.cfg file
Hope this helps someone.