diff --git a/config/generic-bigtreetech-skr-mini.cfg b/config/generic-bigtreetech-skr-mini.cfg index 44537f55..453c6e9c 100644 --- a/config/generic-bigtreetech-skr-mini.cfg +++ b/config/generic-bigtreetech-skr-mini.cfg @@ -75,3 +75,14 @@ max_velocity: 300 max_accel: 3000 max_z_velocity: 5 max_z_accel: 100 + +[board_pins] +aliases: + # EXP1 header + EXP1_1=PC10, EXP1_3=PB6, EXP1_5=PC13, EXP1_7=PC15, EXP1_9=, + EXP1_2=PC11, EXP1_4=PC12, EXP1_6=PB7, EXP1_8=PC14, EXP1_10=<5V>, + # EXP2 header + EXP2_1=PB4, EXP2_3=PD2, EXP2_5=PB8, EXP2_7=PB9, EXP2_9=, + EXP2_2=PB3, EXP2_4=PA15, EXP2_6=PB5, EXP2_8=, EXP2_10= + +# See the sample-lcd.cfg file for definitions of common LCD displays. diff --git a/config/generic-bigtreetech-skr-v1.1.cfg b/config/generic-bigtreetech-skr-v1.1.cfg index 15d18b31..23260c25 100644 --- a/config/generic-bigtreetech-skr-v1.1.cfg +++ b/config/generic-bigtreetech-skr-v1.1.cfg @@ -78,11 +78,14 @@ max_accel: 3000 max_z_velocity: 5 max_z_accel: 100 -# "RepRapDiscount 128x64 Full Graphic Smart Controller" type displays -[display] -lcd_type: st7920 -cs_pin: P0.16 -sclk_pin: P0.15 -sid_pin: P0.18 -encoder_pins: ^P3.26, ^P3.25 -click_pin: ^!P2.11 +[board_pins] +aliases: + # EXP1 header + EXP1_1=P1.30, EXP1_3=P0.18, EXP1_5=P0.15, EXP1_7=, EXP1_9=, + EXP1_2=P2.11, EXP1_4=P0.16, EXP1_6=, EXP1_8=, EXP1_10=<5V>, + # EXP2 header + EXP2_1=P0.17, EXP2_3=P3.26, EXP2_5=P3.25, EXP2_7=P1.31, EXP2_9=, + EXP2_2=P0.15, EXP2_4=P1.23, EXP2_6=P0.18, EXP2_8=, EXP2_10= + # Pins EXP2_1, EXP2_6, EXP2_2 are also MISO, MOSI, SCK of bus "ssp0" + +# See the sample-lcd.cfg file for definitions of common LCD displays.