diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2019-08-09 12:50:10 -0400 |
---|---|---|
committer | KevinOConnor <kevin@koconnor.net> | 2019-08-19 12:57:59 -0400 |
commit | e817b85b78b1482c1269ef6549e430b918da01b5 (patch) | |
tree | bf5f35c16e214fbdbfba8048fa8e5213302e639c /config/generic-duet2-maestro.cfg | |
parent | bfbcb90751aa263f1ac87739dec05f7746c697ef (diff) | |
download | kutter-e817b85b78b1482c1269ef6549e430b918da01b5.tar.gz kutter-e817b85b78b1482c1269ef6549e430b918da01b5.tar.xz kutter-e817b85b78b1482c1269ef6549e430b918da01b5.zip |
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 <kevin@koconnor.net>
Diffstat (limited to 'config/generic-duet2-maestro.cfg')
-rw-r--r-- | config/generic-duet2-maestro.cfg | 23 |
1 files changed, 12 insertions, 11 deletions
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=<NC>, EXP1_9=<GND>, + EXP1_2=PA7, EXP1_4=PC9, EXP1_6=<NC>, EXP1_8=<NC>, EXP1_10=<5V>, + # EXP2 header + EXP2_1=PA5, EXP2_3=PC3, EXP2_5=PB5, EXP2_7=<NC>, EXP2_9=<GND>, + EXP2_2=PA2, EXP2_4=PB13, EXP2_6=PA6, EXP2_8=<RST>, EXP2_10=<NC> + # 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. |