diff --git a/Marlin/Configuration.h b/Marlin/Configuration.h index cc353473e6..d6e040371a 100644 --- a/Marlin/Configuration.h +++ b/Marlin/Configuration.h @@ -1322,6 +1322,9 @@ #define ALL_DRV_2208 //#define FB_4S_STOCK //#define FB_5_STOCK +//#define FB_5_NANO_S_V1_3 +#define FB_5_NANO_V1_3_4TMC +//#define FB_5_NANO_V1_3 #ifdef ALL_DRV_2208 #define USR_E0_DIR true @@ -1337,18 +1340,32 @@ #define USR_Z_DIR false #endif -#ifdef FB_5_STOCK -#if MOTHERBOARD == BOARD_MKS_ROBIN_NANO_V1_3_F4 +#ifdef FB_5_STOCK_ +#define USR_E0_DIR false +#define USR_X_DIR false +#define USR_Y_DIR false +#define USR_Z_DIR false +#endif + +#ifdef FB_5_NANO_S_V1_3 #define USR_E0_DIR false #define USR_X_DIR true #define USR_Y_DIR true #define USR_Z_DIR false -#else +#endif + +#ifdef FB_5_NANO_V1_3 #define USR_E0_DIR false #define USR_X_DIR false #define USR_Y_DIR false #define USR_Z_DIR false #endif + +#ifdef FB_5_NANO_V1_3_4TMC +#define USR_E0_DIR true +#define USR_X_DIR false +#define USR_Y_DIR false +#define USR_Z_DIR true #endif diff --git a/Marlin/src/pins/stm32f1/pins_MKS_ROBIN_NANO.h b/Marlin/src/pins/stm32f1/pins_MKS_ROBIN_NANO.h index c45e123e49..c332e8e8da 100644 --- a/Marlin/src/pins/stm32f1/pins_MKS_ROBIN_NANO.h +++ b/Marlin/src/pins/stm32f1/pins_MKS_ROBIN_NANO.h @@ -55,6 +55,22 @@ #endif #endif +//#define E1_EXTRUDER_DRIVER +#ifdef E1_EXTRUDER_DRIVER + #undef E1_ENABLE_PIN + #undef E1_STEP_PIN + #undef E1_DIR_PIN + #undef E0_ENABLE_PIN + #undef E0_STEP_PIN + #undef E0_DIR_PIN + + #define E0_ENABLE_PIN PA3 + #define E0_STEP_PIN PA6 + #define E0_DIR_PIN PA1 +#endif + + + /* Управление подсветкой платой в разъеме второго экструдера Управление ногой En