Pin 'adxl345_cs_pin' is not a valid pin name on mcu 'mcu'
When i add overides for my stepper motors I get this error.
this is what i added
[board_pins manta_m8p_tmc2209]
aliases:
z0_step_pin=PC9, z0_dir_pin=PC8, z0_enable_pin=PD1, z0_uart_pin=PD0, z0_diag_pin=null,
z1_step_pin=PA10, z1_dir_pin=PA14, z1_enable_pin=PA15, z1_uart_pin=PF8, z1_diag_pin=null,
z2_step_pin=PD11, z2_dir_pin=PD9, z2_enable_pin=PD15, z2_uart_pin=PD14, z2_diag_pin=null,
6 Replies
Don't override the aliases, they only exist for Rat-OS to be able to reuse code. Just directly use the pin name you need in the override
thanks i get this error Option 'z0_step_pin' is not valid in section 'stepper_z' this is what put in i think the format is correct.
[stepper_z]
z0_step_pin=PC9
z0_dir_pin=PC8
z0_enable_pin=PD1
z0_uart_pin=PD0
z0_diag_pin=null [stepper_z1] z1_step_pin=PA10 z1_dir_pin=PA14 z1_enable_pin=PA15 z1_uart_pin=PF8 z1_diag_pin=null [stepper_z2] z2_step_pin=PD11 z2_dir_pin=PD9 z2_enable_pin=PD15 z2_uart_pin=PD14 z2_diag_pin=null
z0_diag_pin=null [stepper_z1] z1_step_pin=PA10 z1_dir_pin=PA14 z1_enable_pin=PA15 z1_uart_pin=PF8 z1_diag_pin=null [stepper_z2] z2_step_pin=PD11 z2_dir_pin=PD9 z2_enable_pin=PD15 z2_uart_pin=PD14 z2_diag_pin=null
That's not how those work
https://www.klipper3d.org/Config_Reference.html#stepper
Thats what i read, "# The stepper_z section is used to describe the stepper controlling
the Z axis.
[stepper_z]
so is it the name or the definitions
z2_step_pin=PD11 etc.
ok say it uses : and not equal
no it wasn't that. 😦
why are you prepending z0, z1, and z2? The configuration documentation clearly shows
Yes I saw that it was wrong and had used step_pin:PD11
dir_pin:PD9
enable_pin:PD15
uart_pin:PD14
diag_pin:null problem was it didn't like the uart_pin and diag pin so i took them out and it will start, problem is when i try to make a movement it gives an error uart or something (not at home now).