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-ramps.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-ramps.cfg')
-rw-r--r-- | config/generic-ramps.cfg | 41 |
1 files changed, 12 insertions, 29 deletions
diff --git a/config/generic-ramps.cfg b/config/generic-ramps.cfg index 2ade14d0..4f96d597 100644 --- a/config/generic-ramps.cfg +++ b/config/generic-ramps.cfg @@ -83,33 +83,16 @@ max_accel: 3000 max_z_velocity: 5 max_z_accel: 100 -# "RepRapDiscount 2004 Smart Controller" type displays -#[display] -#lcd_type: hd44780 -#rs_pin: ar16 -#e_pin: ar17 -#d4_pin: ar23 -#d5_pin: ar25 -#d6_pin: ar27 -#d7_pin: ar29 -#encoder_pins: ^ar31, ^ar33 -#click_pin: ^!ar35 +# Common EXP1 / EXP2 (display) pins +[board_pins] +aliases: + # Common EXP1 header found on many "all-in-one" ramps clones + EXP1_1=ar37, EXP1_3=ar17, EXP1_5=ar23, EXP1_7=ar27, EXP1_9=<GND>, + EXP1_2=ar35, EXP1_4=ar16, EXP1_6=ar25, EXP1_8=ar29, EXP1_10=<5V>, + # EXP2 header + EXP2_1=ar50, EXP2_3=ar31, EXP2_5=ar33, EXP2_7=ar49, EXP2_9=<GND>, + EXP2_2=ar52, EXP2_4=ar53, EXP2_6=ar51, EXP2_8=ar41, EXP2_10=<RST> + # Pins EXP2_1, EXP2_6, EXP2_2 are also MISO, MOSI, SCK of bus "spi" + # Note, some boards wire: EXP2_8=<RST>, EXP2_10=ar41 -# "RepRapDiscount 128x64 Full Graphic Smart Controller" type displays -#[display] -#lcd_type: st7920 -#cs_pin: ar16 -#sclk_pin: ar23 -#sid_pin: ar17 -#encoder_pins: ^ar31, ^ar33 -#click_pin: ^!ar35 -#kill_pin: ^!ar41 - -# 128x64 Full Graphic Creality CR10 / ENDER 3 stockdisplay -#[display] -#lcd_type: st7920 -#cs_pin: ar27 -#sclk_pin: ar25 -#sid_pin: ar29 -#encoder_pins: ^ar23, ^ar17 -#click_pin: ^!ar35 +# See the sample-lcd.cfg file for definitions of common LCD displays. |