[2.0.x] Anycubic Trigorilla 14 pins tweak#11869
[2.0.x] Anycubic Trigorilla 14 pins tweak#11869thinkyhead merged 5 commits intoMarlinFirmware:bugfix-2.0.xfrom Palatis:bugfix-2.0.x-anycubic_trigorilla_14
Conversation
|
I confirmed that E1 EN/DIR/STEP are correct on my board. I connected a stepper on that and it turns (in both direction.) |
Marlin/src/pins/pins_TRIGORILLA_14.h
Outdated
There was a problem hiding this comment.
Pins files define the pins that should be used, and don't specify that a pin actually is used. So this warning will be unnecessary for the case where (1) no second fan is being used, (2) the second E plug is unused, etc. If this warning is needed, it would be best to have it in SanityCheck.h at a point where more conditions can be checked. But I'm not sure at the moment how we can determine that the CS_PIN and FAN2_PIN are definitely being used even there. We have to further check whether SPI is applicable to the selected stepper drivers.
|
what do you suggest on this one, then?
strip the check altogether and rely on the "carefulness" of the user?
|
No. I suggested improving the sanity check. |
ada5a78 to
8310559
Compare
thanks for the explaination, English is not my native. |
9d867f9 to
849dea9
Compare
|
ouch... accidently pushed the wrong branch... |
|
Rebased and resolved conflicts. Will merge soon. To get the latest: The added commit should produce the same results for the |
check them against FAN2_PIN and warn the user when conflict instead. this way it doesn't #undef `E1_*_PIN` inside `Configuration*.h`.
as suggested by @thinkyhead, these should go into `SanityCheck.h`. see #11869 for more details
|
@Palatis — You completely reverted my changes to the pins file, which were intended to provide compatibility with a wider variety of setups. Did you not follow my instructions above? |
|
Rebased and resolved conflicts. Will merge soon. To get the latest: The added commit should produce the same results for the |
|
I'm very sorry about this. I used my old "auto-rebase-everything-to-upstream" script which switch between several branches and trying to rebase them alone the upstream (in this case, the official Marlin 2.0.x branch), and then force-push to my own repo. I'm really really sorry about this, please accept my apology. |
follow up #11730
FAN2_PINandHEATER_1_PINE1_CS_PINandFAN2_PIN, instead of directly#undefthem altogether.