Closed Kurolox closed 5 years ago
I can confirm this, I ran into it the other day and didnt have time to chase further.
As a workaround, you can define the following somewhere. I can't promise it won't cause problems somewhere, but I assume if you aren't using SPI drivers, these will never be used.
#define Z2_CS_PIN 0
#define Z2_MS1_PIN 0
#define Z2_MS2_PIN 0
#define Z2_MS3_PIN 0
If you have three Z steppers, do the same for Z3 as well.
@sjasonsmith thanks! I just ran into this as well.
The thing is, I do have SPI drivers (TMC5160). What's the correct workaround here? Will it work with PINS_DEBUGGING
disabled? It compiles, but will Z2 (E1) actually work?
@sjasonsmith @otherguy any idea on how we could solve this one?
@boelle I wish I knew what the problem is.
I did not go for the workaround mentioned by @sjasonsmith because, as I expected, my SPI drivers didn’t work.
For now I have Z_DUAL_STEPPER_DRIVERS
enabled and PINS_DEBUGGING
disabled and this works.
I think somebody fixed this. It seems to build fine for me.
@Kurolox or @otherguy, can one of you try it out with the latest commit from bugfix-2.0.x?
@sjasonsmith can confirm it works! Thank you!
will close
add @ in front of my username if we should reopen
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.
Description
It seems that if you try to enable PINS_DEBUGGING and Z_DUAL_STEPPER_DRIVERS (I haven't checked for X and Y, or triple Z) at the same time, the firmware won't compile due to the following errors:
It seems like the firmware is trying to access to the extruder E1 pins, which should've been redefined as Z1, and since they aren't defined it's refusing to compile.
Steps to Reproduce
adv_configuration.h
, uncomment//#define Z_DUAL_STEPPER_DRIVERS
and//#define PINS_DEBUGGING
Actual behavior: The firmware fails to compile with the errors mentioned previously
Additional Information
Configuration.h
andConfiguration_adv.h
files.