Marlin icon indicating copy to clipboard operation
Marlin copied to clipboard

[FR] Decouple Anycubic LCD definition from non-LCD settings.

Open sorgelig opened this issue 2 years ago • 4 comments

Is your feature request related to a problem? Please describe.

Yes. If i want to change original Chiron LCD with traditional 12864 display, then i need to preserve Chiron related pin definition in pins_TRIGORILLA_14.h.

Are you looking for hardware support?

Anycubic Chiron

Describe the feature you want

add define ANYCUBIC_CHIRON in configuration.h which will be used in pins_TRIGORILLA_14.h and will be independent from used LCD.

Additional context

No response

sorgelig avatar Jan 29 '22 23:01 sorgelig

The Chiron display is selected with ANYCUBIC_LCD_CHIRON. Other LCDs should work with this board also, which is very close to a RAMPS.

thinkyhead avatar Apr 21 '22 09:04 thinkyhead

I don't use Trigorilla board in my Chiron anymore, but it should be useful for those who use this board. For example TFT3.5 also uses serial connection but obviously different than Chiron LCD. So those who would like to use BTT TFT3.5 in serial mode will require Chiron pin definitions from TRIGORILLA_14 file but at the same time LCD should NOT be Chiron. Same serial port will be defined as a normal serial. So Chiron LCD and Chiron pins should not be tied to each other and use 2 different defines in configuration.

sorgelig avatar Apr 21 '22 14:04 sorgelig

for use with 3party uart lcd type TFTxx with trigorilla : disable anycubic lcd and add in Configuration.h /**

  • Select a secondary serial port on the board to use for communication with the host.
  • Currently Ethernet (-2) is only supported on Teensy 4.1 boards.
  • :[-2, -1, 0, 1, 2, 3, 4, 5, 6, 7] */

#define SERIAL_PORT_2 3 // uart3 for use interface used by old anycubic lcd #define BAUDRATE_2 115200 // :[2400, 9600, 19200, 38400, 57600, 115200, 250000, 500000, 1000000] Enable to override BAUDRATE

stef-ladefense avatar Sep 07 '22 06:09 stef-ladefense

It won't work as trigorilla definition file uses chiron specific define. If you won't use chiron type then some pins will be messed.

sorgelig avatar Sep 07 '22 08:09 sorgelig

I see what you are getting at due to the switched defs: Chiron specific pin defs overriding endstops and filament runout pins.

If you're going to swap out the LCD you will need to disable the Chiron LCD code, but you would also be changing the pin defs to suit the new display and SD slot anyway. I was advised to add pin overrides to the configuration.h files for non-standard, but supported machine configurations. Doing it this way, reduces the number of files you actually need to change.

SwiftNick avatar Oct 06 '22 20:10 SwiftNick

I don't use trigorilla board anymore, so i just thought it could be useful for other users anyway.

sorgelig avatar Oct 07 '22 16:10 sorgelig

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

github-actions[bot] avatar Dec 07 '22 02:12 github-actions[bot]