forked from Frix-x/klippain
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
RP2040 USB support for Fysetc PortableInputShaper (Frix-x#345)
* Add RP2040 SPI1 USB boards (Frix-x#342) * added Fysetc portableinputshaper support to printer.cfg --------- Co-authored-by: Luk Schwalb <[email protected]>
- Loading branch information
1 parent
6fe679e
commit c56fb96
Showing
2 changed files
with
32 additions
and
2 deletions.
There are no files selected for viewing
29 changes: 29 additions & 0 deletions
29
config/hardware/accelerometers/adxl345_usb_rp2040_spi1.cfg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# This ADXL file is dedicated to be used with USB RP2040 boards where the ADXL | ||
# is connected to SPI1 | ||
|
||
# This include FYSTEC PortableInputShaper, ... | ||
|
||
|
||
# You need to set the proper serial in your overrides.cfg file | ||
[mcu adxl] | ||
serial: /dev/serial/by-id/xxx | ||
|
||
[adxl345] | ||
cs_pin: adxl:gpio13 | ||
spi_software_sclk_pin: adxl:gpio10 | ||
spi_software_mosi_pin: adxl:gpio11 | ||
spi_software_miso_pin: adxl:gpio12 | ||
axes_map: x,y,z | ||
# FYSTEC POS: x,-z,y | ||
|
||
[resonance_tester] | ||
accel_chip: adxl345 | ||
probe_points: | ||
-1,-1,-1 | ||
|
||
|
||
# Include the IS calibration macros to unlock them when | ||
# an accelerometer is installed on the machine | ||
[include ../../../macros/helpers/resonance_override.cfg] | ||
[include ../../../macros/calibration/IS_shaper_calibrate.cfg] | ||
[include ../../../macros/calibration/IS_vibrations_measurement.cfg] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters