mirror of
https://github.com/bassamanator/Sovol-SV06-firmware.git
synced 2025-11-08 21:41:15 +00:00
Created adxl-rp2040.cfg. Cleanup in klipper*.cfg.
This commit is contained in:
15
adxl-rp2040.cfg
Normal file
15
adxl-rp2040.cfg
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
#####################################################################
|
||||||
|
# ADXL345 related Settings
|
||||||
|
# https://www.klipper3d.org/Measuring_Resonances.html#adxl345
|
||||||
|
#####################################################################
|
||||||
|
|
||||||
|
[mcu rpi]
|
||||||
|
serial: /dev/serial/by-id/usb-Klipper_rp2040_E66138935F154C28-if00
|
||||||
|
|
||||||
|
[adxl345]
|
||||||
|
cs_pin: rpi:None
|
||||||
|
|
||||||
|
[resonance_tester]
|
||||||
|
accel_chip: adxl345
|
||||||
|
probe_points:
|
||||||
|
110, 110, 20 # an example
|
||||||
@@ -14,11 +14,11 @@
|
|||||||
[include ./macros/TEST_SPEED.cfg]
|
[include ./macros/TEST_SPEED.cfg]
|
||||||
[include ./macros/PARKING.cfg]
|
[include ./macros/PARKING.cfg]
|
||||||
[include ./macros/MECHANICAL_GANTRY_CALIBRATION.cfg]
|
[include ./macros/MECHANICAL_GANTRY_CALIBRATION.cfg]
|
||||||
|
# Uncomment the following line if you're using an adxl345, and have it setup
|
||||||
|
[include ./adxl-rp2040.cfg]
|
||||||
|
|
||||||
[mcu]
|
[mcu]
|
||||||
#####################################################################
|
|
||||||
# Obtain definition by "ls -l /dev/serial/by-id/"
|
# Obtain definition by "ls -l /dev/serial/by-id/"
|
||||||
#####################################################################
|
|
||||||
serial: /dev/serial/by-id/usb-1a86_USB2.0-Serial-if00-port0
|
serial: /dev/serial/by-id/usb-1a86_USB2.0-Serial-if00-port0
|
||||||
# restart_method: command # NOTE is this needed?
|
# restart_method: command # NOTE is this needed?
|
||||||
|
|
||||||
@@ -136,21 +136,9 @@ sense_resistor: 0.150
|
|||||||
uart_address: 3
|
uart_address: 3
|
||||||
|
|
||||||
#####################################################################
|
#####################################################################
|
||||||
# ADXL345 related Settings
|
# Misc
|
||||||
# https://www.klipper3d.org/Measuring_Resonances.html#adxl345
|
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
# Uncomment this section if you're using an adxl345
|
|
||||||
# [mcu rpi]
|
|
||||||
# serial: /tmp/klipper_host_mcu
|
|
||||||
|
|
||||||
# [adxl345]
|
|
||||||
# cs_pin: rpi:None
|
|
||||||
|
|
||||||
# [resonance_tester]
|
|
||||||
# accel_chip: adxl345
|
|
||||||
# probe_points: 110, 110, 20
|
|
||||||
|
|
||||||
# [input_shaper]
|
# [input_shaper]
|
||||||
# shaper_freq_x: 46.948
|
# shaper_freq_x: 46.948
|
||||||
# shaper_type_x: mzv
|
# shaper_type_x: mzv
|
||||||
@@ -158,12 +146,8 @@ uart_address: 3
|
|||||||
# shaper_type_y: mzv
|
# shaper_type_y: mzv
|
||||||
# shaper_type: ei
|
# shaper_type: ei
|
||||||
|
|
||||||
#####################################################################
|
[virtual_sdcard]
|
||||||
# Misc
|
path: /home/pi/printer_data/gcodes
|
||||||
#####################################################################
|
|
||||||
|
|
||||||
# [virtual_sdcard]
|
|
||||||
# path: /home/pi/gcode_files/
|
|
||||||
|
|
||||||
[temperature_sensor mcu_temp]
|
[temperature_sensor mcu_temp]
|
||||||
sensor_type: temperature_mcu
|
sensor_type: temperature_mcu
|
||||||
@@ -226,4 +210,4 @@ cs_pin: PB12
|
|||||||
sclk_pin: PB13
|
sclk_pin: PB13
|
||||||
sid_pin: PB15
|
sid_pin: PB15
|
||||||
encoder_pins: ^PB14, ^PB10
|
encoder_pins: ^PB14, ^PB10
|
||||||
click_pin: ^!PB2
|
click_pin: ^!PB2
|
||||||
Reference in New Issue
Block a user