Fix: Configure ADXL345 as integrated Cartographer component

The ADXL345 accelerometer is built into the Cartographer probe.
It must be configured within the [cartographer] section, not as
a separate [adxl345] device.

Changes:
- Added 'accel_chip: adxl345' to [cartographer] section
- Removed separate [adxl345] section (no longer needed)
- Changed [resonance_tester] to use 'accel_chip: cartographer'
- Added default probe_points for resonance testing

This fixes: 'Invalid adxl345 id (got 0 vs e5)' error

Reference: https://docs.cartographer3d.com/
This commit is contained in:
root 2026-03-13 11:39:26 +00:00
parent 44bc49db09
commit ebae732f4c
2 changed files with 8 additions and 10 deletions

View file

@ -24,6 +24,7 @@ mcu: cartographer
x_offset: 0
y_offset: 22
verbose: no
accel_chip: adxl345
[bed_mesh]
zero_reference_position: 165, 165
@ -41,13 +42,11 @@ sensor_mcu: cartographer
min_temp: 5
max_temp: 105
[adxl345]
cs_pin: cartographer:PA3
spi_bus: spi1
# ADXL345 is integrated in Cartographer - configured via accel_chip in [cartographer] section
[resonance_tester]
accel_chip: adxl345
probe_points:
accel_chip: cartographer
probe_points: 165, 165, 20
165, 165, 20
# ============================================================================

View file

@ -24,6 +24,7 @@ mcu: cartographer
x_offset: 0
y_offset: 22
verbose: no
accel_chip: adxl345
[bed_mesh]
zero_reference_position: 165, 165
@ -41,13 +42,11 @@ sensor_mcu: cartographer
min_temp: 5
max_temp: 105
[adxl345]
cs_pin: cartographer:PA3
spi_bus: spi1
# ADXL345 is integrated in Cartographer - configured via accel_chip in [cartographer] section
[resonance_tester]
accel_chip: adxl345
probe_points:
accel_chip: cartographer
probe_points: 165, 165, 20
165, 165, 20
# ============================================================================