Fix: Configure ADXL345 as separate device (not in cartographer section)

The 'accel_chip' option is not valid in [cartographer] section.
ADXL345 must be configured as a separate [adxl345] device that
communicates via the Cartographer MCU.

Correct configuration:
- [adxl345] with cs_pin: cartographer:PA3 and spi_bus: spi1
- [resonance_tester] with accel_chip: adxl345
- [cartographer] does NOT include accel_chip

This fixes: 'Option accel_chip is not valid in section cartographer'
This commit is contained in:
root 2026-03-13 11:45:44 +00:00
parent 71dc43cda6
commit 2dd2a9ef9d
2 changed files with 14 additions and 6 deletions

View file

@ -24,7 +24,6 @@ mcu: cartographer
x_offset: 0
y_offset: 22
verbose: no
accel_chip: adxl345
[bed_mesh]
zero_reference_position: 165, 165
@ -42,10 +41,15 @@ sensor_mcu: cartographer
min_temp: 5
max_temp: 105
# ADXL345 is integrated in Cartographer - configured via accel_chip in [cartographer] section
# ADXL345 is integrated in Cartographer probe
# Configure as separate device on Cartographer MCU
[adxl345]
cs_pin: cartographer:PA3
spi_bus: spi1
axes_map: x, y, z
[resonance_tester]
accel_chip: cartographer
accel_chip: adxl345
probe_points: 165, 165, 20
165, 165, 20

View file

@ -24,7 +24,6 @@ mcu: cartographer
x_offset: 0
y_offset: 22
verbose: no
accel_chip: adxl345
[bed_mesh]
zero_reference_position: 165, 165
@ -42,10 +41,15 @@ sensor_mcu: cartographer
min_temp: 5
max_temp: 105
# ADXL345 is integrated in Cartographer - configured via accel_chip in [cartographer] section
# ADXL345 is integrated in Cartographer probe
# Configure as separate device on Cartographer MCU
[adxl345]
cs_pin: cartographer:PA3
spi_bus: spi1
axes_map: x, y, z
[resonance_tester]
accel_chip: cartographer
accel_chip: adxl345
probe_points: 165, 165, 20
165, 165, 20