Fix: Disable ADXL345 by default (pin compatibility issues)
ADXL345 causes 'Pin PG11 is not a valid pin name on mcu mcu' error when Klipper runs on host ([mcu rpi]) instead of printer MCU. Disabled ADXL345 and [resonance_tester] by default. Users can enable ADXL later if they have: - External ADXL345 on RPI (USB SPI) - Cartographer ADXL (with correct V3/V4 pin) - Klipper running on printer MCU (not host) Input Shaper can be configured manually without ADXL.
This commit is contained in:
parent
454b80b514
commit
eaa0e45d09
2 changed files with 59 additions and 29 deletions
|
|
@ -67,23 +67,37 @@ value: 0
|
|||
# - spi_bus: spi2
|
||||
# ============================================================================
|
||||
|
||||
# Neptune 4 Plus built-in ADXL345 (use this if Cartographer ADXL fails)
|
||||
[adxl345]
|
||||
cs_pin: PG11
|
||||
spi_bus: spi2
|
||||
axes_map: x, y, z
|
||||
# ============================================================================
|
||||
# ADXL345 ACCELEROMETER - DISABLED
|
||||
# ============================================================================
|
||||
# ADXL is disabled by default. Enable ONE option below if you have ADXL:
|
||||
#
|
||||
# Option 1: Neptune 4 Plus built-in (requires Klipper on printer MCU)
|
||||
# [adxl345]
|
||||
# cs_pin: PG11
|
||||
# spi_bus: spi2
|
||||
# axes_map: x, y, z
|
||||
#
|
||||
# Option 2: Cartographer integrated (V3 or V4)
|
||||
# [adxl345]
|
||||
# cs_pin: cartographer:PA3 # V3
|
||||
# cs_pin: cartographer:PA0 # V4
|
||||
# spi_bus: spi1
|
||||
# axes_map: x, y, z
|
||||
#
|
||||
# Option 3: External ADXL345 on RPI (USB SPI adapter)
|
||||
# [adxl345]
|
||||
# cs_pin: spidev1.0
|
||||
# spi_speed: 5000000
|
||||
# axes_map: x, y, z
|
||||
# ============================================================================
|
||||
|
||||
# Cartographer ADXL (alternative - comment out above, uncomment below)
|
||||
#[adxl345]
|
||||
#cs_pin: cartographer:PA3 # V3
|
||||
#cs_pin: cartographer:PA0 # V4
|
||||
#spi_bus: spi1
|
||||
#axes_map: x, y, z
|
||||
# ADXL345 is disabled - uncomment one option above if needed
|
||||
# [resonance_tester] requires ADXL to be enabled
|
||||
|
||||
[resonance_tester]
|
||||
accel_chip: adxl345
|
||||
probe_points: 165, 165, 20
|
||||
165, 165, 20
|
||||
# [resonance_tester]
|
||||
# accel_chip: adxl345
|
||||
# probe_points: 165, 165, 20
|
||||
|
||||
# ============================================================================
|
||||
# FILAMENT SENSORS
|
||||
|
|
|
|||
|
|
@ -67,22 +67,38 @@ value: 0
|
|||
# - spi_bus: spi2
|
||||
# ============================================================================
|
||||
|
||||
# Neptune 4 Plus built-in ADXL345 (use this if Cartographer ADXL fails)
|
||||
[adxl345]
|
||||
cs_pin: PG11
|
||||
spi_bus: spi2
|
||||
axes_map: x, y, z
|
||||
# ============================================================================
|
||||
# ADXL345 ACCELEROMETER - DISABLED
|
||||
# ============================================================================
|
||||
# ADXL is disabled by default. Enable ONE option below if you have ADXL:
|
||||
#
|
||||
# Option 1: Neptune 4 Plus built-in (requires Klipper on printer MCU)
|
||||
# [adxl345]
|
||||
# cs_pin: PG11
|
||||
# spi_bus: spi2
|
||||
# axes_map: x, y, z
|
||||
#
|
||||
# Option 2: Cartographer integrated (V3 or V4)
|
||||
# [adxl345]
|
||||
# cs_pin: cartographer:PA3 # V3
|
||||
# cs_pin: cartographer:PA0 # V4
|
||||
# spi_bus: spi1
|
||||
# axes_map: x, y, z
|
||||
#
|
||||
# Option 3: External ADXL345 on RPI (USB SPI adapter)
|
||||
# [adxl345]
|
||||
# cs_pin: spidev1.0
|
||||
# spi_speed: 5000000
|
||||
# axes_map: x, y, z
|
||||
# ============================================================================
|
||||
|
||||
# Cartographer ADXL (alternative - comment out above, uncomment below)
|
||||
#[adxl345]
|
||||
#cs_pin: cartographer:PA3 # V3
|
||||
#cs_pin: cartographer:PA0 # V4
|
||||
#spi_bus: spi1
|
||||
#axes_map: x, y, z
|
||||
# ADXL345 is disabled - uncomment one option above if needed
|
||||
# [resonance_tester] requires ADXL to be enabled
|
||||
|
||||
[resonance_tester]
|
||||
accel_chip: adxl345
|
||||
probe_points: 165, 165, 20
|
||||
# [resonance_tester]
|
||||
# accel_chip: adxl345
|
||||
# probe_points: 165, 165, 20
|
||||
# Enable above after configuring [adxl345]
|
||||
165, 165, 20
|
||||
|
||||
# ============================================================================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue