-
-
Notifications
You must be signed in to change notification settings - Fork 235
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #238 from Frix-x/develop
v4.0.1
- Loading branch information
Showing
27 changed files
with
393 additions
and
185 deletions.
There are no files selected for viewing
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,8 @@ | ||
[include generics/adxl345_software_spi.cfg] | ||
|
||
# As it's a toolhead ADXL, we add some default pins overrides from here | ||
[adxl345] | ||
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 |
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 |
---|---|---|
@@ -1,18 +1,8 @@ | ||
[include generics/adxl345_software_spi.cfg] | ||
|
||
# As it's a toolhead ADXL, we add some default pins overrides from here | ||
[adxl345] | ||
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: x,y,z | ||
|
||
[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
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 |
---|---|---|
@@ -1,18 +1,8 @@ | ||
[include generics/adxl345_software_spi.cfg] | ||
|
||
# As it's a toolhead ADXL, we add some default pins overrides from here | ||
[adxl345] | ||
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: x,y,z | ||
|
||
[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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,5 @@ | ||
[include generics/adxl345_hardware_spi1.cfg] | ||
|
||
# As it's a toolhead ADXL, we add some default pins overrides from here | ||
[adxl345] | ||
cs_pin: toolhead:ADXL_CS | ||
spi_bus: spi1 | ||
axes_map: x,y,z | ||
|
||
[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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1 @@ | ||
[adxl345] | ||
spi_bus: ssp1 | ||
cs_pin: ADXL_CS | ||
axes_map: -z,y,x | ||
|
||
[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] | ||
[include generics/adxl345_hardware_ssp1.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
25 changes: 25 additions & 0 deletions
25
config/hardware/accelerometers/generics/adxl345_hardware_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,25 @@ | ||
# This ADXL file is dedicated to be used with ADXL boards | ||
# connected over the SPI bus of the MCU boards on "spi1" | ||
|
||
# This include most Mellow toolhead boards such as SHT boards, ... | ||
# But also Octopus, etc... | ||
|
||
# If using a toolhead board, be sure to have the pin override in your mcu.cfg (toolhead:ADXL_CS) | ||
|
||
|
||
[adxl345] | ||
cs_pin: ADXL_CS | ||
spi_bus: spi1 | ||
axes_map: x,y,z | ||
|
||
[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] |
22 changes: 22 additions & 0 deletions
22
config/hardware/accelerometers/generics/adxl345_hardware_ssp1.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,22 @@ | ||
# This ADXL file is dedicated to be used with ADXL boards | ||
# connected over the SPI bus of the MCU boards on "ssp1" | ||
|
||
# This include BTT SKRv1.4, ... | ||
|
||
|
||
[adxl345] | ||
cs_pin: ADXL_CS | ||
spi_bus: ssp1 | ||
axes_map: x,y,z | ||
|
||
[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] |
26 changes: 26 additions & 0 deletions
26
config/hardware/accelerometers/generics/adxl345_software_spi.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,26 @@ | ||
# This ADXL file is dedicated to be used with ADXL boards | ||
# connected over the software SPI bus of the MCU boards | ||
|
||
# This include most BTT toolhead boards such as EBB boards, SB2209, SB2240, | ||
# but also some Mellow boards such as the Fly-SB2040, ... | ||
# If using a toolhead board, be sure to have the pin override in your mcu.cfg (toolhead:ADXL_CS) | ||
|
||
|
||
[adxl345] | ||
cs_pin: ADXL_CS | ||
spi_software_sclk_pin: ADXL_SCLK | ||
spi_software_mosi_pin: ADXL_MOSI | ||
spi_software_miso_pin: ADXL_MISO | ||
axes_map: x,y,z | ||
|
||
[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
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
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
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
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
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
File renamed without changes.
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
Oops, something went wrong.