-
-
Notifications
You must be signed in to change notification settings - Fork 19.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix ANYCUBIC_LCD_CHIRON compilation #20807
Fix ANYCUBIC_LCD_CHIRON compilation #20807
Conversation
injectCommands_P can only hold one pointer at a time. This was guaranteed to replace the command with M1000.
Hopefully @BrianP310 will test this out, since they are his configs. |
@sjasonsmith Thanks, that definitely allows it to compile now. I had to change my Configuration.h because the TFT connector on the SKR 1.4T is Serial 0, so has to set #define LCD_SERIAL_PORT 0. This makes the following changes necessary: #define SERIAL_PORT 1
#define SERIAL_PORT_2 -1 Also, annoyingly, the stock Chiron LCD has the TFT connector wired in a non-standard way. So to make it work with the SKR 1.4T, you have to swap the pins around as follows (Luckily, if your colors are different, the pins definitions are silk screened on the back of the LCD circuit board, so just match up the colors, as necessary.)
So, to summarize, in total to fix this bug, we need to merge your code changes, add the two pin definitions: #ifndef BEEPER_PIN
#define BEEPER_PIN P1_30
#endif
//
// Second Z-Stop Pin
//
#ifndef Z_MAX_PIN
#define Z_MAX_PIN P1_00 // PWRDET
#endif and rewire the TFT connector. Seems this was definitely a bug, but it is working now. |
It seems that What is the |
That's the thing with the SKR 1.4. There's no Z+ pin, just a Z stop pin. The silkscreen says As you know, many pins can be remapped and users preferred the default SKR 1.3 pins when upgrading, so I think that's why much of that bleeds over into the SKR 1.4 pins. |
It is being used as the second endstop in the dual z stepper setup, however it isn't defined when you go to compile. |
The Anycubic Chiron uses the |
I don't mean for this to sound as snarky as it does, but I don't understand what that has to do with with the SKR 1.4T LCD screen problem. What am I missing? The above mentioned fix makes everything work. |
Maybe we can add special handling of endstops in some of the pins files when the dual endstop options are enabled. The current handling only looks at sensorless homing is in use, and makes the "other endstop" available based on the primary homing direction. When dual endstops are enabled the meaning of "the other endstop" is not going to be quite the same. |
Since you're using a whole different MOTHERBOARD, I've been putting together an example configuration for it. So I need to know how to fill out the whole thing. |
I would agree with that. I'm not a programmer (at least not in C) but that is how I was able to get it to work. How you guys think it should be "properly" implemented is probably way better than what I came up with. I just appreciate the help. I thought I was was losing my mind when I couldn't get it working, so I'm quite happy to have found an actual bug. Now if only I could get the stock bed leveling sensor to quit crashing 10mm past the bed, it'll be perfect! |
This reverts commit 0a279cf.
hi, |
Co-authored-by: Scott Lahteine <[email protected]>
Co-authored-by: Scott Lahteine <[email protected]>
Co-authored-by: Scott Lahteine <[email protected]>
Co-authored-by: Scott Lahteine <[email protected]>
Co-authored-by: Scott Lahteine <[email protected]>
Co-authored-by: Scott Lahteine <[email protected]>
Could this configuration file be used on the Anycubic MEGA S, with the original TFT with the SKR 1.4? |
Co-authored-by: Scott Lahteine <[email protected]>
Co-authored-by: Scott Lahteine <[email protected]>
Hello everyone, I would like to come here because I have a chrion which has just broken down, I have just received an SKR 1.4 turbo, do you have a wiring diagram knowing that I am keeping the original PCBs. If you also have links to the firmware, thank you in advance |
Description
This fixes several compilation issues impacting the AnyCubic Chiron display:
injectCommands
.if
behavior.injectCommands_P
. This is invalid, because the_P
variant stores a single pointer. This guarantees that only the second call will be retained.Requirements
SKR 1.4 Turbo with AnyCubic Chiron display
Benefits
Allows compilation, although I am unable to test this myself.
Configurations
These are the same as in the reported bug, but I have included the pin customizations in the Configuration file.
Bug_20805.zip
Related Issues
#20805