|
|
@ -22,16 +22,16 @@
|
|
|
|
#pragma once
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* MKS Robin mini (STM32F103VET6) board pin assignments
|
|
|
|
* MPX ARM MINI (STM32F103ZET6) board pin assignments
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
#if NOT_TARGET(STM32F1, STM32F1xx)
|
|
|
|
#if NOT_TARGET(STM32F1, STM32F1xx)
|
|
|
|
#error "Oops! Select an STM32F1 board in 'Tools > Board.'"
|
|
|
|
#error "Oops! Select an STM32F1 board in 'Tools > Board.'"
|
|
|
|
#elif HOTENDS > 2 || E_STEPPERS > 2
|
|
|
|
#elif HOTENDS > 1 || E_STEPPERS > 1
|
|
|
|
#error "MKS Robin supports up to 2 hotends / E-steppers. Comment out this line to continue."
|
|
|
|
#error "MPX ARM Mini only supports one hotend / E-stepper. Comment out this line to continue."
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
#define BOARD_INFO_NAME "Mingda MPX_ARM_MINI"
|
|
|
|
#define BOARD_INFO_NAME "Mingda MPX ARM Mini"
|
|
|
|
|
|
|
|
|
|
|
|
#define BOARD_NO_NATIVE_USB
|
|
|
|
#define BOARD_NO_NATIVE_USB
|
|
|
|
#define DISABLE_DEBUG
|
|
|
|
#define DISABLE_DEBUG
|
|
|
@ -64,9 +64,9 @@
|
|
|
|
// Limit Switches
|
|
|
|
// Limit Switches
|
|
|
|
//
|
|
|
|
//
|
|
|
|
#define X_MIN_PIN PD6
|
|
|
|
#define X_MIN_PIN PD6
|
|
|
|
#define X_MAX_PIN PG15
|
|
|
|
#define X_MAX_PIN PG15 // To double check
|
|
|
|
#define Y_MIN_PIN PG9
|
|
|
|
#define Y_MIN_PIN PG9
|
|
|
|
#define Y_MAX_PIN PG14
|
|
|
|
#define Y_MAX_PIN PG14 // To double check
|
|
|
|
#define Z_MIN_PIN PG10
|
|
|
|
#define Z_MIN_PIN PG10
|
|
|
|
#define Z_MAX_PIN PG13
|
|
|
|
#define Z_MAX_PIN PG13
|
|
|
|
|
|
|
|
|
|
|
@ -137,18 +137,6 @@
|
|
|
|
// TFT with FSMC interface
|
|
|
|
// TFT with FSMC interface
|
|
|
|
//
|
|
|
|
//
|
|
|
|
#if HAS_FSMC_TFT
|
|
|
|
#if HAS_FSMC_TFT
|
|
|
|
/**
|
|
|
|
|
|
|
|
* Note: MKS Robin TFT screens use various TFT controllers
|
|
|
|
|
|
|
|
* Supported screens are based on the ILI9341, ST7789V and ILI9328 (320x240)
|
|
|
|
|
|
|
|
* ILI9488 is not supported
|
|
|
|
|
|
|
|
* Define init sequences for other screens in u8g_dev_tft_320x240_upscale_from_128x64.cpp
|
|
|
|
|
|
|
|
*
|
|
|
|
|
|
|
|
* If the screen stays white, disable 'TFT_RESET_PIN'
|
|
|
|
|
|
|
|
* to let the bootloader init the screen.
|
|
|
|
|
|
|
|
*
|
|
|
|
|
|
|
|
* Setting an 'TFT_RESET_PIN' may cause a flicker when entering the LCD menu
|
|
|
|
|
|
|
|
* because Marlin uses the reset as a failsafe to revive a glitchy LCD.
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
#define TFT_RESET_PIN PF15
|
|
|
|
#define TFT_RESET_PIN PF15
|
|
|
|
#define TFT_BACKLIGHT_PIN PF11
|
|
|
|
#define TFT_BACKLIGHT_PIN PF11
|
|
|
|
|
|
|
|
|
|
|
@ -166,8 +154,8 @@
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
#if NEED_TOUCH_PINS
|
|
|
|
#if NEED_TOUCH_PINS
|
|
|
|
#define TOUCH_CS_PIN PA4 // SPI2_NSS
|
|
|
|
#define TOUCH_CS_PIN PA4 // SPI1_NSS
|
|
|
|
#define TOUCH_SCK_PIN PA5 // SPI2_SCK
|
|
|
|
#define TOUCH_SCK_PIN PA5 // SPI1_SCK
|
|
|
|
#define TOUCH_MISO_PIN PA6 // SPI2_MISO
|
|
|
|
#define TOUCH_MISO_PIN PA6 // SPI1_MISO
|
|
|
|
#define TOUCH_MOSI_PIN PA7 // SPI2_MOSI
|
|
|
|
#define TOUCH_MOSI_PIN PA7 // SPI1_MOSI
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|