ENDSTOP_INTERRUPTS feature error November 03, 2019 11:24AM |
Registered: 4 years ago Posts: 5 |
#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");
// 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
Re: ENDSTOP_INTERRUPTS feature error November 03, 2019 04:08PM |
Admin Registered: 13 years ago Posts: 6,995 |
Re: ENDSTOP_INTERRUPTS feature error November 03, 2019 06:29PM |
Registered: 5 years ago Posts: 265 |
Re: ENDSTOP_INTERRUPTS feature error November 03, 2019 10:15PM |
Admin Registered: 13 years ago Posts: 6,995 |
Re: ENDSTOP_INTERRUPTS feature error November 04, 2019 01:06AM |
Registered: 4 years ago Posts: 5 |
Quote
Dust
No error actually posted and no configuration files....
Did you change the MOTHERBOARD to BOARD_MKS_GEN_13 in Configuration.h
Re: ENDSTOP_INTERRUPTS feature error November 04, 2019 01:19AM |
Registered: 4 years ago Posts: 5 |
Quote
MMcLure
Also, ENDSTOP_INTERRUPTS_FEATURE is really not needed at all. By default Marlin only checks physical endstops while homing, and homing moves are blocking, so polling the endstops does not affect performance. The only case where ENDSTOP_INTERRUPTS_FEATURE makes sense is if you also set ENDSTOPS_ALWAYS_ON_DEFAULT.
Re: ENDSTOP_INTERRUPTS feature error November 04, 2019 01:24AM |
Admin Registered: 13 years ago Posts: 6,995 |
Re: ENDSTOP_INTERRUPTS feature error November 04, 2019 01:26AM |
Registered: 4 years ago Posts: 5 |
Quote
Dust
No error actually posted and no configuration files....
exit status 1 non-constant condition for static assertion
Re: ENDSTOP_INTERRUPTS feature error November 04, 2019 11:04AM |
Registered: 4 years ago Posts: 5 |