So I’ve looked at this, and it’s a problem only with the header files used in the Seeed board support vs. the Arduino SAMD board support I tested on the Xiao and I get your error, I tested on the MKR1000 and I get no error.
Basically, Arduino defines PinStatus as an enum type, while Seeed does not define this type.
Its a big pain because this isn’t even MCU type-specific, but rather board-vendor specific - here we have two boards based on SAMD21 where one works and one does not…
If you want a quick fix, it is enough to add a
#define PinStatus int
to the top of the src/communications/StepDirListener.h file.
I will try to find a good solution for the next release of our library.