Misfittech / nano_stepper

Stepper feedback controller
423 stars 179 forks source link

#error "Step/Dir UART not supported on Mechaduino yet" #30

Closed kaloca closed 4 years ago

kaloca commented 5 years ago

The compilation is broken when using mechaduino hardware. How to not use Dir UART?

coolio986 commented 4 years ago

@kaloca, This is a sanity check. You can change this line of code:

#define USE_STEP_DIR_SERIAL

to this:

//#define USE_STEP_DIR_SERIAL

in the file board.h to make it work with mechaduino

coolio986 commented 4 years ago

@trampas, can you add

#ifndef MECHADUINO_HARDWARE
#define USE_STEP_DIR_SERIAL
#endif
coolio986 commented 4 years ago

Fixed in b731396, closing