Skip to content

Commit c56fb96

Browse files
Frix-xlukschwalb
andauthored
RP2040 USB support for Fysetc PortableInputShaper (#345)
* Add RP2040 SPI1 USB boards (#342) * added Fysetc portableinputshaper support to printer.cfg --------- Co-authored-by: Luk Schwalb <schwalb@luk.im>
1 parent 6fe679e commit c56fb96

2 files changed

Lines changed: 32 additions & 2 deletions

File tree

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# This ADXL file is dedicated to be used with USB RP2040 boards where the ADXL
2+
# is connected to SPI1
3+
4+
# This include FYSTEC PortableInputShaper, ...
5+
6+
7+
# You need to set the proper serial in your overrides.cfg file
8+
[mcu adxl]
9+
serial: /dev/serial/by-id/xxx
10+
11+
[adxl345]
12+
cs_pin: adxl:gpio13
13+
spi_software_sclk_pin: adxl:gpio10
14+
spi_software_mosi_pin: adxl:gpio11
15+
spi_software_miso_pin: adxl:gpio12
16+
axes_map: x,y,z
17+
# FYSTEC POS: x,-z,y
18+
19+
[resonance_tester]
20+
accel_chip: adxl345
21+
probe_points:
22+
-1,-1,-1
23+
24+
25+
# Include the IS calibration macros to unlock them when
26+
# an accelerometer is installed on the machine
27+
[include ../../../macros/helpers/resonance_override.cfg]
28+
[include ../../../macros/calibration/IS_shaper_calibrate.cfg]
29+
[include ../../../macros/calibration/IS_vibrations_measurement.cfg]

user_templates/printer.cfg

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@
7878

7979
# ------------------------------------------------------------------------ HEATED BED ----
8080
### --------------------------------------------------------------------------------------
81-
# [include config/hardware/bed_heaters/keenovo.cfg]
82-
# [include config/hardware/bed_heaters/creality.cfg]
81+
# [include config/hardware/bed_heaters/keenovo.cfg] # Used for most machines with NTC100K bed temperature sensors
82+
# [include config/hardware/bed_heaters/creality.cfg] # For machines with EPCOS 100k sensors like creality, etc...
8383
# ----------------------------------------------------------------------------------------
8484

8585

@@ -170,6 +170,7 @@
170170
# [include config/hardware/accelerometers/adxl345_rpi.cfg] # For ADXL plugged directly on the Pi (official and recommended way)
171171
# [include config/hardware/accelerometers/adxl345_usb.cfg] # For KUBSA, ...
172172
# [include config/hardware/accelerometers/adxl345_usb_rampon.cfg] # For KUBSA with Rampon firmware, ...
173+
# [include config/hardware/accelerometers/adxl345_usb_rp2040_spi1.cfg] # For Fysetc PortableInputShaper, ...
173174
# [include config/hardware/accelerometers/adxl345_skr.cfg] # For ADXL plugged in SKRv1.4 (not a conventional way)
174175

175176
# [include config/hardware/accelerometers/adxl345_sb2040.cfg] # For ADXL plugged in Mellow Fly-SB2040 boards

0 commit comments

Comments
 (0)