Pin EXP2_1 is an alias for PA6

Hi,
My first experience with Klipper , and my first own build of a printer.
My MCU is BTT Octopus Pro. My Display is fystec mini.
in my config i use the section [board_pins] like every referenz i found. i receive the error: pin EXP2_1 is an alias for PA6
The klipperlog referenz the error to pins.py line 46.

(File “/home/pi/klipper/klippy/pins.py”, line 46, in pin_fixup
name, self.active_pins[pin_id]))
error: pin EXP2_1 is an alias for PA6)

Can i edit this file on my pi to cheat?

My speedy Solution!

[board_pins]
aliases:
# EXP1 header
EXP1_1=PE8, EXP1_2=PE7,
EXP1_3=PE9, EXP1_4=PE10,
EXP1_5=PE12, EXP1_6=PE13, # Slot in the socket on this side
EXP1_7=PE14, EXP1_8=PE15,
EXP1_9=, EXP1_10=<5V>,

# EXP2 header
#EXP2_1=PA6, EXP2_2=PA5,
EXP2_3=PB1, EXP2_4=PA4,
EXP2_5=PB2, #EXP2_6=PA7,      # Slot in the socket on this side
EXP2_7=PC15, EXP2_8=<RST>,
EXP2_9=<GND>, EXP2_10=<5V>

[display]

mini12864 LCD Display

lcd_type: uc1701
cs_pin: PE9
a0_pin: EXP1_4
rst_pin: EXP1_5
encoder_pins: ^EXP2_5, ^EXP2_3
click_pin: ^!EXP1_2
contrast: 63
spi_software_miso_pin: PA6
spi_software_mosi_pin: PA7
spi_software_sclk_pin: PA5

Thanks for reading

Please post your klippy.log showing the error.

Edit: Such an error can occur, e.g. if you create double aliases: ALIAS1 = PA6 and then ALIAS2 = ALIAS1
or similar configurations where you create references that are not supported.

i dont found the logfile yet.
i copied only the line with the error, and the line before in the opening.
Now it works fine without alias the SPI pins. I reached the status of my projekt: heaters heating,kinematics move inlucive gantry adjustment.
now i have to learn how do make my silent stepper silent :wink: (TMC5160)