Hi guys, I hope someone can help me.
My knowledge with coding is novice level, but I have a fair understanding of how the structure works.
I want to install Marlin (Anet A8 version) on my MKS Gen 1.4 with TMC2208 drivers, I got everything working as it should, BUT when compiling I run into this error:
if I comment out
then the sketch compiles without any errors and I can upload it to the board., but as soon as I un-comment it, this error comes up.
I then went and started at the beginning, using the Example sketch for the A8 that comes with Marlin, I get the same error.
I have the TMC2208Stepper 0.25 installed in my library.
It was suggested to me by Marlin on Twitter to:
Comment out the sanity check. Some platforms incorrectly implemented our check for interrupt-capable pins as a runtime function instead of making it work in the preprocessor. The developers have been reprimanded.
but I have NO idea where to find this specific sanity check
I would be so great-full for assistance please!!
Thank you guys!
My knowledge with coding is novice level, but I have a fair understanding of how the structure works.
I want to install Marlin (Anet A8 version) on my MKS Gen 1.4 with TMC2208 drivers, I got everything working as it should, BUT when compiling I run into this error:
#if HAS_Y_MIN #if digitalPinToInterrupt(Y_MIN_PIN) != NOT_AN_INTERRUPT attachInterrupt(digitalPinToInterrupt(Y_MIN_PIN), endstop_ISR, CHANGE); #else // Not all used endstop/probe -pins can raise interrupts. Please deactivate ENDSTOP_INTERRUPTS or change the pin configuration! static_assert(digitalPinToPCICR(Y_MIN_PIN) != NULL, "Y_MIN_PIN is not interrupt-capable");
if I comment out
// Enable this feature if all enabled endstop pins are interrupt-capable. // This will remove the need to poll the interrupt pins, saving many CPU cycles. //#define ENDSTOP_INTERRUPTS_FEATURE
then the sketch compiles without any errors and I can upload it to the board., but as soon as I un-comment it, this error comes up.
I then went and started at the beginning, using the Example sketch for the A8 that comes with Marlin, I get the same error.
I have the TMC2208Stepper 0.25 installed in my library.
It was suggested to me by Marlin on Twitter to:
Comment out the sanity check. Some platforms incorrectly implemented our check for interrupt-capable pins as a runtime function instead of making it work in the preprocessor. The developers have been reprimanded.
but I have NO idea where to find this specific sanity check
I would be so great-full for assistance please!!
Thank you guys!