From e817b85b78b1482c1269ef6549e430b918da01b5 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Fri, 9 Aug 2019 12:50:10 -0400 Subject: config: Update several config files to use board aliases for lcd Add a sample-lcd.cfg with the defintions for several common "reprap" style LCD displays that use the EXP1/EXP2 plugs. Update several config files to add EXP1/EXP2 board aliases. Signed-off-by: Kevin O'Connor --- config/generic-duet2-maestro.cfg | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) (limited to 'config/generic-duet2-maestro.cfg') diff --git a/config/generic-duet2-maestro.cfg b/config/generic-duet2-maestro.cfg index 9035b689..7fec79b2 100644 --- a/config/generic-duet2-maestro.cfg +++ b/config/generic-duet2-maestro.cfg @@ -134,14 +134,15 @@ max_z_accel: 100 [static_digital_output led] pins: !PC26 -# "RepRapDiscount 128x64 Full Graphic Smart Controller" type displays -#[display] -#lcd_type: st7920 -#cs_pin: PC9 -#sclk_pin: PA2 -#sid_pin: PA6 -#encoder_pins: ^PC3, ^PB5 -#click_pin: ^!PA7 -# -#[output_pin BEEPER_pin] -#pin: PA15 +# EXP1 / EXP2 (display) pins +[board_pins] +aliases: + # EXP1 header + EXP1_1=PA15, EXP1_3=PA6, EXP1_5=PA2, EXP1_7=, EXP1_9=, + EXP1_2=PA7, EXP1_4=PC9, EXP1_6=, EXP1_8=, EXP1_10=<5V>, + # EXP2 header + EXP2_1=PA5, EXP2_3=PC3, EXP2_5=PB5, EXP2_7=, EXP2_9=, + EXP2_2=PA2, EXP2_4=PB13, EXP2_6=PA6, EXP2_8=, EXP2_10= + # Pins EXP2_1, EXP2_6, EXP2_2 are also MISO, MOSI, SCK of bus "usart0" + +# See the sample-lcd.cfg file for definitions of common LCD displays. -- cgit v1.2.3-70-g09d2