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-rambo.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-rambo.cfg')
-rw-r--r-- | config/generic-rambo.cfg | 26 |
1 files changed, 11 insertions, 15 deletions
diff --git a/config/generic-rambo.cfg b/config/generic-rambo.cfg index 77bdaa52..4884871d 100644 --- a/config/generic-rambo.cfg +++ b/config/generic-rambo.cfg @@ -108,19 +108,15 @@ pins: [static_digital_output yellow_led] pins: !PB7 -# "RepRapDiscount 2004 Smart Controller" type displays -#[display] -#lcd_type: hd44780 -#rs_pin: PG4 -#e_pin: PG3 -#d4_pin: PJ2 -#d5_pin: PJ3 -#d6_pin: PJ7 -#d7_pin: PJ4 +# Common EXP1 / EXP2 (display) pins +[board_pins] +aliases: + # Common EXP1/EXP2 headers found on RAMBo v1.4 + EXP1_1=PE6, EXP1_3=PG3, EXP1_5=PJ2, EXP1_7=PJ7, EXP1_9=<GND>, + EXP1_2=PE2, EXP1_4=PG4, EXP1_6=PJ3, EXP1_8=PJ4, EXP1_10=<5V>, + # EXP2 header + EXP2_1=PB3, EXP2_3=PJ5, EXP2_5=PJ6, EXP2_7=PD4, EXP2_9=<GND>, + EXP2_2=PB1, EXP2_4=PB0, EXP2_6=PB2, EXP2_8=PE7, EXP2_10=PH2 + # Pins EXP2_1, EXP2_6, EXP2_2 are also MISO, MOSI, SCK of bus "spi" -# "RepRapDiscount 128x64 Full Graphic Smart Controller" type displays -#[display] -#lcd_type: st7920 -#cs_pin: PG4 -#sclk_pin: PJ2 -#sid_pin: PG3 +# See the sample-lcd.cfg file for definitions of common LCD displays. |