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:
root 2026-03-13 13:04:36 +00:00
parent 454b80b514
commit eaa0e45d09
2 changed files with 59 additions and 29 deletions

View file

@ -67,23 +67,37 @@ value: 0
# - spi_bus: spi2 # - spi_bus: spi2
# ============================================================================ # ============================================================================
# Neptune 4 Plus built-in ADXL345 (use this if Cartographer ADXL fails) # ============================================================================
[adxl345] # ADXL345 ACCELEROMETER - DISABLED
cs_pin: PG11 # ============================================================================
spi_bus: spi2 # ADXL is disabled by default. Enable ONE option below if you have ADXL:
axes_map: x, y, z #
# 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 is disabled - uncomment one option above if needed
#[adxl345] # [resonance_tester] requires ADXL to be enabled
#cs_pin: cartographer:PA3 # V3
#cs_pin: cartographer:PA0 # V4
#spi_bus: spi1
#axes_map: x, y, z
[resonance_tester] # [resonance_tester]
accel_chip: adxl345 # accel_chip: adxl345
probe_points: 165, 165, 20 # probe_points: 165, 165, 20
165, 165, 20
# ============================================================================ # ============================================================================
# FILAMENT SENSORS # FILAMENT SENSORS

View file

@ -67,22 +67,38 @@ value: 0
# - spi_bus: spi2 # - spi_bus: spi2
# ============================================================================ # ============================================================================
# Neptune 4 Plus built-in ADXL345 (use this if Cartographer ADXL fails) # ============================================================================
[adxl345] # ADXL345 ACCELEROMETER - DISABLED
cs_pin: PG11 # ============================================================================
spi_bus: spi2 # ADXL is disabled by default. Enable ONE option below if you have ADXL:
axes_map: x, y, z #
# 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 is disabled - uncomment one option above if needed
#[adxl345] # [resonance_tester] requires ADXL to be enabled
#cs_pin: cartographer:PA3 # V3
#cs_pin: cartographer:PA0 # V4
#spi_bus: spi1
#axes_map: x, y, z
[resonance_tester] # [resonance_tester]
accel_chip: adxl345 # accel_chip: adxl345
probe_points: 165, 165, 20 # probe_points: 165, 165, 20
# Enable above after configuring [adxl345]
165, 165, 20 165, 165, 20
# ============================================================================ # ============================================================================