|
@ -31,6 +31,9 @@ |
|
|
|
|
|
|
|
|
#define BOARD_INFO_NAME "MKS Robin Nano V3" |
|
|
#define BOARD_INFO_NAME "MKS Robin Nano V3" |
|
|
|
|
|
|
|
|
|
|
|
// USB Flash Drive support
|
|
|
|
|
|
#define HAS_OTG_USB_HOST_SUPPORT |
|
|
|
|
|
|
|
|
// Avoid conflict with TIMER_TONE
|
|
|
// Avoid conflict with TIMER_TONE
|
|
|
#define STEP_TIMER 10 |
|
|
#define STEP_TIMER 10 |
|
|
|
|
|
|
|
@ -42,6 +45,12 @@ |
|
|
//
|
|
|
//
|
|
|
// Release PB4 (Z_DIR_PIN) from JTAG NRST role
|
|
|
// Release PB4 (Z_DIR_PIN) from JTAG NRST role
|
|
|
//
|
|
|
//
|
|
|
|
|
|
//#define DISABLE_DEBUG
|
|
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
|
|
// Servos
|
|
|
|
|
|
//
|
|
|
|
|
|
#define SERVO0_PIN PA8 // Enable BLTOUCH
|
|
|
|
|
|
|
|
|
//
|
|
|
//
|
|
|
// Limit Switches
|
|
|
// Limit Switches
|
|
@ -98,8 +107,8 @@ |
|
|
|
|
|
|
|
|
//
|
|
|
//
|
|
|
// Software SPI pins for TMC2130 stepper drivers
|
|
|
// Software SPI pins for TMC2130 stepper drivers
|
|
|
|
|
|
// This board only supports SW SPI for stepper drivers
|
|
|
//
|
|
|
//
|
|
|
// This board only support SW SPI for stepper drivers
|
|
|
|
|
|
#if HAS_TMC_SPI |
|
|
#if HAS_TMC_SPI |
|
|
#define TMC_USE_SW_SPI |
|
|
#define TMC_USE_SW_SPI |
|
|
#endif |
|
|
#endif |
|
@ -179,6 +188,7 @@ |
|
|
|
|
|
|
|
|
#define POWER_LOSS_PIN PW_DET |
|
|
#define POWER_LOSS_PIN PW_DET |
|
|
#define PS_ON_PIN PW_OFF |
|
|
#define PS_ON_PIN PW_OFF |
|
|
|
|
|
|
|
|
//
|
|
|
//
|
|
|
// Enable MKSPWC support
|
|
|
// Enable MKSPWC support
|
|
|
//
|
|
|
//
|
|
@ -186,14 +196,13 @@ |
|
|
//#define KILL_PIN PA2
|
|
|
//#define KILL_PIN PA2
|
|
|
//#define KILL_PIN_INVERTING true
|
|
|
//#define KILL_PIN_INVERTING true
|
|
|
|
|
|
|
|
|
#define SERVO0_PIN PA8 // Enable BLTOUCH support
|
|
|
|
|
|
//#define LED_PIN PB2
|
|
|
//#define LED_PIN PB2
|
|
|
|
|
|
|
|
|
// Random Info
|
|
|
// Random Info
|
|
|
#define USB_SERIAL -1 //Usb Serial
|
|
|
#define USB_SERIAL -1 // USB Serial
|
|
|
#define WIFI_SERIAL 3 //USART3
|
|
|
#define WIFI_SERIAL 3 // USART3
|
|
|
#define MKS_WIFI_MODULE_SERIAL 1 //USART1
|
|
|
#define MKS_WIFI_MODULE_SERIAL 1 // USART1
|
|
|
#define MKS_WIFI_MODULE_SPI 2 //SPI2
|
|
|
#define MKS_WIFI_MODULE_SPI 2 // SPI2
|
|
|
|
|
|
|
|
|
#ifndef SDCARD_CONNECTION |
|
|
#ifndef SDCARD_CONNECTION |
|
|
#define SDCARD_CONNECTION ONBOARD |
|
|
#define SDCARD_CONNECTION ONBOARD |
|
@ -346,5 +355,3 @@ |
|
|
|
|
|
|
|
|
#endif // !MKS_MINI_12864
|
|
|
#endif // !MKS_MINI_12864
|
|
|
#endif // HAS_SPI_LCD
|
|
|
#endif // HAS_SPI_LCD
|
|
|
|
|
|
|
|
|
#define HAS_OTG_USB_HOST_SUPPORT |
|
|
|
|
|