Skip to content

Commit

Permalink
fixed K-Shake&Tune integration
Browse files Browse the repository at this point in the history
  • Loading branch information
Frix-x authored and Felix Boisselier committed Feb 22, 2024
1 parent ef862ad commit 7de5d57
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,3 @@ cs_pin: toolhead:ADXL_CS
spi_software_sclk_pin: toolhead:ADXL_SCLK
spi_software_mosi_pin: toolhead:ADXL_MOSI
spi_software_miso_pin: toolhead:ADXL_MISO
axes_map: -y,z,-x
2 changes: 1 addition & 1 deletion config/hardware/accelerometers/adxl345_rpi.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ probe_points:
# Include the IS calibration macros to unlock them when
# an accelerometer is installed on the machine
[include ../../../macros/helpers/resonance_override.cfg]
[include ../../../scripts/K-ShakeTune/*.cfg]
[include ../../../scripts/K-ShakeTune/K-SnT_*.cfg]
2 changes: 1 addition & 1 deletion config/hardware/accelerometers/adxl345_usb.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ probe_points:
# Include the IS calibration macros to unlock them when
# an accelerometer is installed on the machine
[include ../../../macros/helpers/resonance_override.cfg]
[include ../../../scripts/K-ShakeTune/*.cfg]
[include ../../../scripts/K-ShakeTune/K-SnT_*.cfg]
2 changes: 1 addition & 1 deletion config/hardware/accelerometers/adxl345_usb_rampon.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ probe_points:
# Include the IS calibration macros to unlock them when
# an accelerometer is installed on the machine
[include ../../../macros/helpers/resonance_override.cfg]
[include ../../../scripts/K-ShakeTune/*.cfg]
[include ../../../scripts/K-ShakeTune/K-SnT_*.cfg]
2 changes: 1 addition & 1 deletion config/hardware/accelerometers/adxl345_usb_rp2040_spi1.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ probe_points:
# Include the IS calibration macros to unlock them when
# an accelerometer is installed on the machine
[include ../../../macros/helpers/resonance_override.cfg]
[include ../../../scripts/K-ShakeTune/*.cfg]
[include ../../../scripts/K-ShakeTune/K-SnT_*.cfg]
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ probe_points:
# Include the IS calibration macros to unlock them when
# an accelerometer is installed on the machine
[include ../../../../macros/helpers/resonance_override.cfg]
[include ../../../../scripts/K-ShakeTune/*.cfg]
[include ../../../../scripts/K-ShakeTune/K-SnT_*.cfg]
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ probe_points:
# Include the IS calibration macros to unlock them when
# an accelerometer is installed on the machine
[include ../../../../macros/helpers/resonance_override.cfg]
[include ../../../../scripts/K-ShakeTune/*.cfg]
[include ../../../../scripts/K-ShakeTune/K-SnT_*.cfg]
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ probe_points:
# Include the IS calibration macros to unlock them when
# an accelerometer is installed on the machine
[include ../../../../macros/helpers/resonance_override.cfg]
[include ../../../../scripts/K-ShakeTune/*.cfg]
[include ../../../../scripts/K-ShakeTune/K-SnT_*.cfg]
5 changes: 2 additions & 3 deletions config/hardware/accelerometers/lis2dw_usb_rp2040_spi1.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ serial: /dev/serial/by-id/xxx
[lis2dw]
cs_pin: lis2dw_mcu:gpio9
spi_bus: spi1a
axes_map: -y,x,-z
axes_map: x,y,z

[resonance_tester]
accel_chip: lis2dw
Expand All @@ -22,5 +22,4 @@ probe_points:
# 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]
[include ../../../scripts/K-ShakeTune/K-SnT_*.cfg]

0 comments on commit 7de5d57

Please sign in to comment.